![]() |
Quote:
AdminCP Languages & Phrases -> Search in Phrases -> mod_management (phrase variable name) |
Quote:
|
echo "hello";
?> does not print. functions_modmanagement.php was uploaded. I did get the alerts PM |
Nothing in error log. Access log shows this:
xx.xxx.xxx.xxx - - [22/Oct/2004:16:45:40 -0400] "GET /forums/modmanagement.php HTTP/1.1" 200 6992 "http://site.com/forums/admincp/index.php?do=nav" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)" |
This is an absolutely superb idea - well done :)!
|
Hear this! When I put echo "hello"; at the top, it prints, AND it also prints template
When I remove it, blank page... |
Quote:
However, the sorting by lastvisit still doesnt work very well: here's the order I get with modmanagement.php?sortby=lastvisit :) 22-10-2004 03:34 PM 22-10-2004 01:26 PM 22-10-2004 03:51 PM ... 22-10-2004 02:34 AM 21-10-2004 10:52 PM 22-10-2004 03:46 AM 22-10-2004 12:11 PM 21-10-2004 09:45 PM .... Quote:
says PHP Code:
|
Quote:
Yes, you can just modify the condition in the modmanagement.php in that way. In your example that would give access to the supermoderators also. |
Quote:
|
No that does not make sense. I wish someone could explain. I am sure there is a reason for it. Anyway, I just placed a non breaking space as echo. The only annoyance is that it drops the header table from topmargin=0
|
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. |
This is a very nice hack, I have actually noticed my Moderators are doing so much more work than I expected, and a couple of the other moderators are going to be getting my nice aldo boot :)
Nice hack! |
very nice hack :)
|
Quote:
.fixed the cron job and the access to the main page in case you have several admin groups and not only group 6 .added a log to the cron job .fixed a bug where the "unread pm's" in the navbar wasn't updated If any of these bugs bother you then just re-download the zip and replace the files. |
By default only admins can view the modmanagement.php page, if you want your supermoderators to be able to access the page.
In modmanagement.php search for: PHP Code:
PHP Code:
In modmanagement.php search for: PHP Code:
PHP Code:
|
Quote:
If there is no fix to this, an uninstaller will be very nice to see here or I'll have to waste time manually deleting everything :( |
Quote:
Some people have installed it in 3.0.1 succesfully, but Lionel has the weirdest behaviour I have seen or read, and I installed a copy of vb3.0.1 in my local machine to test it and it ran without problems. Unless there is another conflicting hack or server setting that I am not aware of there is no good reason for it not to work.... maybe I can check your website or test site to see if I can identify what the problem is? |
Well, I was bored and deleted all the phrases and settings manually. Its possible its conflicting with other hacks I have installed, not sure which one as I have many. Maybe Lionel can be of some help.
|
I like this, and I'm going to install it soon. ;)
|
Thanks again for your help. Now everything works fine for me!
|
Quote:
|
Today, I received the first PMs from this hack. All fine and well, except that they didn't increase the admins unread PM's number, not did they trigger the fact that there were unread PMs.
Any ideas??? Tnx and rgds ------------- John |
Quote:
|
Quote:
Regards, |
Quote:
Rgds -------------- John |
Quote:
I also had the white page problem but found a fix for my board (not sure if it will work for all) Open modmanagement.php Search for: PHP Code:
Replace with: PHP Code:
This a great Mod,, Thanks for your efforts Kentaurus |
One this thats annoying me is when it sends a PM informing the admin what a mod or mods have been up to, the email says "Blah Blah has not posted in his forum in the last 30 days"
Now I have moderators that mod more than one forum so how would I know from this what forum its refuring to? Can this hack be changed so the PM's state what forums its on about. Laters |
Quote:
|
Quote:
I am keeping the statistics, but removing the cron job. Rgds |
Great hack!
This certanly makes it a lot easier to see if a mod isn't around for some reason. I have also modified it slightly, to show in the percent read column: "25 of 76, 33%" or "12 of 13, 92%" because the pure percent can be a bit misleading, and it helps to see if the mod is just not paying attention, of if they are swamped, and a co-mod may be needed. |
You are WONDERFUL. I've been having these sort of problems with the mods on my site, and this will work wonders. Will be great for removing moderators as well :D
|
All times are GMT. The time now is 04:51 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:
|