Announcement

Collapse
No announcement yet.

Question about some variable

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Yasser Hamed
    replied
    i need show lastactivity and age for user in postbit_legacy

    Leave a comment:


  • Yasser Hamed
    replied
    i try post this code in postbit_legacy , to show age user , brithday and lastactives


    Code:
    <vb:if condition="$post['age']">
        <tr>    
            <td class="alt1 infouser">{vb:rawphrase age}:</td>
            <td class="alt2 infouser">{vb:raw post.age}</td>
    </tr></vb:if>
        <vb:if condition="$prepared['lastactivitydate']">
        <tr>
            <td class="alt1 infouser">{vb:rawphrase last_activity} :</td>
            <td class="alt2 infouser">{vb:raw prepared.lastactivitydate}<vb:if condition="!$show['detailedtime']"> <span class="time">{vb:raw prepared.lastactivitytime}</span></vb:if></td>
        </tr>
    
    </vb:if>
    i used prepared and post , but don't show Value to variable

    Leave a comment:


  • Trevor Hannant
    replied
    What exactly are you trying to do and where?

    Leave a comment:


  • Yasser Hamed
    started a topic [vB4] Question about some variable

    Question about some variable

    I want to use the variable [Age and the latest activity] in template postbit_legacy, I used the [{vb: raw post.age}, {vb: raw post.lastactivitydate}]
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X