|
#74008
07/12/2001 11:00 AM
|
Joined: Aug 2000
Posts: 299
Member
|
Member
Joined: Aug 2000
Posts: 299 |
Anybody know where the code is located where UBB check for who is login or not?
|
|
|
#74009
07/12/2001 1:06 PM
|
Joined: Aug 2000
Posts: 874
Moderator / Developer
|
Moderator / Developer
Joined: Aug 2000
Posts: 874 |
you mean where it grabs your cookie?
|
|
|
#74010
07/12/2001 1:21 PM
|
Joined: Aug 2000
Posts: 299
Member
|
Member
Joined: Aug 2000
Posts: 299 |
Hmmm I think so. I want to hack UBB a little so that when user access any part of my site not just the UBB they can register if they are a new member is they are returning member they username should appear on the top of the header.
|
|
|
#74011
07/12/2001 1:46 PM
|
Joined: Mar 2000
Posts: 3,594
Moderator / Template Diva
|
Moderator / Template Diva
Joined: Mar 2000
Posts: 3,594 |
I'm not sure how to do it as a standalone thing... But if you're using my Compact Headers templates, you can also use my UBB Headesr & Footers via SSI hack. It brings the register/login info from UBB onto any SSI-enabled page. You do have to be using Compact Headers, though, because the login info is not part of the variable the SSI calls in a normal installation. You can see my homepage, http://www.se7enet.com/index.shtml , for an example... ---Skorpion
Don't put that signature in your mouth! You don't know where it's been!
|
|
|
#74012
07/12/2001 1:50 PM
|
Joined: Aug 2000
Posts: 299
Member
|
Member
Joined: Aug 2000
Posts: 299 |
Thanks Skorpion. Does that mean that they don't have to be in the board and still see they are login?
|
|
|
#74013
07/12/2001 1:56 PM
|
Joined: Mar 2000
Posts: 3,594
Moderator / Template Diva
|
Moderator / Template Diva
Joined: Mar 2000
Posts: 3,594 |
That is correct. Any page that you call the SSI in, will display the user as logged in or unregistered, just like a normal UBB-generated page.
If they are not logged in when the open the SSI page, and log in from the link on the SSI page, they are logged in and taken to the main forums page (ultimatebb.cgi), not the referrer, though.
---Skorpion
Don't put that signature in your mouth! You don't know where it's been!
|
|
|
#74014
07/12/2001 2:01 PM
|
Joined: Aug 2000
Posts: 299
Member
|
Member
Joined: Aug 2000
Posts: 299 |
That is exackly what I am looking for. but is there a way to point it back to the referrer page?
|
|
|
#74015
07/12/2001 2:40 PM
|
Joined: Mar 2000
Posts: 3,594
Moderator / Template Diva
|
Moderator / Template Diva
Joined: Mar 2000
Posts: 3,594 |
The referrer page thing was something I didn't even know was wrong with it until I just was replying to you that time and checked about it. Now that it's been brought to my attention, I will see what I can do to correct it. ---Skorpion
Don't put that signature in your mouth! You don't know where it's been!
|
|
|
#74016
07/12/2001 2:41 PM
|
Joined: May 2001
Posts: 2,798
Member
|
Member
Joined: May 2001
Posts: 2,798 |
You would have to make your own hack. You couldn't use his headers that call the regular Cookies.
|
|
|
#74017
07/12/2001 3:12 PM
|
Joined: Aug 2000
Posts: 299
Member
|
Member
Joined: Aug 2000
Posts: 299 |
But Skorpion said it works. Thanks Skorpion, I will use your Compact Headers templates on my test board and let me know when the new fix is up. Thanks again.
|
|
|
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
|
|
|
|
|