php forum
php mysql forum
php mysql smarty
 
Topic Options
#38089 - 09/12/00 11:53 AM Private Forum Access Log
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
If you need to log those who access your private forums that aren't moderators or admins, then this is the mod for you:
http://www.ubbdev.com/db/cgi/ubbcount.cg...e=&number=3

------------------
Allen

- http://www.stand318.com
_________________________
- Allen wavey
- What Drives You?

Top
#38090 - 09/13/00 03:45 AM Re: Private Forum Access Log
J.C. Offline
Addict

Registered: 08/11/00
Posts: 1551
Allen,

I tried it. In 5.45c, I get a 500 error..

------------------
_________________________
- Custom Web Development
http://www.JCSWebDev.com

Top
#38091 - 09/14/00 01:42 AM Re: Private Forum Access Log
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
that's odd, you only add that one piece of code... didya copy over something?

------------------
Allen

- http://www.stand318.com
_________________________
- Allen wavey
- What Drives You?

Top
#38092 - 09/14/00 12:47 PM Re: Private Forum Access Log
J.C. Offline
Addict

Registered: 08/11/00
Posts: 1551
I put it in between to lines as instructed. Well the line you mentioned, and before the next line. Nothing overwritten I could see.

Tried 5 times...

------------------
_________________________
- Custom Web Development
http://www.JCSWebDev.com

Top
#38093 - 09/15/00 03:41 AM Re: Private Forum Access Log
Yamaha Raptor Offline
Member

Registered: 07/24/00
Posts: 891
Loc: medway me
AllenAyres
i get the same thing with this mod to this is the errors i got when useing it maybe it will help you out on it


Code:
code:



------------------
William Montgomery

<font size=1>[This message has been edited by ClanKiller (edited September 15, 2000).]</font>

Top
#38094 - 09/15/00 02:09 PM Re: Private Forum Access Log
Greg Hard Offline
Member

Registered: 02/21/00
Posts: 5533
Loc: My Room
Thats caused by double pipes.
Find the double pipes in the code you added, and remove the space between them.

------------------
UBBDEV Moderator
Read my BIO , Updated Every Month!

Top
#38095 - 09/15/00 06:20 PM Re: Private Forum Access Log
Yamaha Raptor Offline
Member

Registered: 07/24/00
Posts: 891
Loc: medway me
well this mod it self needs fixing cuz it is how it came. i just wanted to let AllenAyres see what was makeing it say 500 error...
and that is what it told me
thanks man

------------------
William Montgomery

Top
#38096 - 09/15/00 06:31 PM Re: Private Forum Access Log
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
I will fix the download, thanks for spotting it for me...

------------------
Allen

- http://www.stand318.com
_________________________
- Allen wavey
- What Drives You?

Top
#38097 - 09/15/00 06:37 PM Re: Private Forum Access Log
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
done.. again, I apologize for the missed spaces... it should work fine now...

------------------
Allen

- http://www.stand318.com
_________________________
- Allen wavey
- What Drives You?

Top
#38098 - 09/15/00 06:38 PM Re: Private Forum Access Log
J.C. Offline
Addict

Registered: 08/11/00
Posts: 1551
Seems to work for me, I removed the space in between the pipes. Logged in a non mod or admin and it worked. It updated the file accordingly.
_________________________
- Custom Web Development
http://www.JCSWebDev.com

Top
#38099 - 09/15/00 06:38 PM Re: Private Forum Access Log
Yamaha Raptor Offline
Member

Registered: 07/24/00
Posts: 891
Loc: medway me
you are welcome.
i was wondering if you was going to ever see this post.


------------------
William Montgomery

Top
#38100 - 09/15/00 06:46 PM Re: Private Forum Access Log
J.C. Offline
Addict

Registered: 08/11/00
Posts: 1551
Big problem, the txt file is readable by browser line..NOT GOOD!

I changed it to write to a .cgi file. I uploaded a blank one coded to 0666.

Here are the changes I made, so far so good.

Code:
code:



Let me know if any more errors are found. I tested it by trying to read it thru the browser line in IE 5.5

<font size=1>[This message has been edited by C_P (edited September 15, 2000).]</font>
_________________________
- Custom Web Development
http://www.JCSWebDev.com

Top
#38101 - 10/27/00 05:57 AM Re: Private Forum Access Log
hoserama Offline
Junior Member

Registered: 07/10/00
Posts: 3
I am using it on 5.46 with no problems.

I got a question though about this following code:

##Russ IP Log
if (($Status eq "Administrator") &#0124;&#0124; ($ModMatch eq "yes") &#0124;&#0124; ($Status eq "Moderator")) {
&GrantAccess;
} else {
&GetDateTime;
my $IPNumber = $ENV{'REMOTE_ADDR'};
my $hostname = $ENV{'REMOTE_HOST'};
&Lock ("lock.file");
open (LIST, ">>$MembersPath/ippriv.txt");
print LIST "$UserName, $IPNumber, $hostname, $HyphenDate $Timen";
close (LIST);
&Unlock ("lock.file");
chmod (0666, "$MembersPath/ippriv.txt");
&GrantAccess;
}
## end ip log


It defaults to have it saved in the Members directory. How would i go about having it saved elsewhere on the domain?

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks