The Arcive of vBulletin Modifications Site. |
|
forum distinction from the rest of the forums Details »»
|
|||||||||||||||||||||||||||
|
forum distinction from the rest of the forums
Developer Last Online: Jun 2013
hi all ,,
forum distinction from other forums develop by : albaker changes:
first: go to the css main for ur style and from Additional CSS Definitions put : Code:
.mshaer1
{
background: #ffffff url(images/mshaer1.jpg) repeat-x bottom ;
}
second: open[*]forumhome_forumbit_level2_post on the 2nd line u will see 2 calss alt2 & alt1active : <td class="alt2"> replace it with : Code:
<td class="<if condition="$forumid == 2"> mshaer1
<else />
alt2 </if>
</if>"
then: Code:
<td class="alt1Active" Code:
<td class="<if condition="$forumid == 2"> mshaer1
<else />
alt1Active </if>
</if>"
Code:
<td class="alt2" Code:
<td class="<if condition="$forumid == 2"> mshaer1
<else />
alt2 </if>
</if>"
Code:
<td class="alt1" Code:
<td class="<if condition="$forumid == 2"> mshaer1
<else />
alt1</if>
</if>"
Code:
<td class="alt2" Code:
<td class="<if condition="$forumid == 2"> mshaer1
<else />
alt2 </if>
</if>"
Code:
<td class="alt1" Code:
<td class="<if condition="$forumid == 2"> mshaer1
<else />
alt1 </if>
</if>"
finaly: ========================================== if u want to distinction 2 forums from other forums use that code Code:
<td class="<if condition="$forumid == 20"> mshaer1
<else />
alt2 </if>
</if>
<if condition="$forumid == 111"> mshaer2
</if>
</if>
</if>
Code:
.mshaer2
{
background: #ffffff url(images/mshaer1.jpg) repeat-x bottom ;
}
Code:
.mshaer1
{
background: #ffffff
}
repat this steps on forumhome_forumbit_leve1_post have fun ! Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
um - what on earth does this do?
That's a LOT of template edits... Jacquii. |
|
#3
|
||||
|
||||
|
very confused also
|
|
#4
|
||||
|
||||
|
I believe it allows you to highlight a particular forum (or forums) as a checked post awaiting moderation would appear, via template edits.
|
|
#5
|
|||
|
|||
|
very confusing ..........
|
|
#6
|
|||
|
|||
|
It appears to me that it allows posts from a certain forum to be highlighted. you could use it to identify premium or administrative posts in say ... the new post lists.
This is very helpful. I don't suppose this would work on posts made in sub-forums of the parent forum id? I need to do this for about six forums that are all part of the same category. |
|
#7
|
|||
|
|||
|
The most confusing hack seen on vBulletin.org..
Good effort anyway lol. |
![]() |
|
|