Announcement

Collapse
No announcement yet.

PHP code change question regarding 2.2.5

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

  • PHP code change question regarding 2.2.5

    This change was made from vB 2.2.3 to 2.2.5 in the forumdisplay file. Was this intentional?

    PHP Code:
    if (!$forumuser['invisible'] or $bbuserinfo['usergroupid'] == 6) { 
    to
    PHP Code:
    if ((!$forumuser['invisible'] or $bbuserinfo['usergroupid'] == 6
    Not the extra ( in front of !forumuser.

  • #2
    This is the complete line 697:
    PHP Code:
    if ((!$forumuser['invisible'] or $bbuserinfo['usergroupid'] == 6) and $bbuserinfo['userid'] != $forumuser['userid']) { 
    Ok?
    this is my sig

    Comment


    • #3
      what does that have to do with anything? I asked if the code change was intentional, because it is causing problems, at least I think it is. By the way, I was looking for one of the developers to answer this question.

      Comment


      • #4
        The line should look like the one that Pogo listed.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

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