The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Rendering a specific Forum
Hi There,
I was wondering if there is a way inside of a style to specify a specific forumid to render. Thanks john |
#2
|
|||
|
|||
Not sure what you mean - do you want a condition so that you can display something different depending on the forumid? If so it would be:
Code:
<vb:if condition="$GLOBALS['forumid'] == X"> // something for forum X only </vb:if> |
#3
|
|||
|
|||
Hi,
Close. Here's some sudo-code for what i'd like to do {vb: raw render_forumid=7} would display the forum that usually shows on the home page. john |
#4
|
|||
|
|||
I'm not sure what you mean by "the forum that displays on the home page". But I'm pretty sure what you're asking isn't easy - you'd have to have a plugin or php code somewhere to create the string you want, which would probably need to include a lot of the code from forumdisplay.php.
|
#5
|
|||
|
|||
Thanks kh. I know it's very vauge, but I think I agree: the best way to accomplish this is to write a plugin.
|
#6
|
|||
|
|||
Are you planning on writing one? I had an idea about that (but like most of my ideas, nothing ever happened with it).
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|