|
Joined: Sep 2001
Posts: 194
Member
|
Member
Joined: Sep 2001
Posts: 194 |
Hello is there any hack out there that'll work with cookies on, and will logout users for 5.47e ubb? Thanks in advance!
|
|
|
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
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
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
There isn't one. It will only work if Cookies are disabled.
|
|
|
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
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
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
quote: 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!
Yeah I know. Sorry I didn't specify what didn't work.
|
|
|
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
quote: 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!
Do tell...
|
|
|
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
ugh I need to learn how to read heheheh, ok what if people don't logout ?
|
|
|
|
Joined: Sep 2001
Posts: 194
Member
|
Member
Joined: Sep 2001
Posts: 194 |
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.
|
|
|
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
Yep, Ill post the code when I get home tonight for you!
I can't afford a good signature editor
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Yes, I would like the code too.
|
|
|
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
me three
|
|
|
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
Here is my IF statement that Ive modified if ($cookie{UserName}) { $LoginText = qq(Hello, $cookie{UserName} [ Logout ]); } else { $LoginText = qq(You are not logged in. Login or Register ; }
I can't afford a good signature editor
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Great. Thanks for the code BassTeQ.
|
|
|
|
Joined: Sep 2001
Posts: 194
Member
|
Member
Joined: Sep 2001
Posts: 194 |
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!
|
|
|
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
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
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Thanks for that too.
|
|
|
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
I can't afford a good signature editor
|
|
|
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
Thanks dude, works great Now all I have to do is figure out how to add the Hello, login boxes to all the pages
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Just put a "Hello" in front of the Username variable so it would display like this. "Hello, (username) [Logout]
|
|
|
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
lol, thanks lord but I meant it is on 6.0 series. In all the scripts..
|
|
|
|
Joined: Sep 2001
Posts: 194
Member
|
Member
Joined: Sep 2001
Posts: 194 |
Hi Bassteq, as always a great hack IT seems to be working great. Thanks man! Regards,
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Yeah it works fine on mine too.
|
|
|
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
Thanks Bassteq, works for me three I dunno why I don't upgrade..
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Upgrade to what version?
|
|
|
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
6.0 beta I think, my licence run out before 6.1 came out. I'll renew licence when I see something better than 5.47e come out.
|
|
|
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.
|
|
Posts: 69
Joined: January 2001
|
|
Forums63
Topics37,575
Posts293,927
Members13,822
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|