Quote:
Originally Posted by Lynne
Find the template and put a condition around the stuff:
HTML Code:
<if condition="$forumid != 'x'">
stuff to show if not forum x
</if>
To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes .......
|
Thank you for the help Lynne, unfortunately I failed to read this before figuring it out- thanks for the tip, according to source- it was forumdisplay being loaded and after tinkering around in there with no luck I moved on,,,, I eventually found what I was looking though and have removed the threadstarter name as well as last post name.... Thanks for the help, it's always appreciated.
One last quick question; if you could help me,.- say I wanted to edit a .php file and wanted to use something like one of the following:
Code:
<if condition="$bbuserinfo['usergroupid'] == 10">The whole contents of the .php file</if>
or
<if condition="is_member_of($post, 10)">The whole contents of the .php file</if>
or
<if condition="$post['usergroupid'] == 10">The whole contents of the .php file</if>
or
<if condition="in_array($forum[forumid], array(1,2,3))">The whole contents of the .php file</if>
Any idea how I would write the conditions around the contents of the .php file to make it not produce an error--- or could you point me in a direction, (I never mind learning something new).