UBB.Dev
Posted By: qasic [6.1x] Moderator Activity Logging - 08/26/2001 11:10 PM
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:

[Linked Image]

[Linked Image]

As always, bug reports and feedback greatly apprecited!
Posted By: LK Re: [6.1x] Moderator Activity Logging - 08/26/2001 11:27 PM
Great mod smile

Just a small bug, lines 437 and 439 of modlog.cgi should have $hash->{type} instead of $_[0].
Posted By: freeTV Re: [6.1x] Moderator Activity Logging - 08/26/2001 11:37 PM
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?
Posted By: LK Re: [6.1x] Moderator Activity Logging - 08/26/2001 11:50 PM
Did you create /noncgi/modlog directory?
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 08/27/2001 1:06 AM
LK, thx for the bug report. It's fixed. ZIP file has been updated (just re-upload modlog.cgi).

qasic
Posted By: freeTV Re: [6.1x] Moderator Activity Logging - 08/27/2001 4:17 AM
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 ]
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 08/27/2001 5:24 AM
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:

Code
code:

and replace with:

Code
code:


qasic

[ August 26, 2001: Message edited by: qasic ]
Posted By: Greg Hard Re: [6.1x] Moderator Activity Logging - 08/27/2001 5:30 AM
nice job q. smile
I'll install this when i get back.
Posted By: freeTV Re: [6.1x] Moderator Activity Logging - 08/27/2001 11:51 AM
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!
Posted By: AllenAyres Re: [6.1x] Moderator Activity Logging - 08/27/2001 9:21 PM
Nice one... will come in handy, esp. on larger boards smile
Posted By: Brett Re: [6.1x] Moderator Activity Logging - 08/27/2001 10:27 PM
I'm getting internal server errors when opening modlog.cgi, it was working a couple days ago, but redownloaded the most recent one.
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 08/27/2001 10:27 PM
Quote
quote:
Hmmm ... you may want to upgrade to Perl 5.6 then - it's better smile Anyways, I'm glad my workaround did the trick. I'm lucky Wall's Camel 3 had that workaround smile

qasic
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 08/27/2001 10:29 PM
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
will this work with 6.05? if not can you make one for 6.05?
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 08/30/2001 12:20 AM
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
Posted By: DaMan352 Re: [6.1x] Moderator Activity Logging - 08/30/2001 5:16 AM
Great hack qasic! I've been waiting for something like this. smile
Posted By: boske Re: [6.1x] Moderator Activity Logging - 09/02/2001 5:22 PM
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?
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 09/02/2001 10:40 PM
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
Posted By: boske Re: [6.1x] Moderator Activity Logging - 09/05/2001 6:44 AM
Quote
quote:
yeah, it has been a week, and I still can't get it...! grr!
Posted By: Javier97Z28 Re: [6.1x] Moderator Activity Logging - 09/05/2001 6:19 PM
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...

Quote
quote:
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 09/06/2001 3:50 AM
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
Posted By: Javier97Z28 Re: [6.1x] Moderator Activity Logging - 09/06/2001 6:17 AM
Q-> that's cool.. my host is also where I work and do tech support wink 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
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 09/06/2001 6:44 AM
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 smile

qasic
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 09/15/2001 4:53 AM
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 ]
Posted By: RANCH4x4 Re: [6.1x] Moderator Activity Logging - 09/15/2001 10:22 PM
Very useful hack, good job qasic! smile tipsy
Posted By: Terminator_X Re: [6.1x] Moderator Activity Logging - 09/17/2001 6:01 AM
Yo qasic. Did you ever thought about making a copy for v6.05?
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 09/17/2001 6:03 PM
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 smile However, as I stated above, payment is required for me in order to install it for you.

qasic
Posted By: mark99 Re: [6.1x] Moderator Activity Logging - 09/19/2001 2:12 PM
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.
Posted By: click Re: [6.1x] Moderator Activity Logging - 10/17/2001 3:11 AM
Quote
quote:
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:

