php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#128040 - 12/10/01 10:47 AM Any logout hack that'll work with cookies for 5.47e?
svr Offline
Member

Registered: 09/28/01
Posts: 189
Hello is there any hack out there that'll work with cookies on, and will logout users for 5.47e ubb? Thanks in advance!

Top
#128041 - 12/10/01 03:49 PM Re: Any logout hack that'll work with cookies for 5.47e?
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
I use the good old login/logout hack, but ive changed the logout code to wipe out all cookies and it works just fine. The link should link to
http://www.domain.com/cgi/ubbmisc.cgi?action=clearcookies

This does the trick for my purposes!
_________________________
I can't afford a good signature editor frown

Top
#128042 - 12/10/01 11:39 PM Re: Any logout hack that'll work with cookies for 5.47e?
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
There isn't one. It will only work if Cookies are disabled.

Top
#128043 - 12/10/01 11:54 PM Re: Any logout hack that'll work with cookies for 5.47e?
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
No, it will still log you in, but the logout finction doesnt work, so I modded it as described in my above post. Works nicely!
_________________________
I can't afford a good signature editor frown

Top
#128044 - 12/11/01 12:08 AM Re: Any logout hack that'll work with cookies for 5.47e?
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by BassTeQ:
No, it will still log you in, but the logout finction doesnt work, so I modded it as described in my above post. Works nicely!</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">

Yeah I know. Sorry I didn't specify what didn't work.

Top
#128045 - 12/11/01 03:06 AM Re: Any logout hack that'll work with cookies for 5.47e?
Metallifukinca Offline
Member

Registered: 08/21/00
Posts: 620
Loc: Toronto, Ont
</font><blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr /><font size="2" face="Verdana, Helvetica, sans-serif">Originally posted by BassTeQ:
No, it will still log you in, but the logout finction doesnt work, so I modded it as described in my above post. Works nicely!</font><hr /></blockquote><font size="2" face="Verdana, Helvetica, sans-serif">

Do tell...

Top
#128046 - 12/11/01 03:27 AM Re: Any logout hack that'll work with cookies for 5.47e?
Metallifukinca Offline
Member

Registered: 08/21/00
Posts: 620
Loc: Toronto, Ont
ugh I need to learn how to read heheheh, ok what if people don't logout ?

Top
#128047 - 12/11/01 10:42 AM Re: Any logout hack that'll work with cookies for 5.47e?
svr Offline
Member

Registered: 09/28/01
Posts: 189
Hi BassTeq, can you please post the modified code to enable the logout for cookies please? That is pretty much what I need. Thanks as usual.

Top
#128048 - 12/11/01 04:20 PM Re: Any logout hack that'll work with cookies for 5.47e?
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Yep, Ill post the code when I get home tonight for you!
_________________________
I can't afford a good signature editor frown

Top
#128049 - 12/11/01 07:07 PM Re: Any logout hack that'll work with cookies for 5.47e?
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Yes, I would like the code too. <img src="smile.gif" border="0" alt="" />

Top
#128050 - 12/12/01 03:17 AM Re: Any logout hack that'll work with cookies for 5.47e?
Metallifukinca Offline
Member

Registered: 08/21/00
Posts: 620
Loc: Toronto, Ont
me three <img src="smile.gif" border="0" alt="" />

Top
#128051 - 12/12/01 03:59 PM Re: Any logout hack that'll work with cookies for 5.47e?
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Here is my IF statement that Ive modified

if ($cookie{UserName}) {
$LoginText = qq(Hello, $cookie{UserName} [ <A HREF="$CGIURL/ubbmisc.cgi?action=clearcookies">Logout</A> ]);
} else {
$LoginText = qq(You are not logged in. <A HREF="$CGIURL/login.cgi">Login</A> or <A HREF="http://www.domain.com/html/body_join_us_now.shtml">Register</A&gt <img src="wink.gif" border="0" alt="" /> ;
}
_________________________
I can't afford a good signature editor frown

Top
#128052 - 12/12/01 06:01 PM Re: Any logout hack that'll work with cookies for 5.47e?
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Great. Thanks for the code BassTeQ.

Top
#128053 - 12/13/01 01:35 AM Re: Any logout hack that'll work with cookies for 5.47e?
svr Offline
Member

Registered: 09/28/01
Posts: 189
Hi Bassteq thx for posting the code. Is this the only mod need to Arlo's login/logout hack to makeit work with cookied users??

Thx!

Top
#128054 - 12/13/01 04:15 PM Re: Any logout hack that'll work with cookies for 5.47e?
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
No probs guys, yeah thats the only mod you need to do. If you want the hack to grab the users cookied username value you will need to put
[code][/code]
before you use that code.
Note, there should be no space between the 'get' and 'cookie' The board wont let me post if there is no space in there.
_________________________
I can't afford a good signature editor frown

Top
#128055 - 12/13/01 05:25 PM Re: Any logout hack that'll work with cookies for 5.47e?
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Thanks for that too. <img src="smile.gif" border="0" alt="" />

Top
#128056 - 12/13/01 06:28 PM Re: Any logout hack that'll work with cookies for 5.47e?
BassTeQ Offline
Moderator / Code Fixer

Registered: 10/14/00
Posts: 891
Loc: Australia
Nps mate!
_________________________
I can't afford a good signature editor frown

Top
#128057 - 12/14/01 08:10 AM Re: Any logout hack that'll work with cookies for 5.47e?
Metallifukinca Offline
Member

Registered: 08/21/00
Posts: 620
Loc: Toronto, Ont
Thanks dude, works great <img src="smile.gif" border="0" alt="" />
Now all I have to do is figure out how to add the Hello, login boxes to all the pages

Top
#128058 - 12/14/01 06:10 PM Re: Any logout hack that'll work with cookies for 5.47e?
Lord Dexter Offline
Member

Registered: 05/25/01
Posts: 6503
Loc: Melbourne, Australia
Just put a "Hello" in front of the Username variable so it would display like this. "Hello, (username) [Logout]

Top
#128059 - 12/15/01 12:58 AM Re: Any logout hack that'll work with cookies for 5.47e?
Metallifukinca Offline
Member

Registered: 08/21/00
Posts: 620
Loc: Toronto, Ont
lol, thanks lord but I meant it is on 6.0 series.
In all the scripts..

Top
Page 1 of 2 1 2 >



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