Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
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?

Sponsored Links
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.

Sponsored Links
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:

Sponsored Links
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?

Page 2 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
isaac
isaac
California
Posts: 1,157
Joined: July 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
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)