Quote
quote:
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 ]
Posted By: click Re: [6.1x] Moderator Activity Logging - 10/17/2001 3:15 AM
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
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 10/17/2001 3:42 AM
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
Posted By: click Re: [6.1x] Moderator Activity Logging - 10/17/2001 3:53 AM
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
Posted By: click Re: [6.1x] Moderator Activity Logging - 10/17/2001 4:09 AM
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 ]
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 10/17/2001 4:45 AM
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
Posted By: click Re: [6.1x] Moderator Activity Logging - 10/17/2001 12:27 PM
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...
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 10/17/2001 7:04 PM
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
Posted By: click Re: [6.1x] Moderator Activity Logging - 10/17/2001 9:39 PM
check your mail wink
Posted By: eXtremeTim Re: [6.1x] Moderator Activity Logging - 10/18/2001 4:16 AM
I have the same problem so i have removed your hack till it is fixed.
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 10/18/2001 6:49 AM
Hi click,

Just to confirm that I've received your mail and will be looking into your problem tomorrow.

qasic
Posted By: click Re: [6.1x] Moderator Activity Logging - 10/18/2001 2:19 PM
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.
Posted By: Splitfyre Re: [6.1x] Moderator Activity Logging - 10/18/2001 4:50 PM
Qasic, in your instructions you have indicators talking about (changed in b2).

Have you updated these instructions for Beta 2.1? Or are you waiting for Friday for 6.1 final?
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 10/18/2001 8:36 PM
click,

Find this inside modlog.cgi,

&VerifyCookie(cookie("ubbadmin$vars_config{Cookie_Number}"));

And comment it out. If your modlog works, then you know there's a problem with cookies (are you using a proxy server by any chance)?

Spitfyre,

The b2 reference is in reference to what changed between modlog versions, not UBB.

qasic
Posted By: click Re: [6.1x] Moderator Activity Logging - 10/18/2001 8:43 PM
ok, problem is solved now wink
just comment out that line you said..
i don't use any proxy, tryed on different computers with different connections and browsers.

thanks for all your help qasic wink
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 10/18/2001 9:00 PM
Just a warning, if that line is disabled, ANYONE will be able to see modlog.cgi and the titles of threads in private forums will be revealed.

qasic
Posted By: eXtremeTim Re: [6.1x] Moderator Activity Logging - 10/18/2001 10:07 PM
frown can you find some other way to do this so it works correctly. I realy want to use your hack but i am not gonna use it if every body can see it. How about you make it so you veiw it thro cp.cgi?ubb=modlog or something like that.
Posted By: click Re: [6.1x] Moderator Activity Logging - 10/18/2001 10:15 PM
easy... change modlog.cgi to othername.cgi

on cp_common.pl, instead of:

Code
code:

change it to

Code
code:

i did it, and it works fine wink
tks everyone
Posted By: LK Re: [6.1x] Moderator Activity Logging - 10/18/2001 10:19 PM
click, I don't think it's gonna work and anyway only people that are logged in to the CP can see it.

Try to access http://www.lkubb.dns2go.com/cgi-bin/modlog.cgi .
Posted By: click Re: [6.1x] Moderator Activity Logging - 10/18/2001 10:36 PM
with me worked.. and i'm the only person who check the logs... so.. guess no problem

about the link you mentioned... blank page also frown
Posted By: LK Re: [6.1x] Moderator Activity Logging - 10/18/2001 10:38 PM
Sorry, I didn't read a few posts.... But don't change ONLY the filename here and in cp_common.pl, you also have to change it in the require parts.

[ 10-18-2001: Message edited by: LK ]
Posted By: Splitfyre Re: [6.1x] Moderator Activity Logging - 10/18/2001 10:59 PM
In cp_entry.pl you ask us to find:

} #endif and under post some code. Well I cannot find it. What I can find is two instances of

} #end if

See below for the snippet:

Quote
quote:
Posted By: eXtremeTim Re: [6.1x] Moderator Activity Logging - 10/18/2001 11:48 PM
there are three instances of it. wink
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 10/19/2001 12:16 AM
The file is intelligent .. modlog.cgi automatically detects if there's a name change and updates variables automatically to reflect it. However, I'm still pretty sure your cookies are at fault because I was able to access modlog.cgi fine after logging into the Control Panel.

qasic
Posted By: MrStormyNights Re: [6.1x] Moderator Activity Logging - 10/19/2001 12:58 AM
I just tried to move a thread and got the following below error? Can someone you tell me if I screwed somemthing up or is there something I need to change to get this to work. When I bring up the CP wiew/edit modlog it is blank after the following two lines. Thanks


