vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   New tab not staying selected (https://vborg.vbsupport.ru/showthread.php?t=283498)

Disco_Stu 05-26-2012 05:07 PM

New tab not staying selected
 
When I create a new tab using the Navigation Manager it highlights when I click on it but when the new page opens the previous tab (home, forum, what's new) is highlighted as selected. The new tab does not stay selected after the page opens.

Has anyone else experienced this problem? How did you get around it?

Lynne 05-26-2012 06:00 PM

Can we see an image of your settings for the tab in the Navigation Manager?

Disco_Stu 05-26-2012 06:10 PM

The settings are as follows:

Active: Yes
Product: vBulletin
Title: Services
Target URL: I set this to my new page which it opens ok
Display Order: 50
Show Permission Name: I leave this as blank
Append Tabid to URL: No
Tab Scripts: This is blank

Try it yourself. Add a new tab to open a new page then start up your site on one of your existing pages , then click to the new page tab and see if it stays selected and highlighted

Lynne 05-26-2012 06:19 PM

You need to enter something for the Tab Scripts. That is the THIS_SCRIPT name at the top of the php page. Or, if you have no THIS_SCRIPT, you just need a plugin to set the $root variable. Example for a forumdisplay page used as a navtab:

hook - set_navigation_tab_main

PHP Code:

if (in_array($GLOBALS['forumid'], array(2,15)))  $root 'tab_nzg3_214'


Disco_Stu 05-26-2012 06:36 PM

ok...that worked. But a second issue developed. I have two new tabs that call the same php file with different parms.

When I set both tabs with the same script name the first one always is set as selected even after I click on the second one.

To get around this I created a clone of the php and put a suffix of "2" at the end of the file name and the script name in the cloned php Then I added the suffix to the script name in the second tab. Now everything works.

Cloning the php file is not an elegant solution by any means but it does work and is the only solution I have right now.

Thanks for the info

Paul M 05-26-2012 07:33 PM

Is this a vbulletin file, or a custom file ?

Disco_Stu 05-26-2012 07:55 PM

I'm adding custom pages using this mod:

https://vborg.vbsupport.ru/showthread.php?t=235359

I posted the detailed solution in the mod comments. It's ugly but it solves the problem.

Lynne 05-26-2012 09:27 PM

The way to solve it would be to write a plugin like I was showing in post 4 based on THIS_SCRIPT and the parameter that is passed.

Disco_Stu 05-26-2012 11:00 PM

I figured there was a better way to solve the problem then what I came up with.

jdj 05-28-2012 01:35 PM

Quote:

Originally Posted by Lynne (Post 2333206)
You need to enter something for the Tab Scripts. That is the THIS_SCRIPT name at the top of the php page. Or, if you have no THIS_SCRIPT, you just need a plugin to set the $root variable. Example for a forumdisplay page used as a navtab:

hook - set_navigation_tab_main

PHP Code:

if (in_array($GLOBALS['forumid'], array(2,15)))  $root 'tab_nzg3_214'


The new navigation manager looks quite useful to me. I just put in a URL to another site and that worked fine.

If on the same top level domain I want to set the tab to display e.g. the members list, or the calendar, then what script would I add here to get the tab to pull up a particular calendar or the list?

PS: I know that if I put in /calendar in the URL box in the navigation manager then the calendar will come up, but the forum tab remains selected. So I'm guessing the answer is the same I need to put a script in the script box for the new 'calendar' or 'members' tab to remain highlighted. So which one for calendar, which one for members list?

Lynne 05-28-2012 05:03 PM

If it's a navtab, not a link/menu item, then you need to add something to the Tab Script(s) textarea to get it to stay (or do a plugin like I wrote). For the calendar, if you look at the top of that file, you'll see this:
HTML Code:

define('THIS_SCRIPT', 'calendar');
So, enter "calendar" (no quotes) into that field.

bosken 05-30-2012 02:26 PM

Ok, managed to solve almost all my tabs to stay highlighted except for this one:

An external app for links. harleyforum.se/links/index.php is the path.

If i put the word index in script field it messes up, obviously. What should I put there?

https://vborg.vbsupport.ru/external/2012/05/6.jpg

Lynne 05-30-2012 04:15 PM

Well, does the file have THIS_SCRIPT defined at the top of it?

bosken 05-30-2012 08:27 PM

Quote:

Originally Posted by Lynne (Post 2334744)
Well, does the file have THIS_SCRIPT defined at the top of it?

Yes Lynne! :D now i understand the whole thing. I was on my iPad so had limited options to view the file correctly. It said links_index Thank you!

--------------- Added [DATE]1338413625[/DATE] at [TIME]1338413625[/TIME] ---------------

However it does not work, first time I click the tab it works, but as soon I go back and click the forum, blog or article tab, it cant find that page, it points forum to mysite.se/links/forum, but should be mysite.se/forum only?

This is my forum tab, default, if it helps you.

https://vborg.vbsupport.ru/external/2012/05/5.jpg

Lynne 05-31-2012 01:10 AM

If your other tabs are not working, then there is another issue going on.

bosken 05-31-2012 07:29 AM

They are working fine UNTIL i put the links_index in script field for the links tab.

Lynne 05-31-2012 03:11 PM

Are you sure that is the correct thing to put there? And when you say they are not working fine, what about them isn't working? We need more detail in order to help.

djrichards 05-31-2012 10:59 PM

I have this same issue with a tab for my PhotoPost vBGallery. The only difference from other tabs is that the target URL is in a directory under public_html instead of being in the forum directory.

There are two issues.
  1. The tab works correctly the first time but when you click to any link on the gallery page, the tab highlight moves back to the Forum tab.
  2. After selecting the Gallery tab, clicking any other tab results in a 404 error because the path into the gallery directory is concatenated into the URL.

Lynne 06-01-2012 02:26 AM

We cannot help troubleshoot tab issues without seeing your settings.

NTMID8 06-01-2012 03:56 AM

I was using the Navbar Tabs Manager prior to v4.2.0 being released, so I understand all about the script names, etc.

I've removed that product so I can use the native Navigation Manager built into v4.2.0 but the problem I am having is that I cannot add all the script names needed for each tab because their is a limit of 30 characters on this field.

Is there a way to overcome this limitation?

For example, my Forum navtab lists the following tab scripts - index.online.private.search

This means that when viewing who's online, private messaging, viewing new posts, etc that the Forum tab stays highlighted and the links underneath remain visible. But when reading a thread (showthread) or viewing the forums (forumdisplay) the tab is no longer highlighted and therefore no link options remain making navigation less friendly.

I'd just like to make the tab scripts line read - index.online.private.search.showthread.forumdispla y - but I can't because for some reason this field was limited to 30 characters?

nhawk 06-01-2012 09:51 AM

Quote:

Originally Posted by bosken (Post 2334969)
They are working fine UNTIL i put the links_index in script field for the links tab.

I could be wrong, but I don't think the underscore character is allowed in script names in the navigation manager.

I ran across this with one of my mods and when I removed the underscore from the name it worked without a problem.

djrichards 06-01-2012 10:29 AM

1 Attachment(s)
Quote:

Originally Posted by Lynne (Post 2335291)
We cannot help troubleshoot tab issues without seeing your settings.


See attached.

bosken 06-01-2012 12:15 PM

Yes, same setup/problem I have with underscore title. Only a cosmetic thing so not relly important. Tab still works.

Lynne 06-01-2012 03:32 PM

Quote:

Originally Posted by NTMID8 (Post 2335309)
I was using the Navbar Tabs Manager prior to v4.2.0 being released, so I understand all about the script names, etc.

I've removed that product so I can use the native Navigation Manager built into v4.2.0 but the problem I am having is that I cannot add all the script names needed for each tab because their is a limit of 30 characters on this field.

Is there a way to overcome this limitation?

For example, my Forum navtab lists the following tab scripts - index.online.private.search

This means that when viewing who's online, private messaging, viewing new posts, etc that the Forum tab stays highlighted and the links underneath remain visible. But when reading a thread (showthread) or viewing the forums (forumdisplay) the tab is no longer highlighted and therefore no link options remain making navigation less friendly.

I'd just like to make the tab scripts line read - index.online.private.search.showthread.forumdispla y - but I can't because for some reason this field was limited to 30 characters?

hook location - set_navigation_tab_main
PHP Code:

if (in_array(THIS_SCRIPT, array(' index''online''private''search''showthread''forumdisplay'))) $root 'tab_whatever_it_is'

Quote:

Originally Posted by djrichards (Post 2335373)
See attached.

And what is this line for all the scripts that should keep that tab highlighted?
PHP Code:

define('THIS_SCRIPT''thenameofthescript'); 


NTMID8 06-01-2012 05:05 PM

Thanks, Lynne. I will give that try tonight.

djrichards 06-01-2012 08:55 PM

Quote:

Originally Posted by Lynne (Post 2335465)
hook location - set_navigation_tab_main
PHP Code:

if (in_array(THIS_SCRIPT, array(' index''online''private''search''showthread''forumdisplay'))) $root 'tab_whatever_it_is'


And what is this line for all the scripts that should keep that tab highlighted?
PHP Code:

define('THIS_SCRIPT''thenameofthescript'); 


OK. I have inferred from the vague explanations here that the "THIS_SCRIPT" value for every possible link from the primary tab URL needs to be entered in the Tab Script(s) field with a period separating each value.

But are you saying that if we need to enter more than 30 characters we need to enter it by manipulating vBulletin code instead of via the interface provided? This is obviously a bug or, at the very least, an oversight in design. Can we expect this to be submitted for resolution in a future release?

However, the tab highlight is the least of my problems with the Navigation Manager. As another stated, it's simply cosmetic but it definitely should be fixed at some point.

My real concern is the problem with the 404 error that occurs EVERY TIME when clicking other tabs after first visiting a tab that points to a URL that is not within the standard /forum path.

You can see this happen at my site (lancisti.net) by first clicking the Photo Gallery tab, then clicking any other tab. You'll see that after clicking the Gallery tab, any other tab click results in the /gallery directory replacing the /forum directory within the URL.

It also seems to somehow break the URL for the icon image in the announcement message at the top of the Gallery page.

Do we need to create another thread to get some help on this issue?

Lynne 06-01-2012 09:35 PM

I would not call creating a plugin "manipulating vbulletin code". It is also an "interface provided" in the software.

As for 30 characters being a bug, you are welcome to enter it into the bug tracker if you feel that way. I don't feel it is a bug when it is so easy to just write a plugin to do what I want.

And, as for the 404 errors, you probably have your URLs set to something like "mypage.php" instead of "/forumdir/mypage.php", so it is looking for the page in the directory you are in. You may want to read up on the different types of relative paths.

djrichards 06-01-2012 11:09 PM

Quote:

Originally Posted by Lynne (Post 2335607)
And, as for the 404 errors, you probably have your URLs set to something like "mypage.php" instead of "/forumdir/mypage.php", so it is looking for the page in the directory you are in. You may want to read up on the different types of relative paths.

I find that to be a pretty amazing response. Especially since you've already seen what my URL setting is and are completely wrong. MORE especially since I've tried every possible version of the URL and the results are exactly the same. You may want to "read up" on my previous posts. And as I previously stated, the tab URL has to point to "/gallerydir/mypage.php", not "/forumdir/mypage.php". So then, are you unable to help me with this or simply unwilling?

Quote:

I would not call creating a plugin "manipulating vbulletin code". It is also an "interface provided" in the software.
When one has to write new code to add into a file, it's called manipulating code, regardless of whether or not the system provides a rudimentary interface for doing so. I can understand that for someone who is a coder, this is simple and obvious stuff. But not everyone who buys this product is a coder. If they were, they'd likely not be here asking for assistance.

Quote:

As for 30 characters being a bug, you are welcome to enter it into the bug tracker if you feel that way. I don't feel it is a bug when it is so easy to just write a plugin to do what I want.
My mistake. I thought I was conversing with someone who is providing official support for vBulletin. Apparently, this is only a forum for people who write code for a living.

No worries. I'll find someone else capable of helping me.

Lynne 06-01-2012 11:42 PM

Quote:

Originally Posted by djrichards (Post 2335623)
I find that to be a pretty amazing response. Especially since you've already seen what my URL setting is and are completely wrong. MORE especially since I've tried every possible version of the URL and the results are exactly the same. You may want to "read up" on my previous posts. And as I previously stated, the tab URL has to point to "/gallerydir/mypage.php", not "/forumdir/mypage.php". So then, are you unable to help me with this or simply unwilling?

I'm not talking about the gallery tab, I'm talking about the other tabs you are having problems with. If you go to your gallery, you are in the /gallery directory. Then you click on a tab to forum.php and it goes to /gallery/forum.php since you are using a relative path (not a root relative path).

Quote:

Originally Posted by djrichards (Post 2335623)
My mistake. I thought I was conversing with someone who is providing official support for vBulletin. Apparently, this is only a forum for people who write code for a living.

No worries. I'll find someone else capable of helping me.

This is an all volunteer run site - there is no official support here on vbulletin.org. I happen to work for vbulletin and help moderate their official site, vbulletin.com, but this site, vbulletin.org, is run by volunteers.

However, you are welcome to find someone else to help you. I'll stop responding to your posts since you don't find my responses helpful.

djrichards 06-01-2012 11:54 PM

Quote:

Originally Posted by Lynne (Post 2335630)
I happen to work for vbulletin and help moderate their official site, vbulletin.com

I know. That's why I thought I was dealing with a professional.

--------------- Added [DATE]1338598664[/DATE] at [TIME]1338598664[/TIME] ---------------

Quote:

Originally Posted by Lynne (Post 2335630)
I'm not talking about the gallery tab, I'm talking about the other tabs you are having problems with. If you go to your gallery, you are in the /gallery directory. Then you click on a tab to forum.php and it goes to /gallery/forum.php since you are using a relative path (not a root relative path).

My other tabs are set to the default values entered during the installation. Sounds like that's what you should be taking back to your real job so they can fix it in a future release.

--------------- Added [DATE]1338599040[/DATE] at [TIME]1338599040[/TIME] ---------------

Originally Posted by Lynne
Quote:

I'm not talking about the gallery tab, I'm talking about the other tabs you are having problems with. If you go to your gallery, you are in the /gallery directory. Then you click on a tab to forum.php and it goes to /gallery/forum.php since you are using a relative path (not a root relative path).
Nope. Again, not the answer. Now it throws 404 errors and URLs with /gallery/forum/mypage.php.

Next!

nhawk 06-02-2012 10:44 AM

Quote:

Originally Posted by djrichards (Post 2335596)
OK. I have inferred from the vague explanations here that the "THIS_SCRIPT" value for every possible link from the primary tab URL needs to be entered in the Tab Script(s) field with a period separating each value.

But are you saying that if we need to enter more than 30 characters we need to enter it by manipulating vBulletin code instead of via the interface provided? This is obviously a bug or, at the very least, an oversight in design. Can we expect this to be submitted for resolution in a future release?

However, the tab highlight is the least of my problems with the Navigation Manager. As another stated, it's simply cosmetic but it definitely should be fixed at some point.

My real concern is the problem with the 404 error that occurs EVERY TIME when clicking other tabs after first visiting a tab that points to a URL that is not within the standard /forum path.

You can see this happen at my site (lancisti.net) by first clicking the Photo Gallery tab, then clicking any other tab. You'll see that after clicking the Gallery tab, any other tab click results in the /gallery directory replacing the /forum directory within the URL.

It also seems to somehow break the URL for the icon image in the announcement message at the top of the Gallery page.

Do we need to create another thread to get some help on this issue?

This is one of those bugs/improvement requests that has been reported/requested and has been marked 'resolved' and 'working as designed'...

http://tracker.vbulletin.com/browse/VBIV-15197

And the requestors resolution was...
Quote:

To fix this I edited all the tabs to have {options.bburl}/ at the start - all was ok.

djrichards 06-02-2012 02:20 PM

Quote:

Originally Posted by nhawk (Post 2335773)
This is one of those bugs/improvement requests that has been reported/requested and has been marked 'resolved' and 'working as designed'...

http://tracker.vbulletin.com/browse/VBIV-15197

And the requestors resolution was...

Hardly what I would call a resolution. I see that VBulletin still has a lot to learn about customer support and product design/revision.

They could save themselves a LOT of grief and time in responding to customers with this problem if they simply changed the Nav Manager default values to include the "/forum/" path in front of each PHP file name.

Not only would it reduce requests for support, it would also provide a clear example that would help users easily figure it out for themselves. Not everyone who uses this COMMERCIAL product is a PHP coder or works all day at a Linux command line for a living.

I really don't understand companies who seem to have the Incredible Hulk's "Puny humans!" attitude toward those who provide their livelihood. Obtuse responses to support/enhancement requests are not only unhelpful, they run completely counter to a company's goals.

borbole 06-02-2012 02:59 PM

Quote:

Originally Posted by djrichards (Post 2335829)
Hardly what I would call a resolution. I see that VBulletin still has a lot to learn about customer support and product design/revision.

They could save themselves a LOT of grief and time in responding to customers with this problem if they simply changed the Nav Manager default values to include the "/forum/" path in front of each PHP file name.

Not only would it reduce requests for support, it would also provide a clear example that would help users easily figure it out for themselves. Not everyone who uses this COMMERCIAL product is a PHP coder or works all day at a Linux command line for a living.

I really don't understand companies who seem to have the Incredible Hulk's "Puny humans!" attitude toward those who provide their livelihood. Obtuse responses to support/enhancement requests are not only unhelpful, they run completely counter to a company's goals.

You should drop off the attitude pal and be a little more appreciative of those that are trying to help you.

Sorry to say this but you come off as arrogant and rude and with this attitude you will not find many people that will be willing to help you out.

djrichards 06-02-2012 04:07 PM

Not my intent to be rude or arrogant and I apologize for coming off that way. But if you have a problem with people having opinions other than yours, then, well, you just have a problem I guess.

From my POV (as a customer), the arrogance is on the part of people who seem to get miffed when a person asks a fairly simple question and then gets aggravated with flip answers from an employee of the product's company. If I was in any way knowledgeable in PHP coding I wouldn't be asking such questions in the first place.

Do you not believe that it's a company's responsibility to support their customers AND a users responsibility to provide feedback for product improvement? That's the way it is in the world that I live and work in. I know that this is a "volunteer" site and perhaps I was in error to have have expected any real support for my problems here. But vBulletin is not an open source product and people who have purchased it rightfully expect to receive adequate and useful support provided in a professional manner, especially when it's coming from one of the company's employees.

I ALWAYS have a great deal of appreciation for those who are actually helpful. But telling me that I simply need to "write a plugin" or "read up" on something is far from helpful. I work with product developers on a daily basis so I understand that it's hard for coders to understand this. But it really is easier to provide a simple explanation of the fix needed and why/how the fix works. Educating users along the way is a far better support model than telling them that there's nothing wrong with the product/design and they are just not smart enough to use it.

Wouldn't it have been easier to simply say:

The default tab paths use only relative paths to their respective files. If you wish to have tabs that direct users to a URL outside of the default forum directory, you will need to edit all of the default tab paths to include "/forumdir/" before the filename.

I would also add that anyone providing even semi-official support for the product should be charged with logging any and all such support requests for evaluation by the design team as future fixes or enhancements. The issues I've talked about here definitely should qualify in that regard AND should be quite simple fixes.

But instead, I got:

You PROBABLY have YOUR URLs set wrong. You should read up...

Now, please explain this arrogance thing to me again.

But no worries. I now understand that this really isn't the place to ask for vBulletin product support so I won't make that mistake again.

Thanks for your input. Really.

--------------- Added [DATE]1338658813[/DATE] at [TIME]1338658813[/TIME] ---------------

Quote:

Originally Posted by nhawk (Post 2335773)
This is one of those bugs/improvement requests that has been reported/requested and has been marked 'resolved' and 'working as designed'...

http://tracker.vbulletin.com/browse/VBIV-15197

And the requestors resolution was...

nhawk, as was pointed out to me so eloquently :rolleyes:, I probably should have thanked you for your response. I did find it useful so thank you.

But just to add to this so others reading this thread get the full picture about this issue, one of the dev team members also posted the following there. Apparently it's not a complete fix.

Quote:

"Simply adding {options.bburl} most likely won't work if suite components (Forum, Blog, CMS) are located in different directories."
Another of the developers there also stated the following and this is what I take issue with:

Quote:

"The current default is working as it should on a standard install, the whole point of the Manager is that those that need to change the url can"
I believe that this is most definitely NOT the whole point of the Nav Manager. It's a usability enhancement and is being promoted as such. If the whole point was ONLY to provide the ability to change URLs in the default tabs, they wouldn't have also included the ability to add new tabs. Hence my previous statements about responsiveness to customer support and product enhancements.

But enough complaining. I know this isn't the place for that. Just wanted to clarify for those who seemed to be offended by my remarks.

borbole 06-02-2012 04:57 PM

Quote:

Originally Posted by djrichards (Post 2335863)
Not my intent to be rude or arrogant and I apologize for coming off that way. But if you have a problem with people having opinions other than yours, then, well, you just have a problem I guess.

From my POV (as a customer), the arrogance is on the part of people who seem to get miffed when a person asks a fairly simple question and then gets aggravated with flip answers from an employee of the product's company. If I was in any way knowledgeable in PHP coding I wouldn't be asking such questions in the first place.

Do you not believe that it's a company's responsibility to support their customers AND a users responsibility to provide feedback for product improvement? That's the way it is in the world that I live and work in. I know that this is a "volunteer" site and perhaps I was in error to have have expected any real support for my problems here. But vBulletin is not an open source product and people who have purchased it rightfully expect to receive adequate and useful support provided in a professional manner, especially when it's coming from one of the company's employees.

I ALWAYS have a great deal of appreciation for those who are actually helpful. But telling me that I simply need to "write a plugin" or "read up" on something is far from helpful. I work with product developers on a daily basis so I understand that it's hard for coders to understand this. But it really is easier to provide a simple explanation of the fix needed and why/how the fix works. Educating users along the way is a far better support model than telling them that there's nothing wrong with the product/design and they are just not smart enough to use it.

Wouldn't it have been easier to simply say:

The default tab paths use only relative paths to their respective files. If you wish to have tabs that direct users to a URL outside of the default forum directory, you will need to edit all of the default tab paths to include "/forumdir/" before the filename.

I would also add that anyone providing even semi-official support for the product should be charged with logging any and all such support requests for evaluation by the design team as future fixes or enhancements. The issues I've talked about here definitely should qualify in that regard AND should be quite simple fixes.

But instead, I got:

You PROBABLY have YOUR URLs set wrong. You should read up...

Now, please explain this arrogance thing to me again.

But no worries. I now understand that this really isn't the place to ask for vBulletin product support so I won't make that mistake again.

Thanks for your input. Really.

--------------- Added [DATE]1338658813[/DATE] at [TIME]1338658813[/TIME] ---------------


First of all I do not have a problem with people having other opinions than mine. Opinions are like you know what, everyone has one :D

Anyway, all I wanted to say is that with the way you spoke to Lynne and to everyone else trying to help you, was way off base. Lynne is one of the most helpful persons around here and at vb.com.

Whereas about the answer that you got, it was the correct one. It pointed you in the right direction. You could also try to help yourself first btw by doing a little search rather than complaining.

djrichards 06-02-2012 05:37 PM

Quote:

Originally Posted by borbole (Post 2335877)
Anyway, all I wanted to say is that with the way you spoke to Lynne and to everyone else trying to help you, was way off base. Lynne is one of the most helpful persons around here and at vb.com.

Whereas about the answer that you got, it was the correct one. It pointed you in the right direction. You could also try to help yourself first btw by doing a little search rather than complaining.

I have no doubt that Lynne is a truly lovely person. Again, my apologies for coming across as rude or arrogant. But, to be honest and direct, the answer I received was a typical coder response that was obtuse at best and was far from complete or useful to me.

As for doing a search first, that's always my approach. How do you think I found this particular thread? It seemed to be the only one that even marginally addressed my problems. Do you think I just clicked on the first thread I found and posted my questions? Where else would you suggest I look other than perhaps at the forum at vBulletin.com (which I have also done)?

My complaints only came after I tried more than once to ask questions in a reasonable manner and got responses I found to be unhelpful.

As for the answers I received, are you saying that you consider "write a plugin" or "read up" to be "correct" answers? If so, then we'll just have to differ on that.

Pointing one in a "direction" is hardly the same as providing an explanation with a complete and correct answer, (such as the one that I actually provided).

I'll try not to trouble any of you experts here again with my silly little questions. Promise.

UK CHI3F 06-13-2012 04:52 PM

Wow reading some of that hurt my head a little.

I think this is the right thread thought, We have awards and gxboxlive leaderboard mods enabled and added them using the navigation system on vb4.2
But when i click either the tab highlighted is always forum, how do i stop this and if its by code where do i put it.
www.xboxplayers.com

Many thanks for any help you can offer

Lynne 06-13-2012 09:16 PM

Check the pages and look to see what THIS_SCRIPT is set to and enter that as the Tab Script for the navtab.

UK CHI3F 06-14-2012 05:58 AM

OK done Lynne thanks that was easy,

Next one is the additional tab which is just a link to a part of the forum "game nights".

I saw discostu's posts but dont really understand where I am looking for the set_navigation_tab_main

and then where do i post the script
PHP Code:

if (in_array($GLOBALS['forumid'], array(2,15)))  $root 'tab_nzg3_214'

PHP Code:

define('THIS_SCRIPT''index'); 

is what the forum.php says

the forum id is "6", dont understand "array", and the tab is "tab_ota1_544"

As usual thanks for your help

UK CHI3F 06-15-2012 02:58 PM

Hopefully i haven't made it too confusing in my previous post but just checking in does anyone know what/where i should be putting my perspective code.

Thanks


All times are GMT. The time now is 05:36 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
  • Page Generation 0.01564 seconds
  • Memory Usage 1,925KB
  • 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
  • (1)bbcode_html_printable
  • (8)bbcode_php_printable
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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