Have you tried spitting out $_SERVER['REQUEST_URI'] on the page to verify you have it set correctly for the page? It may be different than in that example based on the type of Friendly URLs you are using.
And did you make the change to the plugin also? |
Quote:
--------------- Added [DATE]1323682221[/DATE] at [TIME]1323682221[/TIME] --------------- Quote:
--------------- Added [DATE]1323688580[/DATE] at [TIME]1323688580[/TIME] --------------- I have finally found a way that works, with this condition: Code:
if ($_SERVER['HTTP_REFERER'] == 'http://www.piacenzacalcio.net/vb/content.php?3-prossima-trasferta') Code:
$tabselected = ''; |
UP, it would be great to have something like
Code:
$tabselected = ''; THIS_SCRIPT == 'test' -> vbcmspage forum.id -> section.id Any ideeas? |
Forgive me if someone asked this, but I didn't see anything like this in the comments. I want a tab on the navbar to randomly link to one of a couple dozen websites. I found code to do this with javascript or with php, and the code works fine, but I can't figure out how to incorporate it into the code for the tab.
Here's one of the codes I found for making a random link: PHP Code:
PHP Code:
|
It would need to be something like this:
PHP Code:
|
I'm not sure why, but it didn't work. This is the full version of the last line, just to make sure I inserted the code correctly:
PHP Code:
Code:
Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/mernet/public_html/index/includes/class_bootstrap.php(555) : eval()'d code on line 62 |
Quote:
Code:
|
Simonhind, I just tried the code you suggested. It didn't give the "Warning: Unexpected character in input" error, but it did still give the parse error about the '<' bracket. Here's the full error message.
Code:
Parse error: syntax error, unexpected '<' in /home/mernet/public_html/index/includes/class_bootstrap.php(555) : eval()'d code on line 62 |
Im not sure why, but I cannot get ANY tabs to show up to the right of the what's new tab. Ive tried Mods (from vb.org) as well as this. Ive tried this code stock. I cannot get ANY tab to show up to the right of my "What's New" tab.
Currently I only have FORUMS, and WHATS NEW. What could be the issue? Any help please? |
does anyone know the css to increase the height of the tabs
------ edit : found the styvar, now thats looking better --------------- Added [DATE]1327405000[/DATE] at [TIME]1327405000[/TIME] --------------- Quote:
|
All times are GMT. The time now is 01:22 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|