|
|
Joined: Sep 2001
Posts: 15
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 15 |
How can i have it so they can log in on the home page and have it say loged in on the side bar of the home page?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
While your IE/netscape/opera/mozilla/etc is on your board, rightclick and choose view source. There, copy getCokie function and the Hello, thing.
|
|
|
|
Joined: Sep 2001
Posts: 15
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 15 |
ok i did that but not on the main site it has not loged in. Please log in or register. It will not show that you are loged in. How can i fix this?
|
|
|
|
Joined: Sep 2001
Posts: 15
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 15 |
it is still doing that and when u go to the forums it has you as loged in. please help
|
|
|
|
Joined: Feb 2001
Posts: 166
Spotlight Winner
|
Spotlight Winner
Joined: Feb 2001
Posts: 166 |
Bumping this because I'd like to see a solution to this, too.
|
|
|
|
Joined: Oct 2000
Posts: 4
Junior Member
|
Junior Member
Joined: Oct 2000
Posts: 4 |
Need answer for this also. Started to code that myself but have to say that those login code is little messy to find right arguments to move to homepage to get status on logging.
Managed to get my homepage inform is forums are open or closed so not to have to go to forums for that.. really simply code:
require "bboard/cgi-bin/vars_config.cgi"; require "$vars_config{VariablesPath}/vars_misc.cgi"; if ($vars_misc{BBStatus} ne 'ON') { $ubb_check = "Forums are closed"; } else { $ubb_check = "Forums are open"; }
And then just output print to somewhere where you want to see that inform. But really like to get inform about logging inform and also feature that I could log in at main pages. Going to try to code that myself already so if I managed to figure out how to do that I'll paste that code.
|
|
|
|
Joined: Feb 2001
Posts: 166
Spotlight Winner
|
Spotlight Winner
Joined: Feb 2001
Posts: 166 |
Great, thanks Darkki.  I hope you're successful. 
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
You might check the vars_config.inc.php file... require it for the paths, then check the coding in the ultimatebb.php file for the actual cookie check. Should be a bit easier on your server than the cgi route.
|
|
|
|
Joined: Dec 2001
Posts: 699
Member
|
Member
Joined: Dec 2001
Posts: 699 |
quote: Originally posted by AllenAyres: You might check the vars_config.inc.php file...
Your what file? 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
noncgi/vars_config.inc.php, it has $BBStatus ("ON" or "OFF").
|
|
|
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: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|