Results 1 to 5 of 5

Thread: MyBB integration?

  1. #1
    Junior Member askari's Avatar
    Join Date
    Jun 2011
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default MyBB integration?

    Is there integration mybb with Hotaru?
    I think this would be an excellent addition to Hotaru users.

  2. #2
    Senior Member
    Join Date
    Jun 2011
    Posts
    122
    Thanks
    5
    Thanked 16 Times in 10 Posts

    Default

    Hi!

    As far as I know there is no existing forum integration.

    But I found this one, which is looking good, maybe a way:

    http://www.minibb.com/synchronizing_minibb.html

  3. #3
    Senior Member
    Join Date
    Oct 2011
    Posts
    135
    Thanks
    18
    Thanked 8 Times in 8 Posts

    Default

    anyone working on that?

  4. #4
    Senior Member
    Join Date
    Jun 2011
    Posts
    122
    Thanks
    5
    Thanked 16 Times in 10 Posts

    Default

    I thought I could give it a try, so far it looks so that it is theoretically possible, but there are few things.

    - Columns has to be added to the hotaru_user table
    - The possibility to change the username in hotaru has to be denied
    - forum and hotaru has to run on the same database

    It would be great if more advanced php and hotaru users could help and share ideas...

    The basic functions of miniBB are free, things like private messaging are not needed anyway, hotaru has its own plugin for it. I feel that it is need to rewrite the avatar add-on from miniBB to fetch the hotaru avatars, but thats just a thing in the future I wanted to write down, in case that I forget it)

    But, to add, I am not sure, if this needs hotaru-core files hacking, which is not good. So maybe its easier to write a little forum, than to integrate a ready one....
    Last edited by hotaruuser; 12-08-2011 at 05:34 PM.

  5. #5
    Senior Member
    Join Date
    Oct 2011
    Posts
    135
    Thanks
    18
    Thanked 8 Times in 8 Posts

    Default

    there is a wordpress synchronization on miniBB.

    since hotaru functions are based on wordpress, i think you pro hotaru guys could take a look at it and convert this to hotaru.

    i think its not hard for someone with good hotaru knowlegde, its only 2 files and a readme that explains how to do the synchronization.

    PLS someone take a look at it, we love hotaru and we want a forum =)

    http://www.minibb.com/download.php?f...tion_wordpress

    the readme says:

    Make your Wordpress users able to post with the same authorization on forums. Wordpress version: 2.7 and up.

    ==README for Synchronizing miniBB and Wordpress==
    Release date: June 20, 2008.
    Latest update: October 4, 2010.
    miniBB version: 2.2 +
    WordPress version: 2.7 +
    Author: Paul Puzyrev (minibb.com).

    This solution provides quick synchronizing with WordPress version 2.7 or later, which will work in most default cases. For a more descriptive solution regarding integration of miniBB in 3rd party users database, visit "miniBB users table information synchronizing with another PHP software users information" guide, and read how to synchronize miniBB with any other PHP software, in general:

    http://www.minibb.com/synchronizing_minibb.html

    ==INSTALL==

    *) Install Wordpress. http://www.wordpress.org. Remember your admin login, password and email address. Besides admin account, you may create one test account for a regular user.

    *) Copy miniBB files into SUBFOLDER of WordPress on your server, for example, create a sibfolder called 'wp-forums' in the WP core. DO NOT INSTALL miniBB regular way for now, just copy the files.

    *) Overwrite attached package files: bb_cookie.php, templates/user_dataform.html.

    *) Edit setup_options.php:

    - Set $DBhost, $DBname, $DBusr, $DBpwd for mySQL host, database name, username and password

    - Set $Tu as 'wp_users' or whichever WordPress' users table name is. You may rename default miniBB tables as well, but DO NOT SPECIFY THE SAME PREFIX as for WordPress please! It will cause the board to work normally.

    - Set $admin_usr for administrative login, $admin_pwd for administrative password, $admin_email for administrative email - they must be same as specified for WordPress.

    - Replace the following settings by values:

    $dbUserSheme=array(
    'username'=>array(1,'user_login','login'),
    'user_password'=>array(2,'user_pass','passwd'),
    'user_email'=>array(4,'user_email','email'),
    'user_website'=>array(5,'user_url','website'),
    'user_viewemail'=>array(11,'user_viewemail','user_ viewemail'),
    'user_sorttopics'=>array(12,'user_sorttopics','use r_sorttopics'),
    'language'=>array(13,'language','language'),
    'num_topics'=>array(14,'num_topics',''),
    'num_posts'=>array(15,'num_posts','')
    );
    $dbUserId='ID';
    $dbUserDate='user_registered'; $dbUserDateKey=6;
    $dbUserAct='activity';

    - Paste the following code at the bottom of setup_options.php closely above the ending ?> tag:

    define('WORDPRESS_PATH', '../');

    This could define your absolute or relative path to your WordPress root. If you have installed miniBB under a subfolder, most probably you won't need even to add it. However try it out if there will be problems with file inclusions.

    - Configure miniBB's $main_url setting.

    - Set $enableNewRegistrations=FALSE; (so new users can't register on forums and this should be allowed only in WordPress itself).

    - If you want that your users are able to change their forums profile (some forum settings like sorting or language options), in setup_options.php, set $enableProfileUpdate=TRUE; else set it to FALSE (FALSE recommended).

    - If you want only registered members post on your forums (by default, miniBB is opened also for guest postings), in setup_options.php set (there should be no slashes in front of this setting):

    $allForumsReg=TRUE;

    - Other settings may be configured later following this guide:
    http://www.minibb.com/forums/index.p...manual#config2

    *) Install miniBB running _install.php (do not pay attention to the users table error, which SHOULD appear)

    *) Proceed with the following mySQL commands in the WordPress database (they will add miniBB-only-related fields at the end of WP users table):

    alter table wp_users add activity int(1) not null default '1';
    alter table wp_users add user_viewemail tinyint(1) NOT NULL default '0';
    alter table wp_users add user_sorttopics tinyint(1) NOT NULL default '0';
    alter table wp_users add language char(3) NOT NULL default '';
    alter table wp_users add num_topics INT(10) UNSIGNED DEFAULT '0' NOT NULL;
    alter table wp_users add num_posts INT(10) UNSIGNED DEFAULT '0' NOT NULL;

    *) Open your lang/eng.php and

    - COMMENT (put two slashes in front) the string:

    //$l_usrInfo[5]='ICQ';

    - Comment this string:

    //$l_im=$l_usrInfo[5];

    - Locate the variable $l_anonDisallowed. Change it's meaning so URL provided for registration leads to your WordPress registration.

    *) Remove 'bb_func_sendpwd.php' file.

    *) In templates/user_login_form.html, remove link to sending the password (<a href="{$main_url}/{$indexphp}action=sendpass">...</a> - remove reference code).

    *) Now test how it works in WordPress and miniBB: open miniBB forums and WordPress in two tabs of your browser, CLEAR OUT ALL COOKIES if they were set during your WordPress installation for some reason (for example, in Mozilla Firefox, completely delete cookies from your domain following Tools -> Options -> Privacy -> Show Cookies - Remove Cookie). Then log-in to WordPress as admin (wp-admin.php), open the second tab with miniBB forums admin panel (admin's panel filename by default is bb_admin.php which you SHOULD rename/change later under setup_options.php as recommended by our installation guide). If you did everything, you should be logged in automatically as admin to miniBB and there you may create forums and manipulate everything regular way. The same tests in two browser tabs may be performed when you log is as a regular WP user.


    *) IF you are experiencing troubles with login on forums, specially if you are testing this environment on Localhost, it may be because WordPress sets its primary authorization cookie for a specified folder only, not the whole domain or site as it's required by the miniBB common integration guide. To fix this, try to modify /wp-includes/default-constants.php fixing the following:

    if ( !defined('COOKIEPATH') )
    //define('COOKIEPATH', preg_replace('|https?://[^/]+|i', '', get_option('home') . '/' ) );
    define('COOKIEPATH', '/' );

    So, first you should comment or remove the original setting build upon 'home' option, and re-specify it as a simple global path, which would work for all scripts placed under that folder.
    If it doesn't work, you may try the same with 'SITECOOKIEPATH' and 'ADMIN_COOKIE_PATH' options.

    Check your cookie paths using Mozilla's Tools -> Options -> Privacy - Show Cookies tab.

    ==FINALLY==
    Enjoy using miniBB! Our forums are your navigator in any question related to it:
    http://www.minibb.com/forums/11_4389_2.html

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Jobs] Integration HotaruCms with SocialEngine
    By kmai in forum Requests for Paid Services
    Replies: 10
    Last Post: 05-05-2013, 06:26 PM
  2. Zemanta Integration
    By seekyt in forum Plugin Suggestion Box
    Replies: 0
    Last Post: 12-12-2010, 12:50 AM
  3. Vbulletin integration hotaru
    By bejotenan in forum Plugin Suggestion Box
    Replies: 1
    Last Post: 04-22-2010, 10:54 AM
  4. Joomla integration hotaru
    By penido in forum Plugin Suggestion Box
    Replies: 17
    Last Post: 04-16-2010, 06:46 AM
  5. MailChimp Integration
    By rushnp774 in forum Plugin Suggestion Box
    Replies: 1
    Last Post: 03-15-2010, 09:46 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •