The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
New/Old Status Images as Text?
Instead of using the typical images to differentiate if a forum has new posts or not, is it possible at all to use text instead? I've searched around and haven't come across anything so I thought I'd ask here.
|
#2
|
|||
|
|||
That's a fairly straight-forward template edit.
The template(s) that you want to edit all are named forumhome_forumbit_level... The variable you want is $forum[statusicon]. This has a value of either "old" or "new" You can use it as text, or?a more-interesting way to use it is to define a class on the "A" tag that surrounds the forum title. Like this: HTML Code:
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]" <if condition="$show['forumdescription']">title="$forum[description]"</if> class="$forum[statusicon]">$forum[title]</a> HTML Code:
a.new:after {content:'NEW';background-color:#f00;color:#fff;font-size:.5em;margin-left:.125rem;border-radius:.66em;padding-left:.375em;padding-right:.375em;font-style:normal;position:relative;bottom:.25em;} |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|