|
#1
| |||
| |||
| Altering the template "forumhome_forumbit_level1_nopost"
In reference to this post - My forum ID of the highest category is dependent on the usergroup the member is in. I've tried using the following code to get rid of the extra table border with no luck by replacing this code Code: <if condition="$forum[forumid] != 115"> Code: <if condition="in_array($forum['forumid'], array(150,115))"></if> TriMe Last edited by TriMe; 01-11-2008 at 04:52 AM. |
|
#2
| |||
| |||
| Re: Altering the template "forumhome_forumbit_level1_nopost"
The easiest way to get round this is to reorder your forums so that the top isn't usergroup dependant, though you could use a complex nest of conditionals such as this: Code: <if condition="is_member_of($vbulletin->userinfo, x,)"> <if condition="$forum[forumid] != x1"> </table> <br /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> </if> <else /> <if condition="is_member_of($vbulletin->userinfo, y,)"> <if condition="$forum[forumid] != y1"> </table> <br /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> </if> </if> </if> You need to replace the following default with the above: Code: <if condition="$forum[forumid] != 4"> </table> <br /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> </if> |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How can I install the "Red Carbon" Style - Branding Free ? | Oxygen | General Questions | 1 | 13-09-2008 06:22 PM |
| "Chat Fusion" Style Released! | admin | Announcements | 3 | 18-08-2008 02:19 AM |
| "Seasons" Style Released! | admin | Announcements | 2 | 15-08-2007 08:22 PM |