ModLog for Ultimate Bulletin Board™ ©2001 Qasic of Qasic Productions, Inc.
Ported from ModLog for vBulletin™ ©2001 ~shabang~ of Overgrow


Error
An error has occured:


Can't obtain exclusive lock: Bad file descriptor at /home/wewfhfc/public_html/cgi-bin/efedrp/ubb_lib_files.cgi line 554.


Please inform the board administration of this error so that they may fix the problem. Thank you!


(Caller: public_common.pl:570 -> sub main::Tracer)
(Caller: Carp.pm:139 -> sub main::StandardHTML2)
(Caller: Carp.pm:82 -> sub UBBCGI::Carp::fatalsToBrowser)
(Caller: ubb_lib_files.cgi:554 -> sub UBBCGI::Carp: laugh ie)
(Caller: ubb_mod_log.cgi:36 -> sub main::lock)
(Caller: ubb_topic_maint.cgi:374 -> sub main::WriteLog)
(Caller: ultimatebb.cgi:812 -> sub main::transfer_topic)
Posted By: click Re: [6.1x] Moderator Activity Logging - 10/19/2001 2:04 AM
try chmod'ing noncgi/modlog directory to 777
with me, it solved the problem smile
can you please release this for 6.05?
Posted By: MrStormyNights Re: [6.1x] Moderator Activity Logging - 10/19/2001 7:36 AM
thanks click, that did the trick
Posted By: DJSharp Re: [6.1x] Moderator Activity Logging - 11/01/2001 6:09 AM
i think ive found a problem...i installed this hack & then when i tryed to close a topic i got this error message...

Error
An error has occured:

Can't obtain exclusive lock: Permission denied at /home/sites/www.djsharp.com/web/cgi-bin/ubb_lib_files.cgi line 565.

Please inform the board administration of this error so that they may fix the problem. Thank you!


i think the actual problem is somewhere in ubb_topic_maint.cgi - i took out the hack & then I was able to Close topics again with no problems. so it would be good if yall could check on this.
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 11/03/2001 2:18 AM
NonCGI/modlog directory probably not created or the permissions there are not 777.

qasic
Posted By: Sarvoth Talem Re: [6.1x] Moderator Activity Logging - 11/04/2001 9:17 AM
I get this error when i try to close a topic:

Quote
quote:
Help? frown
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 11/04/2001 11:33 PM
modlog.cgi was not uploaded.

qasic
Posted By: Sarvoth Talem Re: [6.1x] Moderator Activity Logging - 11/05/2001 7:38 PM
it is.. it has been
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 11/06/2001 5:14 AM
ubb_mod_log.cgi rather. Sorry, my bad.

qasic
Posted By: ssilenthill Re: [6.1x] Moderator Activity Logging - 11/17/2001 11:38 AM
hello there qasic.

i have installed this onto a fresh version 6.1.0.2
i chmodded the modlog folder to 777 wich stopped the Cant do this cause its locked error thing

and now when i try to view the modlog from the cp i get an internal server error wich gives me no clues on wich lines are effected.

the cp modlog worked before i changed the chmod on the folder.

when you have time please try to come up with an eplanation for this and possibly help me out

Thank you

[ 11-17-2001: Message edited by: ssilenthill ]
Posted By: Clarkies Re: [6.1x] Moderator Activity Logging - 11/18/2001 1:52 PM
Hi,

I have tried downloading this script using both Netscape 6.2 and Internet Explorer 6 and they just won't do it. I am pretty certain it is a problem with the browsers.

Can you email me a URL where I can download it normally?

Thanks
Posted By: Durango Re: [6.1x] Moderator Activity Logging - 11/19/2001 12:33 AM
I get the same thing as ssilenthill.

First I get the error when trying to move/close/delete topics, so i chmod the modlog folder to 777, but then going to modlog.cgi gives me an Internal Server error. I chmoded the modlog folder back to 666 and modlog.cgi loaded, but w/ no info on in (info on moved topics, etc.)

Using version 6.1.0.3

[ 11-18-2001: Message edited by: GTSDurango ]
Posted By: XRaVeNX Re: [6.1x] Moderator Activity Logging - 11/26/2001 12:31 AM
Quote
quote:
I am also confused about this part. What should I do? Where am I suppose to put it exactly?

