DeanLag
08-10-2009, 03:43 PM
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 :)
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 :)