View Full Version : Bug in forumpermissions.php
draisin
Mon 26th Aug '02, 11:11am
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
draisin
Mon 26th Aug '02, 11:13am
should read, of course:
global $session;
Steve Machol
Mon 26th Aug '02, 12:28pm
You must mean forumpermission.php. And there is no:
global $sessions
...line in that file. That must be from a hack you installed.
draisin
Tue 27th Aug '02, 6:33am
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
Steve Machol
Tue 27th Aug '02, 1:39pm
This line is in forumdisplay.php:
global $DB_site,$bbuserinfo,$iforumcache,$ipermcache,$imo dcache,$session,$accesscache,$usergroupdef,$noperm s;
draisin
Wed 28th Aug '02, 6:09am
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
John
Wed 28th Aug '02, 6:27am
Dietrich,
Thanks for pointing that out.
John
vBulletin® v3.8.0 Beta 1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.