Also, I'm having trouble making it work. I also get that weird error about no permissions when I close a topic. So, I set the modlog directory to chmod 777. works. Then, when I go to the CP and try and view the logs, it gives me errors.

I've read through this thread and is still confused as to how to fix the above problems.
Posted By: charkshark Re: [6.1x] Moderator Activity Logging - 11/28/2001 11:40 PM
Got this working fine once I chmod modlog to 777. For an enhancement, is there a way to have this also track when a moderator deletes a person's post and also save the deleted post somewhere? I'm getting reports from a couple of users that one of my moderators is deleting their posts and I was hoping someone had some programming that could help me police them.

Thanks,
Craig

www.fencing.net
Posted By: XRaVeNX Re: [6.1x] Moderator Activity Logging - 11/29/2001 2:43 AM
excellent idea... I would find that very useful as well

can anyone take a screen shot of their control panel main page AFTER they have installed this hack? Cuz after I installed the hack on mine, the main page is weird. The tables are all messed up
Posted By: Durango Re: [6.1x] Moderator Activity Logging - 11/29/2001 5:25 AM
XRaVeNX: I know what you're talking about. just skip over the last file hacking step:

Quote
quote:
btw, anybody fixed this yet?

[ 11-28-2001 09:26 PM: Message edited by: GTSDurango ]
Posted By: 1QuickSI Re: [6.1x] Moderator Activity Logging - 12/03/2001 12:00 AM
Ok I read through the threads and still can not firure out which "} #end if" to place the code after. The instructions need updating, please...
Posted By: Andrew Re: [6.1x] Moderator Activity Logging - 12/03/2001 12:38 AM
the End if on line 32

and it looks like this:

Code
code:
Posted By: Saxeus Re: [6.1x] Moderator Activity Logging - 12/07/2001 1:25 PM
An error has occured:

Can't call method "read" without a package or object reference at /usr/share/lib/perl5/File/Path.pm line 166.
That's what I got in cp.cgi when I cleared the cache after installing Mod logging hack. By the way, even when I open the View/Edit Moderator Logs I get HTTP 500 - Internal server error. Anything wrong that I did?
Posted By: darkm00n Re: [6.1x] Moderator Activity Logging - 12/09/2001 4:23 AM
hi again...

i have this hack installed.
how can i clear logs? it only shows old logs... i want the new ones!
The Link "clear all logs" doesn't work...
any clue?
Posted By: darkm00n Re: [6.1x] Moderator Activity Logging - 12/09/2001 4:27 AM
problem solved...
just deleted all files in noncgi/modlog/ directory...
Posted By: Morpheus Re: [6.1x] Moderator Activity Logging - 12/09/2001 12:07 PM
Durango, this should fix the problems you are having..

Code
code:

Put it under that } #end if and it should fix the tables messing up, I did the exact same thing. We put it under the wrong } #end if .

[ 12-09-2001 04:10 AM: Message edited by: Alix ]
Posted By: vir Re: [6.1x] Moderator Activity Logging - 12/12/2001 11:24 PM
quote:
Originally posted by ssilenthill:
hello there qasic.

i have installed this onto a fresh version 6.1.0.2
i chmodded the modlog folder to 777 wich stopped the Cant do this cause its locked error thing

and now when i try to view the modlog from the cp i get an internal server error wich gives me no clues on wich lines are effected.

the cp modlog worked before i changed the chmod on the folder.

when you have time please try to come up with an eplanation for this and possibly help me out

Thank you

[ 11-17-2001: Message edited by: ssilenthill ]



Same problem. Im using 6.1.0.3 though

[ 12-12-2001 03:29 PM: Message edited by: vir ]
Posted By: MD Re: [6.1x] Moderator Activity Logging - 12/16/2001 2:09 AM
Hi Qasic
and thanks for this hack !
I installed it and had the same probs most users here have. Then I reinstalled it AFTER I created the modlog directory. I used the LAST ENDIF 8which was written as "# end if") and it gave me no probs. But I could only see the log after changing teh directory to 777.
Since then everyzhing is working perfect on 6.1.0.3.

Just one minor problem I found: The date is incorrect. It shows me everything I did today (12-16th) with the date of 11-16th. I am using the modlog.cgi size 14020, from 09-17th 21:43

