Announcement

Collapse
No announcement yet.

If condition question

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    If condition question

    If I need to call this code here:
    Code:
    {vb:data posterInfo, user, fetchUserinfo, {vb:raw conversation['userid']}}
    To be able to to use this condition here in any template:
    Code:
    <vb:if condition="$posterInfo['usergroupid'] == 5 OR $posterInfo['usergroupid'] == 6">staffPost</vb:if>
    Then which code should I call in order to use this condition in ANY template:
    Code:
    <vb:if condition="$forum['nodeid'] == 1">somePost</vb:if>
    Thank you very much glennrocksvb.

    #2
    Does anyone have an answer to this?

    Comment


      #3
      I have found a solution to this if condition question, and I am glad I have achieved what I wanted with it.

      Comment


        #4
        Originally posted by zoran_dj View Post
        I have found a solution to this if condition question, and I am glad I have achieved what I wanted with it.
        could you share your solution please?

        Comment

        Users Viewing This Page

        Collapse

        There is 1 user viewing this forum topic.

        • Guest Guest

        Latest Posts

        Collapse

        Working...
        X
        Searching...Please wait.
        An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

        Please push the back button and reload the previous window.'
        An unexpected error was returned: 'Your submission could not be processed because the token has expired.

        Please push the back button and reload the previous window.'
        An internal error has occurred and the module cannot be displayed.
        There are no results that meet this criteria.
        Search Result for "|||"