Helpful Information
 
 
Category: vB5 Programming Discussions
activity stream widget help

hi guys.. i apologize for any stupid questions i may ask.. ive never even set up a facebook page and now I run a forum. i tell u the last 7 days have been a crash course from hell.. anyway im having issues with my home screen widget..

vbcms_widget_recentthreads_page is the templet name of the widget i created.. all is fine except on the widget in the homescreen it displays the oldest post in that thread...

is there anyway to either show the newest post in the thread or at the absolute least no post at all?.. just most recent thread?

i appreciate any help guys im totally lost with this.. thank you

You may edit the template and just remove the code that adds in the post text. Probably just remove this:

<p class="cms_widget_post_content widget_post_content">{vb:raw thread.previewtext}</p>

{vb:rawphrase last_post_by}:
<vb:if condition="$thread['lastposterid']" >
<a href="{vb:link member, {vb:raw thread}, null, 'lastposterid', 'lastposter'}">{vb:raw thread.lastposter}</a>
<vb:else />
{vb:rawphrase by_x_guest, {vb:raw thread.lastposter}}
</vb:if>
{vb:raw thread.lastpostdate}<vb:if condition="!$thread['detailedtime']">, <span class="time">{vb:raw thread.lastposttime}</span></vb:if>
<a href="{vb:raw thread.lastposturl}"><img class="inlineimg" src="{vb:stylevar imgdir_button}/lastpost-{vb:stylevar right}.png" alt="{vb:rawphrase go_to_last_post}" border="0" /></a>

Wow thankyou.. that did it.. ty ty ty.. is there any way to have it say who posted last? after the code modification it doesnt show it anymore.. if thats too much to ask dont worry about it.. thank you again.. that has been bugging the crap out of me










privacy (GDPR)