Since you wrote earlier that you fixed a month bug, maybe the same problem here ?
Thanks
MD
Posted By: Boubou Re: [6.1x] Moderator Activity Logging - 12/21/2001 2:48 PM
hi i have just one problem

The hack work fine and the administrator member #1 connect to CP and clic on Edit / View moderator log the hack work fine

But me im administrator user member # 836
When i clic ti see moderator log on CP i see white page

???
Posted By: Boubou Re: [6.1x] Moderator Activity Logging - 12/21/2001 3:05 PM
OK

i work

i clear my cookies and im log first in CP
the hack work

BUT you can make link to return in cp after load LOGMOD ??

Because i see the page with log but i cant return on my cp tipsy
Posted By: Splash Re: [6.1x] Moderator Activity Logging - 12/29/2001 8:36 PM
it works fine for admins... but if a moderator closes edti oder deletes a topic it wont be shown... only if an admin does this..... whats wrong? could anybody help?
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 12/30/2001 1:11 AM
Splash, most likely problem is ubb_topic_maint.cgi is hacked incorrectly.

qasic
Posted By: kamli Re: [6.1x] Moderator Activity Logging - 01/07/2002 5:02 AM
i just installed
Moderator Activity Logging v1.0b2

when i open my control panel i get a message current hack installed Moderator Activity Logging v1.0b2
and everything is installed properly and i'm getting no errors as well but when i click on View/Edit Moderator Logs from my control panel i get a blank page ......
i put the modlog folder in my root UBB directory(non cgi) and Chmod 666

can someone pls help .....

thanks
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 01/07/2002 6:46 AM
kamli,

For some reason, it's not reading the cookies properly Have you tried logging into your control panel and then going to modlog.cgi after. Note that you _have to_ log into your control panel before you reach modlog.cgi.

qasic
Posted By: kamli Re: [6.1x] Moderator Activity Logging - 01/07/2002 9:07 AM
Qasic i tried doing what you said a number of times but what i get is juat a blank page ....

everything is fine ....
well thats what i think as the moderator log option shows up in the cp.cgi but .....

could i do something else .....
i am posting the code for cp_entry.pl

# CP Entry Page

&CheckAccel;

&TBT;

&HeaderRow(qq%Ultimate Bulletin Board$trademark $version Control Panel%, "2", "#5d7790", "#FFFFFF", "left", "2");

my ($m, $d, $y, $w) = &jdate($release_j);
my ($n, $e, $z, $x) = &jdate($vars_config{Cookie_Number});
my $releasedate = &DateFormat("$m-$d-$y");
my $configudate = &DateFormat("$n-$e-$z");
my $daysdiff = int($GotTime{LastLoginJulian} - $vars_config{Cookie_Number});

