2011-06-20, 09:10 AM
Hello fellow MYBB Admirers ![Smile Smile](https://community.mybb.com/images/smilies/smile.gif)
I installed mybb on my linux localhost yesterday and its well and smooth working
i plan to launch a site with mybb as forum script and also the site has some extra script custom made running on it
now mybb and custom made script have their own cookie checking , registration etc.
i want to have a common registration i.e via mybb
That is simple , to users redirect to mybb registration thing
but now how do i check if a user is logged in or not , and if logged in , which user out of mybb
I mean how to check whether user is logged in or not in my domain running mybb in root
i tried including functions.php , global.php and functions_user.php
but it made things messy
please let me know some better alternative if you have.
Just want to check if user is logged in or not and if logged in , want username , userid as details
thats it![Smile Smile](https://community.mybb.com/images/smilies/smile.gif)
PleasE HElP
![Smile Smile](https://community.mybb.com/images/smilies/smile.gif)
I installed mybb on my linux localhost yesterday and its well and smooth working
i plan to launch a site with mybb as forum script and also the site has some extra script custom made running on it
now mybb and custom made script have their own cookie checking , registration etc.
i want to have a common registration i.e via mybb
That is simple , to users redirect to mybb registration thing
but now how do i check if a user is logged in or not , and if logged in , which user out of mybb
I mean how to check whether user is logged in or not in my domain running mybb in root
i tried including functions.php , global.php and functions_user.php
but it made things messy
please let me know some better alternative if you have.
Just want to check if user is logged in or not and if logged in , want username , userid as details
thats it
![Smile Smile](https://community.mybb.com/images/smilies/smile.gif)
PleasE HElP