View Single Post
  #18  
Old 07-23-2006, 06:23 PM
SGA SGA is offline
Junior Member
 
Join Date: Jul 2006
Posts: 16
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder 
Default

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';
Reply With Quote