PDA


View Full Version : access to this page BUG!!


Frankenberrie
05-17-2004, 02:34 PM
I have ran into a bug on the VBA CMPS edit page area. I have been adding my modules- no problems / adding pages- no problems.

When I set permissions on a page I have created under:

Here you may specifiy which usergroups will have access to this page.

this does not work. I have made many pages and set a few of them so unregistered uses can not go to them, i logged out and still am able to see these pages.. Any ideas??

Oh yeah... Love the new module/page layout.

Brian
05-17-2004, 02:51 PM
Oh crap, looks like RC2 will be out sooner than I thought. Not sure how I let this one slip through, but here's the fix...

Open your forum/includes/vba_cmps_include_top.php and look for:

// Check user's groups against page permissions

Above that Add:


$allowview = false;


Then open your forum/includes/vba_cmps_include_bottom.php and look for:
$iconcache = unserialize($datastore['iconcache']);

Above that Add:

if (!$allowview)
{
print_adv_no_permission();
}


And that should fix the problem.

Frankenberrie
05-17-2004, 03:27 PM
Worked like a charm!

I have no problem testing for you. I have servers here at my shop so there is no uploading for me.. I move all my files via windows network!! 1-2-3 and setting up VB3 & VBA takes only 1 minute!! :)