Hey, you guys see how the thread breadcrumb is all messed up?
I just made a small test script and something is seriously haunted.
If any of you know PHP, care to lend me a hand with this? (jms/ghost)
I can't explain it.
The variable $parentlist is an array {[0] => '17', [1] => '18'}.
Take this code:
[code]
echo $vbulletin->forumcache[18]['title'] . "<br>";
foreach ($parentlist AS $forumID)
{
echo $vbulletin->forumcache[18]['title'] . "<br>";
$forumTitle = $vbulletin->forumcache["$forumID"]['title'];
$navbits['forumdisplay.php?' . $vbulletin->session->vars['sessionurl'] . "f=$forumID"] = $forumTitle;
}[/code]
The output of this block is consistantly:
[code]United Lounge **MEMBERS ONLY**
United Lounge **MEMBERS ONLY**
General Topics[/code]
How the hell did element 18 of the forumcache array change through that loop, which just indexes the breadcrumb elements for the link list at the top?
Am I just an idiot, or is there something seriously wrong there?
