View Full Version : Forum tab always highlighted
the one
11-16-2017, 05:20 AM
If you go to my forum here https://jandeane81.com/forum.php
You will notice the forum tab highlighted.
If you click on any of the navbar links the forum tab still remains highlighted.
Is there anyway to fix this in the navigation manager
Using vbulletin 4.2.1.
Many thanks
Malc.
MarkFL
11-16-2017, 06:17 AM
In your Navigation Manager, do you have anything entered into the "Tab Script(s)" field for the tabs not highlighting correctly?
the one
11-16-2017, 10:57 AM
In your Navigation Manager, do you have anything entered into the "Tab Script(s)" field for the tabs not highlighting correctly?
Hi Mark
I dont all these are blank
MarkFL
11-16-2017, 03:00 PM
Okay, you need to enter the name of the script being called...if you are unsure, look in the associated PHP file, and near the top, you should find a line of the form:
define('THIS_SCRIPT', 'script name');
Enter the value given there, for each external script.
the one
11-16-2017, 03:34 PM
Okay, you need to enter the name of the script being called...if you are unsure, look in the associated PHP file, and near the top, you should find a line of the form:
define('THIS_SCRIPT', 'script name');
Enter the value given there, for each external script.
Sorry to sound thick would this be in my cpanel files and what will the php file be called and where is it situated
I have entered this define('THIS_SCRIPT', 'index'); in the forum tab where it says Tab Script(s)
When i pressed save it gave this error
Error: The specified 'script' is invalid.
MarkFL
11-16-2017, 03:47 PM
You should actually have copies of the external scripts on your local media (hard drive, etc.) from which you uploaded to your server, so you can check these copies.
The name of the PHP file you need to check for each tab should be specified in the "Target URL" field in your Navigation Manager.
the one
11-16-2017, 03:50 PM
You should actually have copies of the external scripts on your local media (hard drive, etc.) from which you uploaded to your server, so you can check these copies.
The name of the PHP file you need to check for each tab should be specified in the "Target URL" field in your Navigation Manager.
I am having a omg moment mark lol
I have access to my cpanel and whm but do not know where to locate any of this lol.
MarkFL
11-16-2017, 04:39 PM
You shouldn't need to check the files on your server, unless you haven't kept the files you uploaded to your server. :)
the one
11-16-2017, 04:41 PM
You shouldn't need to check the files on your server, unless you haven't kept the files you uploaded to your server. :)
Thanks Mark i am rubbish at this but my admin as just logged on and fixed it
Many thanks
MarkFL
11-16-2017, 04:44 PM
I should have told you, and I apologize for not suggesting this first, but it's been my experience that the script name is usually defined to be the same as the file name, minus the .php extension.
I'm glad you got it sorted out! :)
the one
11-16-2017, 05:13 PM
Only me again so its working but the little navbar under the main one as disappeared and you can only view it if you click the forum tab.See here https://jandeane81.com/forum.php if you then click on chat or latest posts its gone
Any ideas how to get it back for them tabs
Thanks
MarkFL
11-16-2017, 05:46 PM
Each tab you set up using the Navigation Manager (and for which you have specified a script) will only have the links and menus in the navbar that you define as its children. So, what you'd have to do is look at the children of the "Forum" tab and make copies of those as the children of the other tabs as you desire.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.