Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
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:

[Linked Image]

[Linked Image]

As always, bug reports and feedback greatly apprecited!

Sponsored Links
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Great mod smile

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
Offline
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
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Did you create /noncgi/modlog directory?

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
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

Sponsored Links
Joined: Apr 2001
Posts: 235
Member
Member
Offline
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
Offline
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:

Code
code:

and replace with:

Code
code:


qasic

[ August 26, 2001: Message edited by: qasic ]

Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
nice job q. smile
I'll install this when i get back.

Joined: Apr 2001
Posts: 235
Member
Member
Offline
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 smile


- Allen wavey
- What Drives You?
Sponsored Links
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
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
Offline
Joined: Jan 2001
Posts: 1,940
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

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
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
Offline
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
Offline
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
Offline
Joined: Aug 2001
Posts: 18
Great hack qasic! I've been waiting for something like this. smile

Joined: Jun 2001
Posts: 11
Junior Member
Junior Member
Offline
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
Offline
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
Offline
Joined: Jun 2001
Posts: 11
Quote
quote:
yeah, it has been a week, and I still can't get it...! grr!

Joined: May 2001
Posts: 88
Member
Member
Offline
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...

Quote
quote:

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
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
Offline
Joined: May 2001
Posts: 88
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

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
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 smile

qasic

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
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
Offline
Joined: Sep 2001
Posts: 239
Very useful hack, good job qasic! smile tipsy

Joined: Jul 2001
Posts: 122
Member
Member
Offline
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
Offline
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 smile 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
Offline
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
Offline
Joined: May 2001
Posts: 175
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 ]

Joined: May 2001
Posts: 175
Member
Member
Offline
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
Offline
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
Offline
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
Offline
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
Offline
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
Offline
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
Offline
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
Offline
Joined: May 2001
Posts: 175
check your mail wink

Joined: Oct 2001
Posts: 572
Member
Member
Offline
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
Offline
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
Offline
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.

Joined: Jul 2001
Posts: 272
Member
Member
Offline
Joined: Jul 2001
Posts: 272
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?

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
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

Joined: May 2001
Posts: 175
Member
Member
Offline
Joined: May 2001
Posts: 175
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

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
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

Joined: Oct 2001
Posts: 572
Member
Member
Offline
Joined: Oct 2001
Posts: 572
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.

Joined: May 2001
Posts: 175
Member
Member
Offline
Joined: May 2001
Posts: 175
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

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
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 .

Joined: May 2001
Posts: 175
Member
Member
Offline
Joined: May 2001
Posts: 175
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

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
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 ]

Joined: Jul 2001
Posts: 272
Member
Member
Offline
Joined: Jul 2001
Posts: 272
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:

Joined: Oct 2001
Posts: 572
Member
Member
Offline
Joined: Oct 2001
Posts: 572
there are three instances of it. wink

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
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

Joined: Sep 2001
Posts: 170
Member
Member
Offline
Joined: Sep 2001
Posts: 170
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)

Joined: May 2001
Posts: 175
Member
Member
Offline
Joined: May 2001
Posts: 175
try chmod'ing noncgi/modlog directory to 777
with me, it solved the problem smile

Joined: Feb 2001
Posts: 73
Member
Member
Offline
Joined: Feb 2001
Posts: 73
can you please release this for 6.05?

Joined: Sep 2001
Posts: 170
Member
Member
Offline
Joined: Sep 2001
Posts: 170
thanks click, that did the trick

Joined: Nov 2000
Posts: 166
Member
Member
Offline
Joined: Nov 2000
Posts: 166
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.

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
NonCGI/modlog directory probably not created or the permissions there are not 777.

qasic

Joined: Apr 2001
Posts: 17
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 17
I get this error when i try to close a topic:

Quote
quote:
Help? frown

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
modlog.cgi was not uploaded.

qasic

Joined: Apr 2001
Posts: 17
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 17
it is.. it has been

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
ubb_mod_log.cgi rather. Sorry, my bad.

qasic

Joined: Nov 2001
Posts: 33
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 33
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 ]

