Previous Thread
Next Thread
Print Thread
Rate Thread
#114692 05/04/2002 4:39 PM
Joined: Sep 2001
Posts: 15
Junior Member
Junior Member
Offline
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?

Sponsored Links
#114693 05/10/2002 5:41 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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.

#114694 05/11/2002 7:46 PM
Joined: Sep 2001
Posts: 15
Junior Member
Junior Member
Offline
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?

#114695 05/24/2002 3:05 PM
Joined: Sep 2001
Posts: 15
Junior Member
Junior Member
Offline
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

#114696 05/30/2002 11:54 PM
Joined: Feb 2001
Posts: 166
Spotlight Winner
Spotlight Winner
Offline
Joined: Feb 2001
Posts: 166
Bumping this because I'd like to see a solution to this, too.

Sponsored Links
#114697 05/31/2002 2:42 AM
Joined: Oct 2000
Posts: 4
Junior Member
Junior Member
Offline
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.

#114698 05/31/2002 12:55 PM
Joined: Feb 2001
Posts: 166
Spotlight Winner
Spotlight Winner
Offline
Joined: Feb 2001
Posts: 166
Great, thanks Darkki. cool I hope you're successful. smile

#114699 05/31/2002 1:40 PM
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.


- Allen wavey
- What Drives You?
#114700 06/01/2002 1:56 PM
Joined: Dec 2001
Posts: 699
Member
Member
Offline
Joined: Dec 2001
Posts: 699
quote:
Originally posted by AllenAyres:
You might check the vars_config.inc.php file...

Your what file? tipsy

#114701 06/01/2002 2:00 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
noncgi/vars_config.inc.php, it has $BBStatus ("ON" or "OFF").

Sponsored Links

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
Posts: 70
Joined: January 2007
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 20240506)