The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Show custom threadicon on forumdisplay
There's a modification for vb3.0 where you can add a custom theadicon (image) for selected forums (topic).
My whishes are a bit different though than the creator offered. So can anyone change the following code: PHP Code:
* images (named $thread[threadid].jpg) are shown instead of threadicons in forumid's 7,9 and 12 (for example) * threadicons are shown in all other forumid's With my alterations it works a bit (except for the conditionals), but threadicons (or an  ) are also shown in the forums 7,9,12 Can anyone help me with these conditionals? Thanks a LOT |
#2
|
|||
|
|||
Code:
<if condition="$show['threadicons']"> <td class="alt2"> <if condition="$thread[forumid] == 7"><img src="http://www.mysite.com/images/forumdisplay/$thread[threadid].jpg" width="90" height="90"> <else /> <if condition="$show['threadicon']"><img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /> <else /> </if> </if> </td> </if> |
#3
|
||||
|
||||
fantastic, I will try that...
I also couldn't find how to make a conditional with a range of forums (like using the custon threadicon on forum 7, 12 and 15) Thanks a lot also :banana: |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|