![]() |
merging new posts + thread style conditionals
in vb 3.6 for vbplaza we're supposed to change this:
HTML Code:
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$show['gotonewpost']"> style="font-weight:bold"</if>>$thread[threadtitle]</a> HTML Code:
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$thread['titlestyle']">style="$thread[titlestyle]"</if>>$thread[threadtitle]</a> How can the 2 features be used without one or the other being lost? I don't know how to code, but I figure something in the format of this would work? HTML Code:
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$thread['titlestyle']" AND "$show['gotonewpost']=0">style="$thread[titlestyle]"</if><if condition="$thread['titlestyle']" AND "$show['gotonewpost']">style="font-weight:bold, $thread[titlestyle]"</if><if condition="$show['gotonewpost']" AND "$thread['titlestyle']=0">style="font-weight:bold</if>>$thread[threadtitle]</a> |
HTML Code:
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]"<if condition="$thread['titlestyle']">style="$thread[titlestyle]"</if>><if condition="$show['gotonewpost']"><strong>New: </strong></if>$thread[threadtitle]</a> New: unread thread title New: unread thread title with style read thread title read thread title with style I've use italic underline and highlight as the style to make it stand out which is which. |
thanks, I'll post it in the vblaza threads for those looking for a fix.
|
All times are GMT. The time now is 12:14 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|