MyBB Community Forums

Full Version: How to use info from my portal on my site?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I have recently taken steps to integrate my site with my Mybb forums.
I have them sharing a login function with working cookies, etc.

What I am looking for help on is this:

After a user logs into the homepage, instead of displaying the login form,
in its place I would like it to display a little information taken from the
portal. Specifically the welcome information, last visit, and activity since
last visit.

I have included the global.php in my script on my index.php. I actually
have the last visit displaying correctly. I am most interested in getting it
to display the forum activity since last visit. # New Posts, # New PMs, etc.

My site is set up that the index for the website is in the root, the forums
are in a folder in the root named "forum". So I'm guessing its a cross
directory problem with getting the scripts to run to query the db for the
info I want to display.

I'm a php noob, so sorry if anything I've said sounds vague or silly. Any
help or suggestions, and coding examples are appreciated.
I figured this out.

I pretty much had to recreate the db queries and make my own code to get them to appear as
I intended on my site.

All is working as intended.