The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello.
I've tried googling and everything but can't really find what I need. On threadbit, I want to change the background colour of my threads. The pseudocode is: <if condition = threadstarter = userid> then <td class = etc> <if condition="$thread['sticky'] == 1"> <td class="stickybg" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]"> <else /> <td class="alt1" id="td_threadtitle_$thread[realthreadid]" title="$thread[preview]"> </if> </if> I only need help for the first bit in that code. I was also wondering if theres any code along those lines: <if condition= first-5characters-of-thread-title = [#B50] and thread is in X forum and threadstarter = user id> then ... where [# are constant; B50 is variable; ] constant. So [#variable-variable-variable] Thanks to anyone who helps ![]() |
#2
|
|||
|
|||
![]()
<a href="https://vborg.vbsupport.ru/showthread.php?t=202916&highlight=threadstarter" target="_blank">https://vborg.vbsupport.ru/showt...=threadstarter</a>
try implementing that mod. |
#3
|
|||
|
|||
![]()
Thanks for that, but doesn't really suit my need as theres there will be more than 3 people who will be having custom threadbit backgrounds and the MOD you just posted can only be used by one usergroup, limited to only 1 type of CSS.
Thanks tho ![]() |
#4
|
||||
|
||||
![]()
If you look at the thread table in the database, you'll see the fields postuserid and postusername. So you should be able to use those - $thread['postuserid'] == xx . forumid is also in that table, so $thread['forumid'] == yy .
|
#5
|
|||
|
|||
![]()
Thanks so much Lynne
![]() Still need help on 2nd part of my question D: |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|