The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How can I hide the last post, threads and posts columns in a forum?
I want to hide the last post, threads and posts columns in a forum and sub forum. See Attachment. Can some one help me with what i would need to do?
I assume I can edit the template and add a if/else statement but I can not figure it out. Thanks, Ryan C |
#2
|
|||
|
|||
Can anyone help on this?
|
#3
|
|||
|
|||
I think you want to edit templates forumhome_forumbit_level1_post and forumhome_forumbit_level2_post and take out the columns you don't want. I believe the headings are in the FORUMHOME template.
|
#4
|
|||
|
|||
But can I do it with a conditional so it only removes them in certain forums? Like this?
Code:
<if condition="$forum[forumid] != X"> CODE </if> Thanks for the reply! |
#5
|
|||
|
|||
Yes. You could do something like:
Code:
<if condition="!in_array($forum[forumid], array(1, 2, 3))"> <td class="alt2">$forum[lastpostinfo]</td> <td class="alt1">$forum[threadcount]</td> <td class="alt2">$forum[replycount]</td> </if> |
#6
|
|||
|
|||
Thanks for the reply i am going to play with this today!
|
#7
|
|||
|
|||
Just to bring this up again, I'm wondering how to take out the headers Threads and Posts?
I have been able to take out the data but left with the headers. |
#8
|
|||
|
|||
Anyone have an idea where the header code is located?
|
#9
|
||||
|
||||
To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|