![]() |
Change entire forum section to display custom content rather then threads
1 Attachment(s)
Hi, basically, i have a section in my forum that is called "News headlines"
When they click on it, it will normally bring them to see the forum with threads, posts, etc. Instead, I want: When they click on it, it will bring them to a forum that does NOT have threads, and they will not be able to post. Rather, it will show my custom content. I have included an image for better explanation. |
In the FORUMDISPLAY template, find $threadbits, and put a conditional around it, like this:
HTML Code:
<if condition="!$foruminfo[forumid] == X"> |
hm, i got the condition working by using:
PHP Code:
|
Hmm, thats a php condition, that shouldn't work in templates :/
|
Maybe you should finish your idea before you try to code it? :/
|
oh forum display TEMPLATE, lol i was editting the file forumdisplay.php
Ah, ok got it, that was easy. I was just editting the wrong file lol. Thanks! |
Hehe, no problem :)
|
oh btw your code doesnt work, it shows my code on every forum!
|
Try replacing foruminfo[forumid] with forum[forumid].
|
All times are GMT. The time now is 10:29 PM. |
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:
|