The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
custom icon for one forum only
is there a hack or something that allows me to have a custom icon for just one specific forum? I dont want it for all forums..... just one.
|
#2
|
|||
|
|||
What do you mean, the status icon for posts on index.php and in subforums on forumdisply.php?
|
#3
|
||||
|
||||
yes its more than possible for one
<if condition="$foumd[forumid] == X>forum graphic id thingie here<else /> regular code here</if> |
#4
|
|||
|
|||
sorry I dont follow too well..... what template do I put this in? And whats "regular code here" ?
|
#5
|
||||
|
||||
forumhome_forumbit_level1_post find
Code:
<td><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td> <td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td> Code:
<if condition="$forum[forumid] == X><td><img src="$stylevar[imgdir_statusicon]/$forum[forumid]/forum_$forum[statusicon].gif" alt="" border="0" /></td> <td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td> <else /> <td><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td> <td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td> </if> and you need to put the correct images in this folder forum_on forum_off and so forth |
#6
|
|||
|
|||
I dont know whats wrong but I'm doing everything exactly as you tell me... however I get this error:
Parse error: parse error in /home/silver/public_html/includes/adminfunctions_template.php(2998) : eval()'d code on line 7 when making the changes to the template that you tell me to. |
#7
|
||||
|
||||
did you make sure to change X to a real number?
Code:
<if condition="$forum[forumid] == X"><td><img src="$stylevar[imgdir_statusicon]/$forum[forumid]/forum_$forum[statusicon].gif" alt="" border="0" /></td> <td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td> <else /> <td><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td> <td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td> </if> |
#8
|
|||
|
|||
howcome it doesnt work on forumhome
I wanted a custom forum icon just for one forum on forumhome |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|