![]() |
get forum id in showthread?
Hi,
how can i check the forum id in showthread? if ($forumid!=298){ eval("dooutput(\"".gettemplate("showthread_new")." \");"); } else { eval("dooutput(\"".gettemplate("showthread")."\"); "); } the $forumid!=298 does not work so, because all forums use than the showthread_new template! :( thanks for help! :) |
Try $foruminfo[forumid]
|
thanks for help! :)
but does not work :( |
$threadinfo[forumid]
|
still the same in all forums than :confused: :confused:
|
Well, it would be $foruminfo[forumid] OR $threadinfo[forumid] in vB3, but I haven't looked at vB2 in such a long time. Sounds like to me, you have other issues as a forumid will never be the same in all forums. Doesn't make much sense does it?
|
in vb2 i think it's $thread[forumid] ;)
|
Quote:
Code:
if ($thread['forumid'] == value) { |
ahhh thanks $thread[forumid] does now work! :))
|
you're welcome ;)
Floren, it seems we know the code of vb2 better than some devs ;) |
All times are GMT. The time now is 08:17 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|