Announcement

Collapse
No announcement yet.

Show pic for some

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

  • Show pic for some

    I want to show a picture for just some visitors on my site.

    People who shall see the picture, are non-members and members with 10 or less posts on the forum.

    I'm asking this because my orginal coder are on a strike.

    Please.
    You already made up your mind!

  • #2
    You can do that by using template conditionals.
    Use the following for non-members (guests):
    Code:
    <if condition="$bbuserinfo[userid] == 0"><img src="yourimage.jpg" /></if>
    For members with 10 or less posts you should be able to use the following:
    Code:
    <if condition="$bbuserinfo[posts] < 11"><img src="yourimage.jpg" /></if>
    Place the code in your templates where you want it to display.
    Best Regards
    Colin Frei

    Please don't contact me per PM.

    Comment


    • #3
      Thanks exactly what i wanted!
      You already made up your mind!

      Comment

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