my $old_pageview_string = qq!Page views this month ($GotTime{mon}/$GotTime{JSYear}): $monthly_hits
!;
my $pageview_string = "!!";
my $total_hits;
if($monthly_hits > 0) { # old hit counter format
if(($cache_hits > 0) && ($dynamic_hits > 0)) {
$total_hits = $cache_hits + $dynamic_hits;
my $perc_dynamic = sprintf("%2.3f", $dynamic_hits / $total_hits);
my $perc_cache = 100 * sprintf("%.4f", $cache_hits / $total_hits);
$pageview_string = <Page views this month ($GotTime{mon}/$GotTime{JSYear}): $total_hits, $cache_hits ($perc_cache%) from the UBB Accelerator

(Note: It looks like you upgraded this month. Prior to the upgrade, you had received $monthly_hits page views. ;

&TBT; #Table Border Top in cp_common.pl

&HeaderRow(qq%Current Status of: $vars_config{BBName}%, "2", "#5d7790", "#FFFFFF", "left", "2");

&HeaderRow(qq%You have $member_count registered members.

You have $forum_total forums.

$pageview_string
Your message board is $bb_status. $toggle_link
%, "2", "#FFFFFF", "#000000", "left", "2"
, "1");

&TBB; #Table Border Bottom in cp_common.pl
Posted By: ADWOFF Re: [6.1x] Moderator Activity Logging - 01/07/2002 10:47 AM
I have found out that I desperately need this hack so that I can keep track of my moderators.
I went through the different steps--and when I go to see if works, I get this message:

quote:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.



I'm also not sure if I am seeing the page correctly set up ...

It looks like this:

quote:
Moderator Logs REFRESH - CLEAR ALL LOGS - Max


And then there are the CP pulldown menus and then this

quote:
ModLog for Ultimate Bulletin Board™ ©2001 Qasic of Qasic Productions, Inc.
Ported from ModLog for vBulletin™ ©2001 ~shabang~ of Overgrow




I'm using UBB 6.1.0.3 ... I had to chmod the modlog file to 777 because the 666 brought up an error from the ubb_lib_files.cgi

Do I need to rebuild stats or something?

Anyone? LOL

Thanks.
Posted By: ADWOFF Re: [6.1x] Moderator Activity Logging - 01/07/2002 10:49 AM
Oh, I should also mention that when I do this:

Hit Members -> View/Edit Moderator Logs


I don't get any prompts.
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 01/07/2002 7:10 PM
Man, I'm getting lots of reports of that problem. I'm going to implement some debugging code into modlog.cgi to see if it's going to help solve the problem. Meanwhile, ADWOff, e-mail me your FTP and UBB login/password/URL so I can attempt to track down the bug. Thanks!

qasic
Posted By: pablo Re: [6.1x] Moderator Activity Logging - 01/07/2002 7:14 PM
nice hack btw. kepp up the good work

[ 01-07-2002 11:15 AM: Message edited by: pablo ]
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 01/08/2002 7:10 AM
I've developed a ModLog that now has tons of error checking. ADWOFF now has a copy of it in her e-mail box so I'll let her test it out before it's released to Qasic.NET.

Thanks to all for being patient.

qasic
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 01/08/2002 8:01 AM
The new version is avaiable on Qasic.NET. To upgrade from pb2 to pb3, just re-upload ubb_mod_log.cgi and modlog.cgi file to the UBB CGI directory.

However, make sure that the first line inside modlog.cgi refers to the correct path for Perl on your server.

LMK if any of you have any problems.

qasic

[ 01-08-2002 12:05 AM: Message edited by: qasic ]
Posted By: kamli Re: [6.1x] Moderator Activity Logging - 01/08/2002 11:54 AM
good job Qasic everything is working perfectly fine now .i just upped the files u said and set the permissions and its up and running....

thanks a lot for the help ......

cheers
Posted By: Rainner Re: [6.1x] Moderator Activity Logging - 01/09/2002 8:10 PM
Great hack qasic!!!. Went in easy and works great 6.1.0.3

Rainner
Posted By: pamela Re: [6.1x] Moderator Activity Logging - 04/12/2002 7:36 AM
Hi, I'm having some problems with this hack.

My modlog.cgi page looks the way that ADWOFF described hers, and when I try to close a thread (I haven't tried moving or deleting), I get a screen that just says
quote:
FYI
modlog_2

» Please use your browser's back button to return.

I don't get any other sort of error message, and the error logs on my server don't show anything, so I have no idea what the problem may be.

I'm running UBB version 6.2.1 and I downloaded and installed version 1.0b3 of Mod Log. I've set /noncgi/modlog to 777.

Hope you can help. Thanks.
Posted By: qasic Re: [6.1x] Moderator Activity Logging - 04/13/2002 9:08 PM
This looks to be a culprit of incorrect hacking. Are you sure you hacked the files correctly? Thanks.

qasic
Posted By: pamela Re: [6.1x] Moderator Activity Logging - 06/01/2002 5:28 PM
qasic-

Sorry it's taken me so long to respond, but I didn't get around to re-checking the mod until now. I double-checked the hacks and they were all done correctly. But for some reason I had the permissions of the modlog directory set to 755. Changed them to 777 and everything's working now.

Thanks!
Posted By: Serafemme Re: [6.1x] Moderator Activity Logging - 09/10/2002 1:47 AM
help

i installed this hack (and i'm pretty sure it was correctly).. but i kept getting this message:

Quote
quote:

Unable to Verify Administrator Status
=====================================
username (serafemme) => NOT Match
password (*********) => Match
status match (Administrator) => Match
verify administrator status? => Verified
so uhm.. what am i/it doing wrong? confused
Posted By: ZeNissart Re: [6.1x] Moderator Activity Logging - 05/21/2004 11:28 AM
Is there's a way to make this hack working on 6.5 ?
© UBB.Developers