Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Suggestions and Feature Requests (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=21)
-   -   MyBB intergration (http://www.mysidiaadoptables.com/forum/showthread.php?t=1144)

exdiogene 10-20-2009 02:52 PM

MyBB intergration
 
I would love Adoptables Script to be intergrated into MyBB! Would be great. It would mean users would only have one login and password. Any ideas/tutorial on how it would be done?

Thanks :D

Seapyramid 10-20-2009 03:01 PM

RE: MyBB intergration
 
Brandon has said that he might make a tutorial on this at some point. You best bet would be to research on the MyBB forums for support on intergration. You can intergrate MyBB with Joomla using JFusion & it is also possible to combine PHPAdoptables with Joomla using JFusion.

Sea

exdiogene 10-20-2009 03:15 PM

RE: MyBB intergration
 
ok thanks. So Jfusion seems to be the best bet then.

Arianna 10-23-2009 02:37 PM

RE: MyBB intergration
 
I'm still very interested in this, as I'm working with people to possibly convert a forum with 100,000+ posts and integrate it with the adoptables system. Though this isn't an exact plan, I'd love to see this project go further.

exdiogene 10-23-2009 04:35 PM

RE: MyBB intergration
 
Im learning PHP at the moment but have never worked with a script this complex before... I have a smaller forum that I want to intergrate before i get lots of members.

Arianna 10-24-2009 02:27 AM

RE: MyBB intergration
 
I think that we would be doing similar things, then. :D
I'm not good at PHP. I haven't bothered to take a tutorial or anything and I've just dived into editing all of the PHP files for this script. However, I will have no idea what to do for a bridge.
From my knowledge (which isn't much) it would take merging two tables, changing all of the prefixes, adding rows to the user table, changing 2 register pages, and... that's all, I think. I know there's more, but I don't know PHP. Any ideas?

exdiogene 10-24-2009 04:36 AM

RE: MyBB intergration
 
Well I think we would need to, like you say, edit the script so it takes users from MyBB_users. I was going to use the MyBB forum to register users.

Could we not just change (in login.php):

PHP Code:

$query "SELECT * FROM ".$prefix."users WHERE username = '$username'"

to

PHP Code:

$query "SELECT * FROM "mybb_"users WHERE username = '$username'"


Arianna 10-24-2009 08:56 AM

RE: MyBB intergration
 
That's a good idea, if they're in the same table. But how do we go about on stuff like passwords (don't they have different encryption?) and stuff.
I'm going to go compare tables for a minute, I'll be right back. :)[hr]
The fact that there are about 50 columns in the mybb user table makes me shudder. Thank goodness there are only 13 for myadopts.
How do we merge them, though? I have a feeling that all I'll do is mess everything up. xP

Seapyramid 10-24-2009 09:17 AM

RE: MyBB intergration
 
Quote:

Originally Posted by tommyk1210
Well I think we would need to, like you say, edit the script so it takes users from MyBB_users. I was going to use the MyBB forum to register users.

Could we not just change (in login.php):

PHP Code:

$query "SELECT * FROM ".$prefix."users WHERE username = '$username'"

to

PHP Code:

$query "SELECT * FROM "mybb_"users WHERE username = '$username'"


That won't work alone because it wont set the cookies for the Adoptables script so therefore the script wont see them as being logged in.

Sea

Arianna 10-24-2009 09:23 AM

RE: MyBB intergration
 
I've tried to edit the member.php file for mybb, but it's so unbearably complicated I can't even tell what the actual 'register' action is. :P
Is it possible to remove some fields without damaging the complete forum structure, do you think? (I'm using a test part of the site, so it doesn't really matter that much, though. xP)


All times are GMT -5. The time now is 07:28 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.