The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I'm having a problem with a plugin not being processed on the logout page.
The plugin's hook location is global_start, it's execution order is 5, and the code is as follows: Code:
$blah = implode('', file('blah.html')); Code:
<input type="hidden" name="vb_login_md5password" /> <input type="hidden" name="vb_login_md5password_utf" /> </form> <!-- / login form --> $blah </td> </if> </tr> </table> <!-- / breadcrumb, login, pm info --> Any ideas? Thanks in advance! |
#2
|
||||
|
||||
![]()
When logging out, the navbar is not shown, nor is it parsed in the first place.
|
#3
|
|||
|
|||
![]()
It's not? Then how does the login form even show up on that page?
To be clear(I've also edited my original post for clarity), I am talking about the page with the vBulletin Message saying: Code:
All cookies cleared! * Return to the page you were previously viewing * Go to forums index Code:
http://www.sitename.com/forums/login.php?do=logout&logouthash=xxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Code:
Template Usage: * (1)STANDARD_ERROR * (1)ad_footer_end * (1)ad_footer_start * (1)ad_header_end * (1)ad_header_logo * (1)ad_navbar_below * (1)footer * (1)forumjump * (1)gobutton * (1)header * (1)headinclude * (1)navbar * (1)navbar_link * (9)navbar_notifications_menubit * (4)option * (1)spacer_close * (1)spacer_open From the top of STANDARD_ERROR: Code:
$stylevar[htmldoctype] <html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <if condition="$show['search_noindex']"><meta name="robots" content="noindex,follow" /></if> $headinclude <title>$pagetitle</title> $headinsert </head> <body> $header <if condition="$navbar"> $navbar <else /> <br /><br /><br /> </if> I looked through all of the logic in the navbar and STANDARD_ERROR templates carefully and I don't see any conditionals that would prevent $blah from being parsed, so that's why I'm wondering if the hook system itself is disabled on that page or something? I've tried this on stock installs of 3.7.2 PL1 and 3.6.3, same result in both cases. All of the stuff I have pasted has been from 3.7.2 PL1. |
#4
|
||||
|
||||
![]()
IIRC, the navbar isn't shown, but I my memory must be failing me. My apologies.
Check the "Hooks Run" (or something like that) part of the debug mode window. IIRC (again ![]() |
#5
|
|||
|
|||
![]()
From debug:
Code:
Hooks Called: * init_startup * fetch_userinfo_query * fetch_musername * fetch_userinfo * cache_permissions * style_fetch * cache_templates * global_start * parse_templates * notifications_list * global_setup_complete * userdata_start * userdata_doset * userdata_presave * moderatordata_start * error_fetch * userdata_postsave * logout_process * forumjump * navbits * navbits_complete * error_generic |
#6
|
||||
|
||||
![]()
Grey means that the specific hook's plugins were not executed (or there were no plugins at that hook in the first place). Black means plugin(s) were executed.
So the plugin is executing. If you put a die() after $blah in the plugin, does it do anything? |
#7
|
|||
|
|||
![]()
Thanks, good advice. Ok, so it is running the plugin. If I do that,
Code:
$blah = implode('', file('blah.html')); die(); edit: I've tried '/blah.html' which made it stop displaying everywhere. I thought that it may be relative to the root of the domain when referenced this way and this instance is in /forums, so I also copied blah.html to the documentroot, and it still did not display. Keeping it relative in some way is important because I do want to distribute this plugin when I'm done with it so I'd like to avoid using a full URL, local path to vBulletin, or anything like that which would require customization. edit #2: Code:
$blah = implode('', file('/home/username/public_html/forums/blah.html')); |
#8
|
|||
|
|||
![]()
Any recommendations on where I can find a solution to this problem? I've already got 52 vBulletin licenses and will be getting more soon if this can get resolved...
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|