Hello All,
I am currently a MyBB powered community on my site. My site is integrated to the MyBB login system. I have purchased a vB license and would like to upgrade to v3.8.1. Before I do that, I would like to integrate my site with the vB login system.
These are the features that I would like to include
- Use my own login page, which uses vB login system as back end
- If possible do the same with Registration Page too [FOUND]
- Check whether a user is Logged In / Activated / Moderator / Admin
- Get userid, username, email, location, display name (custom field), private messages count (unread / total) and time of last visit
[FOUND]
Can someone please advice me how to continue? With MyBB, I was using its login / registration form. For the rest, I was able to get the variables using the $mybb variable.
Any help is appreciated.

Thanks
--------------- Added [DATE]1234688306[/DATE] at [TIME]1234688306[/TIME] ---------------
Including includes/init.php seems to include a lot overhead, considering all I want is a simple login integration. Can I copy the code that performs the session/login part into another file say custom-init.php and include that file in the rest of my site for login integration purpose?
Is that allowed by vb license?
--------------- Added [DATE]1234703866[/DATE] at [TIME]1234703866[/TIME] ---------------
Can someone please tell me how to check whether a user has activated his account and whether he is a moderator/admin?
--------------- Added [DATE]1234763197[/DATE] at [TIME]1234763197[/TIME] ---------------
Can anyone please help me with this?
Thanks