Bug in forumpermissions.php


July 4th, 2009

  • the function displayforums is missing a
    global $sessions
    and so the links built in line ~ 120 wont work if cookies are switched off.

    cheers,
    draisin


  • sorry, but you have not read my posting.

    im talking about forumpermission.php,
    not forumdisplay.php!

    ~ line 90.

    ah, i give up. i changed it in my version anyway...

    cheers,
    dietrich


  • should read, of course:
    global $session;


  • This line is in forumdisplay.php:

    global $DB_site,$bbuserinfo,$iforumcache,$ipermcache,$imo dcache,$session,$accesscache,$usergroupdef,$noperm s;


  • Dietrich,

    Thanks for pointing that out.

    John


  • You must mean forumpermission.php. And there is no:

    global $sessions

    ...line in that file. That must be from a hack you installed.


  • are you sure you checked this? again:

    this line is MISSING in admin/forumpermisson.php:
    global $session;
    otherwise the links are not produced correctly.
    and i have no hack installed.
    and i know what i'm talking about.

    cheers,
    dietrich







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Bug in forumpermissions.php , Please add it free.
    date