Announcement

Collapse
No announcement yet.

If condition reply count

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

  • If condition reply count

    Am trying to set up a condition to show some code only when the reply count is more than 2 for example.

    I know about this post
    http://www.vbulletin.com/forum/showthread.php?t=198875
    which let us put codes in different post and replies conditions and tried those conditions and they did not work.

    I don't want to put the code in postbit I am putting it in a sidebar and the sidebar code is in the footer.

    Anyone!

  • #2
    I am trying this code and it's not working

    Code:
    <if condition="in_array(THIS_SCRIPT, array(showthread)) AND $GLOBALS[threadinfo][replycount] >= 2">

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X