Welcome, Guest. Please Login or Register.
November 28, 2024, 10:35:53 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Checking from an external page whether users are logged in or not... « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Checking from an external page whether users are logged in or not...  (Read 316 times)
Kristof
Noobie
*
Posts: 19


I'm a llama!

Checking from an external page whether users are logged in or not...
« on: August 31, 2002, 01:11:24 AM »
Reply with quote

Hi there,

I have my board set up, it works great! Now, on my site index, which is in another directory then the board, I'd like to show a small box that displays the user information.

Logged in? -> Welcome user, you have 0 new messages
Not logged in? -> Login form and register link.

Is there a mod that does this?
If not, does anyone have any idea about this?

Thanks

Kristof
Logged
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:Checking from an external page whether users are logged in or not...
« Reply #1 on: August 31, 2002, 01:12:40 AM »
Reply with quote

SSI.php ;)
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
Kristof
Noobie
*
Posts: 19


I'm a llama!

Re:Checking from an external page whether users are logged in or not...
« Reply #2 on: August 31, 2002, 01:22:19 AM »
Reply with quote

Strange,
cause http://www.beaverke.com/retabo/yabb/SSI.php is empty and i DID set the variables in the file...
Logged
sylvester
YaBB God
*****
Posts: 525


Re:Checking from an external page whether users are logged in or not...
« Reply #3 on: August 31, 2002, 02:18:22 PM »
Reply with quote

Quote from: Kristof on August 31, 2002, 01:22:19 AMStrange,
cause http://www.beaverke.com/retabo/yabb/SSI.php is empty and i DID set the variables in the file...
::) ::)
you have to include SSI.php (<? include ('path/to/SSI.php'); ?>)
$username is set to 'Guest' if you're not logged in ::)
Logged

I'm back
Kristof
Noobie
*
Posts: 19


I'm a llama!

Re:Checking from an external page whether users are logged in or not...
« Reply #4 on: September 02, 2002, 12:48:41 PM »
Reply with quote

Strange,

http://www.beaverke.com/retabo/dev/

It should appear in the box below left, "Wie is online", but it's just blanco. Why is this?

Kristof

« Last Edit: September 02, 2002, 12:49:12 PM by Kristof » Logged
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:Checking from an external page whether users are logged in or not...
« Reply #5 on: September 02, 2002, 01:24:29 PM »
Reply with quote

you have to include ssi.php before any code is parsed! it has to be the very first in your script!

mediman
Logged

mainComm Dev Team
Kristof
Noobie
*
Posts: 19


I'm a llama!

Re:Checking from an external page whether users are logged in or not...
« Reply #6 on: September 02, 2002, 02:48:25 PM »
Reply with quote

OK

http://www.beaverke.com/retabo/dev/cont/index.php has it at the very top, before anything else is done. Now why don't i see a box or so, is there a function i have to refer to?

Isn't there any tut for this?
Regards
Kristof
Logged
Nemesis
What's an Admin?
Global Moderator
YaBB God
*****
Posts: 2199


WWW
Re:Checking from an external page whether users are logged in or not...
« Reply #7 on: September 02, 2002, 10:15:48 PM »
Reply with quote

Works on my site  ;D

http://www.gamerzalliance.com

check out:
http://www.yabb.info/ssi_examples.php

or

http://www.yabb.info/ssi_examples.shtml
Logged


Want to say thanks?
*************************************
DONATE or check out my WishList
*********************************
Kristof
Noobie
*
Posts: 19


I'm a llama!

Re:Checking from an external page whether users are logged in or not...
« Reply #8 on: September 02, 2002, 10:59:40 PM »
Reply with quote

Ok THAT'S what i was looking for ;-)
Thanks a lot
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Mod Ideas and Creation  |  Checking from an external page whether users are logged in or not... « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.025 seconds with 21 queries.