The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
While statement not working...
This is what I have inside index.php (of my hack)...
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Navigation 1 <---navgroup Gallery 7 <---navgroup Home 1 Forums 1 News 1 Biography 1 Contact Info 1 WebSite Help 1 Links 8 <---navgroup Home 1 Forums 1 News 1 Biography 1 Contact Info 1 WebSite Help 1 Animals 7 Birds 7 I have marked which are navgroup for you to see, but you can see that its not in order like I want called... It should look like this when called right... Navigation 1 <---navgroup Home 1 Forums 1 News 1 Biography 1 Contact Info 1 WebSite Help 1 Gallery 7 <---navgroup Animals 7 Birds 7 Links 8 <---navgroup |
#2
|
|||
|
|||
I don't see the problem immediately but never, ever query in a loop.
|
#3
|
|||
|
|||
How would you do this query then as its in the loop that way the navlinks pull under there correct navgroup (which obviously is not working).
|
#4
|
|||
|
|||
I changed a bit but its not quite working right...
PHP Code:
Navigation 1 <----navgroup Gallery 2 <----navgroup Links 3 <----navgroup Home 1 Forums 1 Biography 1 Contact Info 1 News 1 WebSite Help 1 Animals 2 Birds 2 Test Link 1 3 Test Link 2 3 Test Link 3 3 How come the nav items are not going into there correct nav group? I know it has to be something small but cant figure it out. PS. The numbers at the end are the navgroupid which they belong to. |
#5
|
||||
|
||||
Funny this problem for you was brought up, as I recently found a solution for it myself.
Take a look at the following thread, and the code given inside. Basically this function, modified some, should do as you need. https://vborg.vbsupport.ru/showthrea...threadid=52836 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|