View Single Post
  #16  
Old 04-01-2006, 01:35 PM
Paul M's Avatar
Paul M Paul M is offline
Junior Member
 
Join Date: Mar 2006
Posts: 3
Geek Article and Review System License Holder 
Default

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

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 // 

Last edited by Paul M; 04-09-2006 at 07:53 PM..
Reply With Quote