PDA

View Full Version : Forum Home Enhancements - forum distinction from the rest of the forums


al-baker
10-17-2007, 10:00 PM
hi all ,,

forum distinction from other forums

develop by : albaker
changes:


forumhome_forumbit_level2_post


forumhome_forumbit_leve1_post


first:

go to the css main for ur style and from Additional CSS Definitions put :

https://vborg.vbsupport.ru/attachment.php?attachmentid=71163&stc=1&d=1192692259

.mshaer1
{
background: #ffffff url(images/mshaer1.jpg) repeat-x bottom ;

}

change the url for bg image ( red word )

second:

open
forumhome_forumbit_level2_post

on the 2nd line u will see 2 calss alt2 & alt1active :

https://vborg.vbsupport.ru/attachment.php?attachmentid=71161&stc=1&d=1192692259

<td class="alt2">

replace it with :
<td class="<if condition="$forumid == 2"> mshaer1
<else />
alt2 </if>
</if>"

chabge $forumid == 2 for ur fourm id what u want to distinctions

then:
<td class="alt1Active"

replace it with :

<td class="<if condition="$forumid == 2"> mshaer1
<else />
alt1Active </if>
</if>"

on same tamplate in line 16 :

https://vborg.vbsupport.ru/attachment.php?attachmentid=71162&stc=1&d=1192692269


<td class="alt2"

replace it with:
<td class="<if condition="$forumid == 2"> mshaer1
<else />
alt2 </if>
</if>"

then:
<td class="alt1"

replace it with :
<td class="<if condition="$forumid == 2"> mshaer1
<else />
alt1</if>
</if>"

then:
<td class="alt2"

replac it with:
<td class="<if condition="$forumid == 2"> mshaer1
<else />
alt2 </if>
</if>"

then:
<td class="alt1"

replace it with:
<td class="<if condition="$forumid == 2"> mshaer1
<else />
alt1 </if>
</if>"


finaly:
https://vborg.vbsupport.ru/attachment.php?attachmentid=71164&stc=1&d=1192692259

==========================================

if u want to distinction 2 forums from other forums

use that code

<td class="<if condition="$forumid == 20"> mshaer1
<else />
alt2 </if>
</if>
<if condition="$forumid == 111"> mshaer2
</if>
</if>
</if>

and dont forget to put Additional CSS Definitions for the second distinction forum

.mshaer2
{
background: #ffffff url(images/mshaer1.jpg) repeat-x bottom ;

}

if u want to distinction by color use this code

.mshaer1
{
background: #ffffff

}
===================================

repat this steps on forumhome_forumbit_leve1_post

have fun !

PoetJA-1975
10-18-2007, 09:31 AM
um - what on earth does this do?
That's a LOT of template edits...

Jacquii.

yoyoyoyo
10-18-2007, 12:00 PM
very confused also

FleaBag
10-18-2007, 12:47 PM
I believe it allows you to highlight a particular forum (or forums) as a checked post awaiting moderation would appear, via template edits.

kollam003
10-22-2007, 11:20 AM
very confusing ..........

mhackl
10-23-2007, 02:47 PM
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.

koolfire
05-18-2008, 11:30 PM
The most confusing hack seen on vBulletin.org..
Good effort anyway lol.