![]() |
Hide the last post of a sub-forum on the home page
Where/how would I insert the <if> condition?
|
To find the template - 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.
|
I'm having no luck, I have tried the code in a previous couple of discussions already :/
https://vborg.vbsupport.ru/showthrea...ight=last+post |
Did you do what I suggested? What template did your page source say was being used? And then post exactly what you did in that template and perhaps we can spot the error.
|
Hi, this is where I am at so far;
https://vborg.vbsupport.ru/external/2008/12/61.jpg Not sure what I got wrong. Obviously where it says "Test" should be the name of the last thread posted in. What I would like is this: for the Last Post column to always show the most recently updated thread from the Relationships forum, and never from the Adult sub-forum. BTW the test "Age of Consent" thread was posted in forum ID 74. Template = forumhome_lastpostby HTML Code:
<if condition="$show['lastpostinfo']"> |
I thought you wanted to hide the Last Post By column. I do not know the code to not show the Last Post By if it's from a Sub-Forum. I think that will require code changes, not just template changes.
|
All times are GMT. The time now is 01:01 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:
|