|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
Name: Moderator Activity Logging v1.0b2 Programmers: Overgrowth, qasic, DPK Beta testers: MsLedd, LK Requirements: UBB 6.1 Public Beta 1 or Higher Description: Track moderator and admin activites including: closing, opening, moving, and deleting threads. You are able to set the number of logs you view at one time and you can focus down to just one moderator by clicking on their name. Download: http://www.qasic.net/ Pictures: As always, bug reports and feedback greatly apprecited!
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Great mod Just a small bug, lines 437 and 439 of modlog.cgi should have $hash->{type} instead of $_[0].
|
|
|
|
Joined: Apr 2001
Posts: 235
Member
|
Member
Joined: Apr 2001
Posts: 235 |
I got this error:
Can't obtain exclusive lock: No such file or directory (called by /home3/dsstoday/HTML/cgitest/ubb_mod_log.cgi, 36) at /home3/dsstoday/HTML/cgitest/ubb_lib_files.cgi line 573.
Line 35 and 36 of ubb_mod_log.cgi are:
open FILE, ">>$vars_config{NonCGIPath}/modlog/$action.cgi"; &lock();
Are we missing file action.cgi?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Did you create /noncgi/modlog directory?
|
|
|
|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
LK, thx for the bug report. It's fixed. ZIP file has been updated (just re-upload modlog.cgi).
qasic
|
|
|
|
Joined: Apr 2001
Posts: 235
Member
|
Member
Joined: Apr 2001
Posts: 235 |
I have the latest modlog.cgi and yes I have a directory modlog in NONCGI with chmod 777, still I am getting this error:
Can't use an undefined value as a symbol reference at modlog.cgi line 152.
and this is line 152 in modlog.cgi: my $fh; open($fh, "$vars_config{NonCGIPath}/modlog/$_[0].cgi");
Please help! Thanks
[ August 26, 2001: Message edited by: freeTV ]
|
|
|
|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
freeTV, you may be using a version of Perl that doesn't support this feature(I'm using Perl 5.6.1 which defintely supports this feature). What version of Perl are you using? Try the following: Open modlog.cgi find: and replace with: qasic [ August 26, 2001: Message edited by: qasic ]
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
nice job q. I'll install this when i get back.
|
|
|
|
Joined: Apr 2001
Posts: 235
Member
|
Member
Joined: Apr 2001
Posts: 235 |
qasic, I'm using perl5. I tried your fix to the modlog.cgi and it did the trick. This is a nice hack. I strongly recommend it to everyone.
2 thumbs up!
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
Nice one... will come in handy, esp. on larger boards
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
I'm getting internal server errors when opening modlog.cgi, it was working a couple days ago, but redownloaded the most recent one.
|
|
|
|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
Hmmm ... you may want to upgrade to Perl 5.6 then - it's better Anyways, I'm glad my workaround did the trick. I'm lucky Wall's Camel 3 had that workaround qasic
|
|
|
|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
raiyan:
ISE can be caused by two things:
1) Perl path not being correct. 2) Binary upload of files.
Check to make sure these are not the case. Furthermore, can you print here what your error log says?
qasic
|
|
|
|
Joined: Feb 2001
Posts: 73
Member
|
Member
Joined: Feb 2001
Posts: 73 |
will this work with 6.05? if not can you make one for 6.05?
|
|
|
|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
It can work with UBB 6.0x with a little modfication. If you pay me, I can install on your 6.0x board for you but otherwise, you'll have to install it at your own peril.
qasic
|
|
|
|
Joined: Aug 2001
Posts: 18
Junior Member
|
Junior Member
Joined: Aug 2001
Posts: 18 |
Great hack qasic! I've been waiting for something like this.
|
|
|
|
Joined: Jun 2001
Posts: 11
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 11 |
I want to download this so bad, but it won't let me in, it thinks im hacking. I forgot which e-mail adress I used so i tried a lot, and then it thought I was hacking, Qasic, can you fix my account?
|
|
|
|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
Hi bsoke,
Did you register @ Qasic.COM by any chance? If you did, you'll need to re-register @ Qasic.NET. Sorry for the inconvenience.
qasic
|
|
|
|
Joined: Jun 2001
Posts: 11
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 11 |
yeah, it has been a week, and I still can't get it...! grr!
|
|
|
|
Joined: May 2001
Posts: 88
Member
|
Member
Joined: May 2001
Posts: 88 |
Not sure if this is a problem with everyone, but when I chmod'd my modlog directory to 666 I couldn't gain access to that directory.. not even through FTP, so the ubb couldn't access it and gave this error... when I set it to chmod 777 it works just fine.. maybe the instructions should be changed to say chmod modlog to 777? just curious...
|
|
|
|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
Javier: This hack only requires 666 permissions. If it requires 777 then somehow, your host has a custom UNIX that is screwing around with standard UNIX permissions.
Boske: You're not on the Qasic.NET database at all.
qasic
|
|
|
|
Joined: May 2001
Posts: 88
Member
|
Member
Joined: May 2001
Posts: 88 |
Q-> that's cool.. my host is also where I work and do tech support Can't complain too much for free hosting lol... in any case, I hadn't seen much feedback on this hack yet so i just popped the question out.. It's a GREAT feature though.. no more "who the heck closed that and why" lol
|
|
|
|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
Well 666 means that everyone has read/write permissions and 777 means everyone has read/write/execute permissions. My script doesn't execute any files inside that directory so it's sufficient to only have 666. Just weird. Anyways, I'm still glad it works qasic
|
|
|
|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
ZIP file updated to fix a month-related bug. Thx to MsLedd for finding it!
Re-upload modlog.cgi.
qasic
[ 09-14-2001: Message edited by: qasic ]
|
|
|
|
Joined: Sep 2001
Posts: 239
Member
|
Member
Joined: Sep 2001
Posts: 239 |
Very useful hack, good job qasic!
|
|
|
|
Joined: Jul 2001
Posts: 122
Member
|
Member
Joined: Jul 2001
Posts: 122 |
Yo qasic. Did you ever thought about making a copy for v6.05?
|
|
|
|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
Yeah, I got one for UBB 6.0x. In fact, MsLedd found all the bugs I had in this hack on her UBB 6.05 However, as I stated above, payment is required for me in order to install it for you. qasic
|
|
|
|
Joined: Mar 2001
Posts: 326
Member
|
Member
Joined: Mar 2001
Posts: 326 |
He didn't ask you to install it, he just wants the hack for v6.05, like me =). Why not release it since there's lots still using v6.0x until v6.1 is final and bug free.
|
|
|
|
Joined: May 2001
Posts: 175
Member
|
Member
Joined: May 2001
Posts: 175 |
i'm getting this error also... file are surelly uploaded in ASCII... perl path... i don't see nothing on the first lines of modlog.cgi: this are the first lines of modlog.cgi... where is supposed to be that perl path? i tryed to add on the first line this: #!/usr/bin/perl but with no sucess... blank page... can anyone help? [ 10-16-2001: Message edited by: click ]
|
|
|
|
Joined: May 2001
Posts: 175
Member
|
Member
Joined: May 2001
Posts: 175 |
on the apache server log... i have this:
[Wed Oct 17 02:21:48 2001] [error] (8)Exec format error: exec of /hosting/gcgsm/public_html/new/cgi/modlog.cgi failed [Wed Oct 17 02:21:48 2001] [error] [client 212.113.185.162] Premature end of script headers: /hosting/gcgsm/public_html/new/cgi/modlog.cgi
|
|
|
|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
Hi Click,
I re-upload the latest ZIP file with modlog.cgi updated to have the shabang line @ the top of modlog.cgi.
I assumed you've hacked ubb_topic_maint.cgi right? If so, please close a topic and then check your modlog directory (inside the UBB NonCGI directory), and see if there are files. If there are, please list them here.
Thanks!
qasic
|
|
|
|
Joined: May 2001
Posts: 175
Member
|
Member
Joined: May 2001
Posts: 175 |
re-uploaded modlog.cgi yes, i've hacked all files as your instructions including ubb_topic_maint.cgi
At this moment i have this error when trying to close one topic:
Can't obtain exclusive lock: Permission denied at /hosting/gcgsm/public_html/new/cgi/ubb_lib_files.cgi line 554
Using perl 5.6.0 ubb 6.10 BR2.1
|
|
|
|
Joined: May 2001
Posts: 175
Member
|
Member
Joined: May 2001
Posts: 175 |
ok, i chmod noncgi/modlog/ to 777 and now its possible to close the topic... There are two files there after closing topic:
-rw-rw-rw- 1 nobody nobody 68 Oct 17 03:14 2.cgi -rw-rw-rw- 1 nobody nobody 31 Oct 17 03:14 index.cgi
anyway, on the control panel, "edit/view moderator logs" still blank page.....
[ 10-16-2001: Message edited by: click ]
|
|
|
|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
Oh, it's a blank page? Try logging into your control panel first (to set UBB admin cookie) and then access modlog.cgi again. Please LMK how this goes.
NOTE TO SELF: If this 666 keeps on causing trouble, I think I may change it to 777.
qasic
|
|
|
|
Joined: May 2001
Posts: 175
Member
|
Member
Joined: May 2001
Posts: 175 |
still blank page after logging on the control panel, and choosing "view/edit moderator logs"...
what can i do? can i send you my files for you to see?
i have:
UBB cgi dir -rwxr-xr-x 1 gcgsm gcgsm 1355 Oct 17 02:32 ubb_mod_log.cgi* -rwxr-xr-x 1 gcgsm gcgsm 58 Oct 17 02:32 ubb_hack_mod_log.cgi* -rwxr-xr-x 1 gcgsm gcgsm 13543 Oct 17 03:12 modlog.cgi* -rwxr-xr-x 1 gcgsm gcgsm 12569 Oct 17 02:06 ubb_topic_maint.cgi*
NonCGI/Templates dir
-rwxrwxrwx 1 gcgsm gcgsm 3842 Oct 17 02:07 cp_entry.pl* -rwxrwxrwx 1 gcgsm gcgsm 25906 Oct 17 02:07 cp_common.pl*
NonCGI dir
drwxrwxrwx 2 gcgsm gcgsm 4096 Oct 17 03:14 modlog/
This is what i have...
|
|
|
|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
Hi click,
Not too sure what's wrong but I can try logging in to your server to see if I can debug the bug. Please e-mail the FTP login/password and UBB login/password so I may see if I can find the problem. Thanks!
qasic
|
|
|
|
Joined: May 2001
Posts: 175
Member
|
Member
Joined: May 2001
Posts: 175 |
check your mail
|
|
|
|
Joined: Oct 2001
Posts: 572
Member
|
Member
Joined: Oct 2001
Posts: 572 |
I have the same problem so i have removed your hack till it is fixed.
|
|
|
|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
Hi click,
Just to confirm that I've received your mail and will be looking into your problem tomorrow.
qasic
|
|
|
|
Joined: May 2001
Posts: 175
Member
|
Member
Joined: May 2001
Posts: 175 |
well, i've received your emails. I don't know what you have done... but i've tryed to open the View/edit moderator loggs, and it still appears blank page.
Tryed on IE5, IE5.5, IE6, Netscape6, Opera NONE of them can open the page.
can't understand where is my mistake... blank page still remains.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 69
Joined: January 2001
|
|
Forums63
Topics37,575
Posts293,927
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|