Announcement

Collapse
No announcement yet.

line of text only on the main page only to unregistered users, how?

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

  • line of text only on the main page only to unregistered users, how?

    I want to show line of text ONLY on the main (index) page of the forum ONLY to unregistered/unloged users
    how?
    Arcade Games - Some free fun for the free time!

  • #2
    Add a conditional to your phpinclude template:

    if (!$bbuserinfo[userid]) {
    $text = "unregistered text here";
    }

    Then use $text in your forumhome template so it will appear on the main index page.

    Comment


    • #3
      Originally posted by Jakeman
      Add a conditional to your phpinclude template:

      if (!$bbuserinfo[userid]) {
      $text = "unregistered text here";
      }

      Then use $text in your forumhome template so it will appear on the main index page.
      thanks
      Arcade Games - Some free fun for the free time!

      Comment

      Loading...
      Working...
      X