PDA

View Full Version : Latest Topics


sirstone
12-30-2004, 05:41 AM
How can i change the code for the latest topics. When i read a topic, then i want to see it in the topicmodul. Unread topics are in big letters and read topics in small letters...

Brian
12-30-2004, 10:11 AM
In your 'adv_portal_latesttopicbits' template:

If you use the module on the left or right side find:
<strong><a href="$vboptions[bburl]/showthread.php?t=$thread[threadid]" title="<if condition="$thread[preview]">$thread[preview]

</if>$vbphrase[by] $thread[postusername] <if condition="$vba_options['portal_threads_showdate']">$thread[postdate] $thread[posttime]</if>">$thread[title]</a></strong>

Replace that with:
<a href="$vboptions[bburl]/showthread.php?t=$thread[threadid]" title="<if condition="$thread[preview]">$thread[preview]

</if>$vbphrase[by] $thread[postusername] <if condition="$vba_options['portal_threads_showdate']">$thread[postdate] $thread[posttime]</if>"><if condition="$show['gotonewpost']"><strong>$thread[title]</strong><else />$thread[title]</if></a>


If you use the module in the center find:
<b><a href="$vboptions[bburl]/showthread.php?t=$thread[threadid]" title="$thread[preview]">$thread[title]</a></b>

<a href="$vboptions[bburl]/showthread.php?t=$thread[threadid]" title="$thread[preview]"><if condition="$show['gotonewpost']"><b>$thread[title]</b><else />$thread[title]</if></a>

Our Sponsors
 

sirstone
12-30-2004, 12:56 PM
I canīt see any change after used that code. The Topics is evertime whith big letters...

Brian
12-30-2004, 01:07 PM
Sorry, I only posted the changes to make if your module is on the left/right side. I've just edited the post to include the changes if the module is in the center.

Our Sponsors
 

sirstone
12-30-2004, 01:17 PM
That works, nice job:) Thx a lot

Edit: When i closed my internet explorer and reload my site. all Topics are marked as unread....