![]() |
Modifing Widget Last Post to appear number of views and the navbar
1 Attachment(s)
Hi all,
I'm using in my homepage the widget "Last Post" to show the last 50 post of my forum. I make some changes in the "vbcms_widget_recentposts_page " in the style options for modify the widget. I remove the "<vb:comment></vb:comment>" and the preview option from the code (both marked as Bold Italic in the code) and works ok as you can see in the image attached. Problem is I would like to show the number of views of the thread where the post is, and the name or path of the forum where the post is. For example: if a post showered is in a thread that have 50 views and is in General>Computer>Settings forum I would like that info appears too in the widget. For the views I try to add {vb:rawphrase views}: {vb:raw thread.views}, but nothing is showed. Can you help me to modify the widget? Code:
<div class="cms_widget"> |
Did you try {vb:raw post.views}? I know that looks like it might be the views for that post, but vb doesn't save views per post so if there's a post.views set, it should be for the thread.
|
All times are GMT. The time now is 09:59 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:
|