vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - Adv. Editing Options for Mods and Admins (https://vborg.vbsupport.ru/showthread.php?t=132291)

PoetJA-1975 01-16-2007 08:08 AM

Quote:

Note that this hack may interfere with other hacks that make use of posting functions. If such problems appear, place the following code in the very beginning of the problematic script:

------------------------------------------------
define('BYPASS_AEO', true);
------------------------------------------------

This should eliminate whatever problem appears, but if not - feel free to post in this thread.
There's a hack I know this was interfering with in 3.5.x - but I don't recall...
A list of those possible conflicting?

Jacquii.

akanevsky 01-16-2007 06:31 PM

Quote:

Originally Posted by PoetJA-1975 (Post 1160433)
There's a hack I know this was interfering with in 3.5.x - but I don't recall...
A list of those possible conflicting?

Jacquii.

AEO - but you quoted the fix.

wbear 01-31-2007 05:49 PM

Nice job on this, works a treat. Thank you!

PoetJA-1975 02-07-2007 04:48 PM

Just an FYI for GARS users and AEO...
Adv. Editing Options for Mods & Admins ---> init_startup
is where you place the define('BYPASS_AEO', true); at the very beginning of the plugin ;)

Jacquii.

akanevsky 02-07-2007 05:51 PM

Quote:

Originally Posted by PoetJA-1975 (Post 1176892)
Just an FYI for GARS users and AEO...
Adv. Editing Options for Mods & Admins ---> init_startup
is where you place the define('BYPASS_AEO', true); at the very beginning of the plugin ;)

Jacquii.

No, that is not where you place it. If you place it there, AEO will be disabled globally and that's not the goal.

PoetJA-1975 02-07-2007 07:39 PM

Quote:

Originally Posted by Psionic Vision (Post 1176936)
No, that is not where you place it. If you place it there, AEO will be disabled globally and that's not the goal.

well after having asked this question time and time again... At the rate of sounding a complete and totall @ss hole - Where the Hell do you place it?

Jacquii.

akanevsky 02-07-2007 07:59 PM

Quote:

Originally Posted by PoetJA-1975 (Post 1177033)
well after having asked this question time and time again... At the rate of sounding a complete and totall @ss hole - Where the Hell do you place it?

Jacquii.

In the beginning of the posting-related functions of the hack that causes conflicts. Unfortunately, that is different for every hack so I cannot give exact instructions.

PoetJA-1975 02-07-2007 08:47 PM

OK - seems MR PAULM has solved the issue - So I post for future reference...
quoted from: http://www.thevbgeek.com/showthread.php?t=866&page=2
----------------
----------------

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


rjmjr69 02-09-2007 09:04 PM

Ok with this hack installed whenever any of my staff try to edit a post after selecting save the user name is now missing? I disabled it and all is well? Any ideas

rjmjr69 02-09-2007 11:30 PM

I got it to work right. I missed one of the template edits. Sorry for jumping the gun. Great mod I love it


All times are GMT. The time now is 01:49 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01138 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete