|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
Ive made a small hack that will add the --> Hello, username [logout] * same as on the version 6 ubb If you like have a look at it on my site , click on any forum and it will be on the top left side of teh screen. If anyone wants to know how to do it, let me know and ill post the code.
I can't afford a good signature editor
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Few people have been interested. Post it in the V5 Mods forum.
|
|
|
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
Sure I''l swipe it I got one running now but I dunno if I did it right.. Thanks
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
I tried getting to your site Metal but it seems to be down.
|
|
|
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
yeah I know, its been down since Friday night. I have no clue why.. I guess, all of us clients are a little pissed right now.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Have any idea when it will be back up?
|
|
|
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
Dunno , the office is closed for the weekend and the last time this happened the site was wiped out
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Lets hope that doesn't happen. I just wanna see the version you have of this on your forum.
|
|
|
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
Well my hosting called me today and told me what was up... Their currently changing servers and should be back up any day. All will be restored
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Well thats great!
|
|
|
|
Joined: Sep 2001
Posts: 194
Member
|
Member
Joined: Sep 2001
Posts: 194 |
Hi I am trying to install this LOGOUT hack on 5.47e ubb. However, it does not seem to work with the PM hack. That is, say if a user logs in and then checks out his messages (PM), then I want a URL that'll say "LOGOUT" in the PM window, and that should clear the cookies etc. so that nobody else is able to view the messages (should the user leave the pc online).
Which hack are you talking about BassTEQ ? I'd really like this logout hack to work with the PM hack. Any tips would be appreciated a lot.
Thanks in adv!
|
|
|
|
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
|
Moderator / Code Fixer
Joined: Oct 2000
Posts: 743 |
Ok, have a look on my site, link in the first post. See in the top right corner where all the options are it says either Login or Logout. If you're new then it will say login, Click it and you'll see what the hack does. Then what I have done is create something similar to UBB v6 Series, and when u click a forum you'll see your username with an option to logout.
I can't afford a good signature editor
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
I know what it does. Can you please post the code?
|
|
|
|
Joined: Sep 2001
Posts: 194
Member
|
Member
Joined: Sep 2001
Posts: 194 |
Yeah post the code in the v.5 mods Bassteq Thanks.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Also, what versions will it work on?
|
|
|
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
This is what I did: First I installed, Dave Downin login hack. http://www.arlo.net/ubb/hacks/login-install.txt in forumdisplay.cgi find: -------------------------------------------------- sub TopicTopHTML { -------------------------------------------------- Step #1 add under: -------------------------------------------------- &get_cookie; if ($cookie{UserName}) { $LoginText = qq( $cookie{'UserName'} [ logout ] I only added it to the forumdisplay, and active.cgi right now. But all you have to do is add step #1 somewhere in your code, adding step #2 is easy
|
|
|
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
oh yeah do the same in ultimate.cgi
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Do we need the login hack installed for this to work?
|
|
|
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
Yes if you want the [login] to work. If you just want the menubar remove the Step #1 and $logintext from step #2
|
|
|
|
Joined: Sep 2001
Posts: 194
Member
|
Member
Joined: Sep 2001
Posts: 194 |
I already installed the hack from ARLO.net previously but it does not work with PM hack. That is, if you are logged in and checked your PM, and then press LOGOUT using the hack, then one can still log in upon returning to the board w/o entering password.... so I don't even know if the hack from ARLO.net is working correctly or not.
Any suggestions?
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Ok thanks for the code. I'll test it now.
|
|
|
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
svr, if people are cookied it will not log 'em out. I use this hack for design But, when I delete my cookies the login and out works great.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Yes I know of that problem with the Login/Logout hack. It's a pitty it doesn't work unless cookies are disabled.
|
|
|
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
thats ok, it works great for peepers and non-cookied members. Plus it adds some spice to your site Ya think I sure write it up, so people can add the hack to their sites ?
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Yeah thats a great idea. I reccomend you do it. Just doc the code.
|
|
|
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: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|