The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]() Quote:
I need help hiding these two things from view of everyone in a specific sub-forum. If someone could help me out, or even just point me in a direction- it would be greatly appreciated. | | | --------------- Added [DATE]1241909444[/DATE] at [TIME]1241909444[/TIME] --------------- Not even the slightest idea? |
#2
|
|||
|
|||
![]()
Maybe a conditional statement that disables this for certain forums? I don't know what code you would have to add inside the condition.
|
#3
|
|||
|
|||
![]()
Thanks for leaving an idea- I'm still stuck if there's anyone out there willing to help me out here.
|
#4
|
||||
|
||||
![]()
Find the template and put a condition around the stuff:
HTML Code:
<if condition="$forumid != 'x'"> stuff to show if not forum x </if> If you have further problems, post the exact code in the templates you are using, along with the template name. |
#5
|
|||
|
|||
![]() Quote:
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). |
#6
|
||||
|
||||
![]()
You are probably looking for these (use in the php page). Take a look in the articles forums - lots of good stuff in there.
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
#7
|
|||
|
|||
![]() Quote:
You're the best... thanks for helping out once again. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|