Announcement

Collapse
No announcement yet.

Which conditional for guest?

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

  • Which conditional for guest?

    It probably doesnt matter but I'm just curious if it does matter

    All tell vb the user is a not logged in/unregistered
    PHP Code:
    if (!$bbuserinfo['userid'])
    if (
    $bbuserinfo['userid'] == 0)
    if (
    $bbuserinfo['usergroupid'] == 1
    Does it make the slightest bit of difference using one over the other?

  • #2
    The top, and second work, Off the top of my head I don't know if 3 works

    Comment


    • #3
      3 works....usergroup 1 is unregistered/not logged in
      im just curiuos if one should be used over the other
      dont think so myself but im asking anyways since in not a vb guru

      Comment

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