The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Postbit Icon change and thread color
Found this hook for the thread color change but honestly don't know where it would go
This is for changing the color of thread title Code:
if ($thread['postuserid'] == 1) {$thread['threadtitle'] = '<span style="color: #8B0000;">' . $thread['threadtitle'] . '</span>';} And now I'm trying to make it so when ever user 1 posts in a thread, or usergroup doesn't matter. The postbit icon changes to one that I chose. I know this is possible and would like a solution =]. Lastly (related to the thread title change) how do I change the "latest post by "username"" color if posted by an admin, a userid, or a specific usergroup. |
#2
|
|||
|
|||
Anyone figure this out? =]
|
#3
|
|||
|
|||
==]
|
#4
|
|||
|
|||
What hook are you using for the code you posted?
|
#5
|
|||
|
|||
Try threadbit_display, that should do it.
I would recommend you do it via templates, though. It's easy. |
#6
|
|||
|
|||
Trying to figure out which hook to use, I found this in a thread but did not mention a hook :s
Quote:
Now I'm trying to make it display the color in forum homepage :S and trying to get the Postbit icon to change automatically when user id = 1 posts in a thread |
#7
|
|||
|
|||
=]]
|
#8
|
|||
|
|||
=]]
|
#9
|
|||
|
|||
=]]
|
#10
|
|||
|
|||
What exactly are you trying to do?
|
Благодарность от: | ||
SwalyAaron |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|