[ADMN/WEB] OKB3 - Bulletin Board Bridge - Now on BukkitDev! [1337]

Discussion in 'Inactive/Unsupported Plugins' started by Kalman Olah, Jun 2, 2011.

  1. Offline

    Kalman Olah

  2. Offline

    68x

    Any love for Permissions?
     
  3. Offline

    Kalman Olah

    Not yet, though it is on my to-do list of stuff I postpone daily.
     
  4. Offline

    WNxRev

    The conversion from Permissions to GroupManager isn't all too bad. If you do convert, however, make sure you install GroupManagerBridge. That way, all permissions that were operating under permissions are compatible with GroupManager.
     
    Kalman Olah likes this.
  5. Offline

    68x

    I prefer Permissions, better stick to something that is officially supported.
     
  6. Offline

    Kalman Olah

    @S0mebody
    @SpeedKeks
    @TheShadow777

    Updated to 0.3.8
    • Added support for IPB and WoltLab Burning Board to normal mode.
    EDIT: Forgot to mention, forumtypes are ipb for IPB, wbb for WoltLab Burning Board in config.yml.
     
    S0mebody likes this.
  7. Offline

    TheShadow777

    many thanks kalman :) i will test it on the weekend :)
     
  8. Offline

    Kalman Olah

    You're welcome :).

    All planned features are on hold indefinitely.
    This includes Permissions 3 support and subgroups support.

    By 'on hold' I don't mean I won't be working on them. I mean that I'll be so busy over the course of the following days that I probably won't have any time to work on them. I'm in the middle of moving and such.

    Apologies to anyone who wanted Permissions 3 support and subgroups support, @NeatMonster in particular.

    EDIT: probably should have mentioned I WILL work on subgroups/permissions 3 support when I've moved :p.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  9. Offline

    S0mebody

    Fantastic!
    Will test this ASAP, many thanks Kalman!
     
  10. Offline

    NeatMonster

    Normal doesn't work for me. What tables have you specified?

    Show Spoiler
    mode: normal
    ###The mode the plugin will run in, options are 'normal' or 'old-school'###
    ###In old-school mode, the server does NOT check a username/password! It just gets a rank from your forum DB and sets it as your group###
    ###If enable-old-school-mode is set to true, fill in the section labeled 'old-school-mode' If not, fill in the section labeled 'normal-mode'###
    mysql-connection-info:
    mysql-host: localhost
    mysql-user: root
    mysql-password: xxxxxxxxxx
    mysql-database-name: xxxxxxxxxx
    old-school-mode:
    enable-whitelist: 'false'
    ###If enable-whitelist is true, fill in the whitelist section###
    usertable: user_table
    minecraftname-field: mine_user
    rank-field: rank_field
    enable-multiple-tables: false
    ###If enable-multiple-tables is true, fill in the multitable section###
    multitable:
    minecraftname-table: mine_table
    useridfield-in-minecraftname-table: user_id_field
    useridfield-in-usertable: user_id_field
    normal-mode:
    type-of-forum: xenforo
    ###Current supported forum types md5 for MD5 encryption-based forums,phpbb for phpBB3, smf for SMF, vbulletin for vBulletin, mybb for myBB, xenforo for XenForo, ipb for IPB, wbb for WBB###
    ###Fill in the fields for the forum type that matches your type-of-forum value###
    location-of-passgenphp: http://craftisland.no-ip.org/passgen.php
    password-set-in-config-inc-php: iamaveryneatmonster
    md5:
    usertable: user_table
    username-field: username_field
    userpassword-field: user_pass_field
    rank-field: rank_field
    phpbb:
    usertable: user_table
    username-field: username_field
    userpassword-field: user_pass_field
    rank-field: rank_field
    smf:
    usertable: user_table
    username-field: username_field
    userpassword-field: user_pass_field
    rank-field: rank_field
    vbulletin:
    usertable: user_table
    username-field: username_field
    userpassword-field: user_pass_field
    rank-field: rank_field
    mybb:
    usertable: user_table
    username-field: username_field
    userpassword-field: user_pass_field
    rank-field: rank_field
    xenforo:
    usertable: xf_user
    rank-field: user_group_id
    username-field: username
    password-table: xf_user_authenticate
    password-field: remember_key
    useridfield-in-usertable: user_id
    useridfield-in-passtable: user_id
    ipb:
    usertable: user_table
    username-field: username_field
    userpassword-field: user_pass_field
    rank-field: rank_field
    wbb:
    usertable: user_table
    username-field: username_field
    userpassword-field: user_pass_field
    rank-field: rank_field
    groups:
    ###'RANKID IN RANKTABLE'=GROUPMANAGER GROUP###
    '3': Administrateurs
    '7': Animateurs
    '6': Architectes
    '5': Donateurs
    '2': Joueurs
    '4': Modérateurs
    '8': Vendeurs
    whitelist:
    kick-message: This is the message a user will see if their group isn't whitelisted.
    whitelist-groups:
    ###'RANKID IN RANKTABLE': 'true' TO ALLOW A RANK TO JOIN###
    ###'RANKID IN RANKTABLE': 'false' TO NOT ALLOW A RANK TO JOIN###
    '1': 'true'
    '657': 'false'


    I'm having the purple message : "Incorrect username or password.".
     
  11. Offline

    Kalman Olah

    The password field is the field with the long {....} thing. It's called 'data' or something.
    EDIT: The entries for that field look like '{3:64:hash:"54696454165465454645":8:64'...etc.
    EDIT2: Make sure the $sqlprefix is set to 'xf_' in config.inc.php too.

    You're welcome man.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  12. Offline

    Soldier187

    I dont know much about SQL but i know i filled in the config file right, however..
    I rent my Minecraft server so isit possible that some ports would need to be opened? Thanks
     
  13. Offline

    NeatMonster

    I've tried with data and remember_key. The prefix is set to xf_ too.
     
  14. Offline

    Kalman Olah

    The plugin can't connect to your SQL server. Make sure your SQL user has access to remotely view MySQL info, and make sure ports are forwarded/firewall exceptions exist.
    EDIT: I'd double-check the mysql connection info in config.inc.php/config.yml anyway.
    Is your SQL server hosted on port 3306?

    I'm going to check it in a second, I'll get back to you soon.

    It's working for me. On Xenforo.
    Try going to http://<passgenloc>/passgen.php?t=6&u=<username>&p=<password>&s=<phppassword>
    See if that shows anything. Let me know what you get.

    [​IMG]
    [​IMG]
    [​IMG]
    [​IMG][​IMG]
    EDIT: I just noticed that XenForo "discouraged" function :D.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  15. Offline

    NeatMonster

    Blank page.
     
  16. Offline

    Kalman Olah

    Alright. Show me the config.inc.php please.
    EDIT: For the record, it should've shown you the encrypted password :p.
     
  17. Offline

    fffizzz

    Cant wait for some permissions love :)
     
  18. Offline

    Kalman Olah

    It'll be here soon enough. I'm moving right now though, so I don't have time to offer anything but technical support. I've got no time to work on new features right now :p.
     
  19. Offline

    NeatMonster

    Show Spoiler
    Code:
    <?php
    //Your mysql host
    $dbhost = 'localhost';
    //Your mysql user
    $dbuser = 'root';
    //Your mysql password
    $dbpass = 'xxxxxxxxxx';
    //Your mysql database
    $dbname = 'minecraft_server';
    //Your custom password. #####THIS MUST MATCH THE PHP PASSWORD IN CONFIG.PROPERTIES!#####
    $phppass = 'abcde12345';
    //The prefix used by your forum tables. Let's say your the table where your usernames are stored in
    // is called 'phpbb_users'...in this case the prefix is 'phpbb_'. set to $sqlprefix = ''; for no prefix.
    $sqlprefix = 'xf_';
    ?>
     
  20. Offline

    Kalman Olah

    Are you sure minecraft_server is the name of the DB of your forum, and not your minecraft server?
    Is $phppass the same password as the one in config.yml?
    EDIT: If the forum and server are hosted on different computers, does the MySQL user have permission to view the MySQL database remotely?
     
  21. Offline

    NeatMonster

    Yes I'm sure for the database. I'll check tomorrow for the password.
     
  22. Offline

    Kalman Olah

    Alright. So tell me, are you hosting the minecraft server/forum on the same server?
     
  23. Offline

    NeatMonster

    Checked. Passwords are the same. Yes, they're hosted on the same dedicated server.
     
  24. Offline

    Oscarius

    How's Permissions 3 support coming along?
     
  25. Offline

    Kalman Olah

    Updated to optional update 0.3.9.

    Changes:
    • Hardcoded content type: text/plain into passgen.php.
    Please PM me a single entry from the field 'data' in xf_user_authenticate. The script uses a regex function to get the hash/salt stuff from that data entry, and it could be you're using a different kind of encryption.

    It's on hold because I'm in the process of moving.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  26. Offline

    NeatMonster

    PM sent!
     
  27. Offline

    Kalman Olah

    Fixed an issue with the passgen.php file returning a blank page on several linux distros. Shoutout to @NeatMonster for helping me help him help me help us all :).

    The updated passgen.php is included with 0.3.9, which I reuploaded.
     
  28. Offline

    Kalman Olah

    The plugin should work for CraftBukkit 860. Let me know if there are any issues.
     
  29. Offline

    NeatMonster

    Working on #860.
     
  30. Offline

    Kalman Olah

    Updated to v0.3.10 for CB Build 860.
    • Fixed a serious issue with a loop I use in my XenForo forums encrypted password checks that caused the server log/chat to be spammed with error messages. Shoutout to @NeatMonster for helping me fix this.
     
  31. Offline

    NeatMonster

    Working fine now! Thanks! I can now enjoy you wonderful plugin!
     

Share This Page