![]() |
Now, you want to hear the best? I am at home on a different PC, and it tells me unable to add cookies headers already sent on the echo line. When I remove the echo line, the page simply takes forever to load.... or perhaps does not load at all (closed brpwser after 5 minutes)
|
Page generated in 0.51729 seconds with 13 queries [Server Loads: 0.49 0.55 : 0.47]awesome hack :)
|
Quote:
And again, thanks for a lovely hack. Now, I am awaiting for the alerts to see what they are about, haven't seen one yet. Rgds |
This hack has a major bug. If your Admins dont have the groupid 6 you cant access the page...
/edit: Hm and changing to this doesn't work: if (!can_administer('whatever')) { print_cp_no_permission(); } /edit2: Anybody knows a way to change it in that way, that all people who have access to the admin panel can view it? Because in my case, they are all in a lot of different usergroups. |
Quote:
if (($bbuserinfo['usergroupid'] != 6) AND ($bbuserinfo['usergroupid'] != 5)) { print_no_permission(); } Add any group that you want to included in the above IF condition, same way I add "AND ($bbuserinfo['usergroupid'] != 5)" |
Hm I could do that, but I dont want to put everyone who can access the admin panel in one group and especially not as primary group, because they all need different acess to forums and different titles. We got around 400+ Forums, so it is a bit complex ;)
|
Awesome! Great Job!
|
Great Hack!!!
|
Quote:
Certainly yours is a special setup, by default most people use the 6 as the administrator group and it is also the default. I agree with you that it should be fixed. here it is. In modmanagement.php change PHP Code:
PHP Code:
|
Hehe sorry for calling it a major bug and thanks for your help :)
But I also need to change the modmanagement_cron.php. Same here: All users, who can see the adminpanel should get the pm's. |
All times are GMT. The time now is 01:36 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|