Joined: Jan 2001
Posts: 25
Junior Member
Junior Member
Offline
Joined: Jan 2001
Posts: 25
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

Joined: Aug 2001
Posts: 155
Member
Member
Offline
Joined: Aug 2001
Posts: 155
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 ]


I'm not really back. I went away again.
Joined: Oct 2001
Posts: 34
Member
Member
Offline
Joined: Oct 2001
Posts: 34
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.

Joined: Jul 2001
Posts: 2
Junior Member
Junior Member
Offline
Joined: Jul 2001
Posts: 2
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

Joined: Oct 2001
Posts: 34
Member
Member
Offline
Joined: Oct 2001
Posts: 34
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

Joined: Aug 2001
Posts: 155
Member
Member
Offline
Joined: Aug 2001
Posts: 155
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 ]


I'm not really back. I went away again.
Joined: Jun 2001
Posts: 729
Coder
Coder
Offline
Joined: Jun 2001
Posts: 729
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...

Joined: Mar 2000
Posts: 51
Member
Member
Offline
Joined: Mar 2000
Posts: 51
the End if on line 32

and it looks like this:

Code
code:

Joined: Apr 2001
Posts: 103
Member
Member
Offline
Joined: Apr 2001
Posts: 103
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?


Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats.
Joined: May 2001
Posts: 24
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 24
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?

Joined: May 2001
Posts: 24
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 24
problem solved...
just deleted all files in noncgi/modlog/ directory...

Joined: Aug 2001
Posts: 71
Member
Member
Offline
Joined: Aug 2001
Posts: 71
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 ]

Joined: Sep 2001
Posts: 58
vir Offline
Member
Member
Offline
Joined: Sep 2001
Posts: 58
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 ]

Joined: May 2001
Posts: 15
MD Offline
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 15
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

Joined: Oct 2001
Posts: 85
Member
Member
Offline
Joined: Oct 2001
Posts: 85
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

???

Joined: Oct 2001
Posts: 85
Member
Member
Offline
Joined: Oct 2001
Posts: 85
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

Joined: Sep 2001
Posts: 17
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 17
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?

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Splash, most likely problem is ubb_topic_maint.cgi is hacked incorrectly.

qasic

Joined: Nov 2001
Posts: 37
Member
Member
Offline
Joined: Nov 2001
Posts: 37
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

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
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

Joined: Nov 2001
Posts: 37
Member
Member
Offline
Joined: Nov 2001
Posts: 37
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

Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
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.


Sue
adwoff.com
Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
Oh, I should also mention that when I do this:

Hit Members -> View/Edit Moderator Logs


I don't get any prompts.


Sue
adwoff.com
Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
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

Joined: Feb 2001
Posts: 105
Member
Member
Offline
Joined: Feb 2001
Posts: 105
nice hack btw. kepp up the good work

[ 01-07-2002 11:15 AM: Message edited by: pablo ]

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
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

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
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 ]

Joined: Nov 2001
Posts: 37
Member
Member
Offline
Joined: Nov 2001
Posts: 37
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

Joined: Oct 2001
Posts: 199
Member
Member
Offline
Joined: Oct 2001
Posts: 199
Great hack qasic!!!. Went in easy and works great 6.1.0.3

Rainner

Joined: Mar 2002
Posts: 10
Junior Member
Junior Member
Offline
Joined: Mar 2002
Posts: 10
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.

Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
This looks to be a culprit of incorrect hacking. Are you sure you hacked the files correctly? Thanks.

qasic

Joined: Mar 2002
Posts: 10
Junior Member
Junior Member
Offline
Joined: Mar 2002
Posts: 10
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!

Joined: Aug 2001
Posts: 1
Junior Member
Junior Member
Offline
Joined: Aug 2001
Posts: 1
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

Joined: Apr 2001
Posts: 142
Member
Member
Offline
Joined: Apr 2001
Posts: 142
Is there's a way to make this hack working on 6.5 ?

Page 1 of 3 1 2 3

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
hatter
hatter
USA
Posts: 69
Joined: January 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)