Shoutbox

The best way to carry over login information from mybb. - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: The best way to carry over login information from mybb. (/showthread.php?tid=35840)

The best way to carry over login information from mybb. by .blade// on 12-20-2004 at 12:28 AM

My bud and me are building a site for Gearbox Computers. We wanted to know what the best way to carry of the current user login information from the forums to the site.


Forums:
http://www.toastednet.org/blade/forums/index.php

Site:
http://blade.toastednet.org/


RE: The best way to carry over login information from mybb. by martin on 12-20-2004 at 01:29 AM

copy the mysql database, or just the user table


RE: The best way to carry over login information from mybb. by Underlord on 12-20-2004 at 03:06 AM

Wouldn't it be easier to use the same database?


RE: The best way to carry over login information from mybb. by .blade// on 12-20-2004 at 03:32 AM

I don't have direct access to the mysql database :dodgy:


RE: The best way to carry over login information from mybb. by WDZ on 12-20-2004 at 04:31 AM

What do you mean by direct?

Can PHP scripts on the "site" access the database of the "forums"? :-/

What exactly do you want to do? Share the user info, or just make a copy of the current info?

I think some things need to be cleared up before anyone can help you. :p


RE: The best way to carry over login information from mybb. by .blade// on 12-20-2004 at 04:36 AM

quote:
Originally posted by WDZ
What do you mean by direct?

Can PHP scripts on the "site" access the database of the "forums"? :-/

What exactly do you want to do? Share the user info, or just make a copy of the current info?

I think some things need to be cleared up before anyone can help you. :p



The site is not anywhere close to done :P

I want to be able to show the current user on the site.(the "Welcome back, blade. You last visited: Today, 08:00 PM"). And to access the mysql database I'd need to get my host to adjust a few settings.
RE: The best way to carry over login information from mybb. by brian on 12-26-2004 at 01:21 AM

Well, I have no idea how mybb actually works, but if the sessions are stored in the mysql table, like IPB does, you could access the table, remake the MD5 hash, check for the user, and get information.. Else, it cannot be done


RE: The best way to carry over login information from mybb. by martin on 12-26-2004 at 01:29 AM

you first post kind of throw me off by talkn about login, but with the last one, you said what your wanting to do.  its been a long while sence i did any php work even long since i messed with mybb but from wut i can remember i can try and help u out.  im gonna dig thro mybb a little then talk to u on msn