Previous Thread
Next Thread
Print Thread
Rate Thread
#127973 11/30/2001 7:07 AM
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
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 frown
Sponsored Links
#127974 11/30/2001 8:25 PM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Few people have been interested. Post it in the V5 Mods forum.

#127975 12/01/2001 8:43 AM
Joined: Aug 2000
Posts: 569
Member
Member
Offline
Joined: Aug 2000
Posts: 569
Sure I''l swipe it
I got one running now but I dunno if I did it right..

Thanks

#127976 12/01/2001 7:48 PM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
I tried getting to your site Metal but it seems to be down.

#127977 12/02/2001 12:39 AM
Joined: Aug 2000
Posts: 569
Member
Member
Offline
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.

Sponsored Links
#127978 12/02/2001 3:31 AM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Have any idea when it will be back up?

#127979 12/02/2001 12:09 PM
Joined: Aug 2000
Posts: 569
Member
Member
Offline
Joined: Aug 2000
Posts: 569
Dunno , the office is closed for the weekend and the last time this happened the site was wiped out

#127980 12/03/2001 12:50 AM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
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.

#127981 12/03/2001 4:09 AM
Joined: Aug 2000
Posts: 569
Member
Member
Offline
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

#127982 12/03/2001 6:10 PM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Well thats great!

Sponsored Links
#127983 12/06/2001 3:03 PM
Joined: Sep 2001
Posts: 194
svr Offline
Member
Member
Offline
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!

#127984 12/06/2001 5:20 PM
Joined: Oct 2000
Posts: 743
Moderator / Code Fixer
Moderator / Code Fixer
Offline
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 frown
#127985 12/07/2001 2:22 AM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
I know what it does. Can you please post the code?

#127986 12/07/2001 8:55 PM
Joined: Sep 2001
Posts: 194
svr Offline
Member
Member
Offline
Joined: Sep 2001
Posts: 194
Yeah post the code in the v.5 mods Bassteq
Thanks.

#127987 12/07/2001 9:04 PM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Also, what versions will it work on?

#127988 12/08/2001 5:39 AM
Joined: Aug 2000
Posts: 569
Member
Member
Offline
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

#127989 12/08/2001 6:16 PM
Joined: Aug 2000
Posts: 569
Member
Member
Offline
Joined: Aug 2000
Posts: 569
oh yeah do the same in ultimate.cgi

#127990 12/08/2001 6:24 PM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Do we need the login hack installed for this to work?

#127991 12/08/2001 6:29 PM
Joined: Aug 2000
Posts: 569
Member
Member
Offline
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

#127992 12/08/2001 6:59 PM
Joined: Sep 2001
Posts: 194
svr Offline
Member
Member
Offline
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?

#127993 12/08/2001 6:59 PM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Ok thanks for the code. I'll test it now.

#127994 12/08/2001 7:11 PM
Joined: Aug 2000
Posts: 569
Member
Member
Offline
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.

#127995 12/08/2001 11:29 PM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
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.

#127996 12/09/2001 6:02 AM
Joined: Aug 2000
Posts: 569
Member
Member
Offline
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 ?

#127997 12/10/2001 12:52 AM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Yeah thats a great idea. I reccomend you do it. Just doc the code.

#127998 12/10/2001 4:52 AM
Joined: Aug 2000
Posts: 569
Member
Member
Offline
Joined: Aug 2000
Posts: 569
Done http://www.Metallifukinca.com/HelloUsername.txt
Enjoy smile

[ 12-10-2001 03:57 AM: Message edited by: Metallifukinca.com ]


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
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
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
Morgan 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)