![]() |
Very nice mod....thank you for sharing. ;)
|
When posting the new code in the navbar, I get the following error:
Parse error: syntax error, unexpected ']', expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/eazy0000/public_html/forums/includes/adminfunctions_template.php(3596) : eval()'d code on line 376 It there anyone that could walk me through this hack in setting it up, or better yet going in my in my CPs and doing it for me? Sorry, I'm new to hacks and vB in general. Please PM me if you can help. Thanks, Eric |
It sounds like you are either using the wrong version of the hack for your version of vbulletin or you have modified a template in a way which is producing invalid code. The only thing you should be adding to your navbar template for this hack is the variable $welcomeheaders. Try saving the template without making any changes and see if it produces an error.
|
Works Great...thx
|
Installed again after a few months absence, great hack :)
|
I'm running Welcome Headers v4.2.2....
I'm also running "Limited Guest Viewing" v1.0.6 Within "Welcome Headers" under the AdminCP options, I have set Quote:
In spite of that, the custom "Welcome Headers" message I've set appears for un-registered users and once my threshold for reading threads/posts of 5 (my setting), it still continues to appear, but I also get the "Limited Guest Viewing" start to appear underneath it. :confused: I thought that with the supression option turned ON, the "Welcome Headers" message would be superceded by the "Limited Guest Viewing" message when the post count was reached? It looks odd to see BOTH messages displaying concurrently. Any suggestions as to what I'm doing wrong? Thanks ... :) Regards, Badger |
When suppression is enabled the welcome headers won't appear on any showthread pages. Either your hack versions are not upgraded to the latest versions or there is some other code conflicting with the plugins.
Code:
if($vbulletin->options['lgvon'] AND !$vbulletin->options['wlhlgv'] AND (THIS_SCRIPT == 'showthread' OR THIS_SCRIPT == 'showpost' OR THIS_SCRIPT == 'printthread') ) { |
Thanks Ted.... :)
I appreciate the response, even though this mod is listed as "unsupported" ... :up: I'm just an old Fortran programmer, so please bear with me... ;) I checked for conflicting variable names that might be conflicting using search. Only found this: Quote:
Even though both versions numbers (as mentioned previously) were showing current in the "Installed Products" display, I completely re-installed (overwrote) both mods, "Welcome Headers v4.2.2" and "Limited Guest Viewing" v1.0.6. I made sure that variables were patched into the templates as per the instructions. I do not use VBSEO. I then enabled the "Limited Guest Viewing" v1.0.6 and logged out, reading 5 posts as an un-registered user. My custom "Welcome Headers v4.2.2" message showed fine during the first 5 (my limit set in "Limited Guest Viewing"), however, as soon as I read the 6th post, my custom "Limited Guest Viewing" v1.0.6 message showed up below my "Welcome Headers v4.2.2" message, which continued to be displayed concurrently. In any event, there must be something conflicting someplace, but my v3.67pl vBulletin is not a complicated installtion, so I have no idea what's happening. "Welcome Headers" is what's important for me and since it works fine on its own, I think I'll just un-install "Limited Guest Viewing" and go from here. Thanks for your coding and support... again, much appreciated. If you ever want to check out what could be the problem, let me know and I'll provide you with full Admin access to view the templates, plugins etc. Thanks Regards, Badger |
Now I'm really confused. :confused:
I thought I'd take another look at this before I uninstalled the Limited Guest Viewing mod, so as a test, I wanted to see what happened if I turned the Limited Guest Viewing Surpression option OFF, even though I have that mod installed. If I have the Limited Guest Viewing Surpression option ON, then my custom Welcome Headers message appears on ALL pages, including the Forum Home and also Show Thread pages. As I said in previous posts, once the guest's preset number of posts he's allowed to read is reached, the extra warning starts to appear below the Welcome Headers message on ALL pages. If I have the Limited Guest Viewing Surpression option OFF, then my custom Welcome Headers message only appears on Forum Home page. However, when the "guest" advisory message appears, it only appears on the Show Thread pages. Any suggestions as to what I'm doing wrong, or perhaps I don't understand what these switches are supposed to be dong? Thanks ... :) Regards, Badger |
Limited guest viewing only impacts showthread and showpost pages. Welcome headers impacts every page unless limited guest viewing is installed, enabled and suppression is on.
|
All times are GMT. The time now is 10:04 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|