The vB Geek

The vB Geek (http://www.thevbgeek.com/index.php)
-   Geek Article and Review System (http://www.thevbgeek.com/forumdisplay.php?f=26)
-   -   Compatibility issues with ecRelease and Adv. Editing options hacks (http://www.thevbgeek.com/showthread.php?t=866)

The Geek 03-28-2006 10:54 PM

not really. I havent had time to dissect his code yet :(

Paul M 03-31-2006 08:13 AM

Hmm, this is a bugger, I installed GARS on test and it's falling out with AEO - "You did not specify a username for your post" - time to have a look why.

Ramses 03-31-2006 09:53 AM

Nice to see a advanced coder supporting GARS now. :)

Paul M 03-31-2006 09:59 AM

Edit: See post #16 below for fix to AEO.

The Geek 03-31-2006 06:16 PM

hehehe.

Thanks Paul, several have been asking about this and I havent had time to look at the AOE hack yet.

Paul M 04-01-2006 01:35 PM

Fix to modify the AEO hack itself - I've had to do this because it breaks a hack of mine as well :rolleyes:

In the AEO 'init_startup' hook ;

Find ;

PHP Code:

    global $vbulletin

Add below it ;

PHP Code:

    // Bypass Options // 
    // By Paul M - Because some mods choke on AEO // 
    
$bypass_aeo false
    if (
THIS_SCRIPT == 'report'$bypass_aeo true
    if (
is_object($vbulletin->gars)) $bypass_aeo true

    if (
$bypass_aeo) { 
        
$vbulletin->userinfo['editlevel'] = EDITLEVEL_AUTHOR
        return 
EDITLEVEL_AUTHOR
    } 
    
// End of bypass options // 


Erik 07-01-2006 11:26 PM

I was having this problem and this worked nicely, thanks Paul M :)

I had a little problem with the Thread Prefix hack complaining, but it can be fixed by simply setting Thread Prefix settings to 'Use Forum Based Setting' and turning 'Thread Prefix Required in this Forum' to no.

SGA 07-23-2006 07:23 PM

I solved this by using the following workaround at vb.org given by Paul if I remember right:

In the AEO 'init_startup' hook ;

Find ;

Code:

global $vbulletin;
Add below it ;

Code:

// Bypass Options //
    // By Paul M - Because some mods choke on AEO //
    $bypass_aeo = false;
    if (THIS_SCRIPT == 'report') $bypass_aeo = true;
    if (is_object($vbulletin->gars)) $bypass_aeo = true;
 
    if ($bypass_aeo) {
        $vbulletin->userinfo['editlevel'] = EDITLEVEL_AUTHOR;
        return EDITLEVEL_AUTHOR;
    }
    // End of bypass options //

I've also added a 'cache_templates' hook ;

Code:

$globaltemplates[] = 'adv_editform';

benj 08-25-2006 09:11 PM

mr samgeek (http://www.thevbgeek.com/showthread.php?t=1979 updated)

The Geek 08-25-2006 10:52 PM

? Is this in the worng thread ?


All times are GMT. The time now is 04:50 PM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.