[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

    jco281

    Code:
    world-groups:
        enable-multiworld-groups: 'false'
        default:
            groups:
                    '2': 'Member'
                    '6': 'Sponsor'
                    '5': 'VIP'
                    '7': 'Trusted'
                    '4': 'Moderator'
                    '3': 'Admins'
        exampleworld1:
            groups:
                '1': ExampleGroup1
                '2': ExampleGroup2
        exampleworld2:
            groups:
                '1': ExampleGroup1
                '2': ExampleGroup2
    whitelist:
        enable-whitelist: 'true'
        global:
            use-as-blacklist: 'true'
            kick-message: Please go to www.thelandofya.cu.cc and sign up and use your login name for username thanks
            groups:
                '2': 'false'
                '6': 'false'
                '5': 'false'
                '7': 'false'
                '4': 'true'
                '3': 'true'
    nickname-sync:
        enable-nickname-syncing: 'false'
        nickname-field-in-usertable: 'xf_user_custom_title'
    forum-banning:
        is-server-ban-too: 'true'
        banned-forum-user-rank-id: '0'
        unbanned-forum-user-rank-id: '10'
        ban-message: Begone rule break. No more Ya for you.
    promotion-tracks:
                    '2': 'Member'
                    '6': 'Sponsor'
                    '5': 'VIP'
                    '7': 'Trusted'
                    '4': 'Moderator'
                    '3': 'Admins'
    forum-ranks:
        Admin: '3'
        Member: '2'
        Moderator: '4'
        VIP: '5'
        Trusted: '7'
        Sponsor: '6'
    misc:
        mysql-ping-interval: '30'
    When i try to promote someone it tells me no promote track found. How exactly does the white list work. Does it only allow people who are registered to the site gain access or am i looking at this the wrong way thanks
     
  3. Offline

    Kalman Olah

    The whitelist can deny unregistered users if you set "use-as-blacklist" to false.
    The promotion track isn't configured right. It's a track, so you configure it like this:
    Code:
    promotion-tracks:
        '1': '2'
        '2': '6'
        '3': '5'
        '4': '7'
        '5': '4'
        '6': '3'
    Notice how the numbers go from 1 to 6. It's important that you start at 1 for the lowest rank, and work your way up. This is how OKB3 knows how to handle the track. The track is mapped like this: 'NUMBER': 'RANK ID'. After this, the IDs are mapped to names in the "forum-ranks" key. So yeah, replace your promotion-tracks with mine and it should work.
     
  4. Offline

    dragos240

    This is not a support post. Rather it is a thank you. I have figured out how this plugin works finally, I have tested it with multiple users and will soon be unveiling my server to the public. Thanks to you, members must register on my forums before they can play, reducing the griefer count. Also ranks are much easier to promote.

    Thank you for this wonderful plugin.
     
  5. Offline

    Kalman Olah

    Glad you've got it working, bro :).
     
  6. Offline

    Rext

    Ya so umm..... I'm Rext and I'm with jco and we are having trouble with syncing. Here is what happens. You make an account on our site with your exact username you have with minecraft. When you try to connect to our server it still says you need to sign up with website. All ranks are set up right so I don't know whats wronge. So spam Jco about what to do cause I will not be checking this he told me to do this so I did :p. Thanks man I love your plugins... when it works :p
     
  7. Offline

    Kalman Olah

    Tell him to post his config.yml. He didn't set up his whitelist correctly.
     
  8. Offline

    Rext

    Ok here is the config :p

     
  9. Offline

    Kalman Olah

    You actually need to use the /sync... command to get your rank in normal mode. You'll either have to let unregistered users join by setting "use-as-blacklist" to true, or you need to switch to oldschool mode.
     
  10. Offline

    Donny

    For some odd reason using "/sync" while using bPermissions(sql) says an error in chat when it is changing a rank.
    Example: changing from default to Admin with "/sync" will give the error
    But if your rank is already Admin when you "/sync" it will say successful
    Example: using /sync when you are already the correct rank will say successful


    Also, any word on a API from PEX to manage groups? bPerms is so weak, requires multigroup for everything. which okb3 doesn't support. =(
    and permissions 3 is dead
     
  11. Offline

    Kalman Olah

    OKB3 has had PEX support for ages now.
     
  12. Offline

    Donny

    =O Last I saw you couldn't because an API or something. YAYAY ty
     
  13. Offline

    Alex Wollangk

    I tried to get your plugin working to bridge Minecraft with vBulletin 4.1.4 mainly to provide a definite link between Minecraft and vBulletin accounts. I never did get it pulling the nickname from an alternate table, but when I specified the same username and nickname fields I got it to update the player's name in game with the value from the forum.

    Actually, what I would like it to do is when a user logs in force them to enter their forum user name and password. When they do that I would like the plugin to update the appropriate field associated with their user ID in the userfield table with their Minecraft account name. That would allow me to tie the two accounts together and provide the opportunity to do some more integration there.

    I'd like to be able to feed game statistics into vBulletin and forum data back into the game. With that link we could notify users in game if they get a private message on the forum or base game privileges on forum statistics such as number of posts. It would also be handy

    I found the plugin AuthDB that is closer to what I want, but it was extremely unstable. Also rather than updating the value in the vBulletin database it used a sqlite database of its own to maintain a link between accounts. The separate database I could handle, but the instability is a deal-breaker. :)

    I am a programmer and had started on a similar plugin myself, but I would rather work with someone with an existing framework. That way we could both benefit from my work. :)
     
  14. Offline

    Kalman Olah

    I'm really busy these days. I generally don't have the time to commit to developing plugins like OKB3, and when I do I work on it on an irregular schedule. Ontop of that I consider OKB3 close, if not completely finished. It does what I intended for it to do, along with tons more features that I added just to appease the general public.

    If you want I can provide you with a direct link to the source code, but I don't want to alter the plugin in any major way anymore. Hope you understand.
     
  15. Offline

    darkcloud784

    So dont expect any updates from now on?
     
  16. Offline

    Kalman Olah

    Not like I've been updating a lot the past few months. I'll keep it updated and such, just don't expect brand new features...
    EXCEPT RIGHT NOW.
    I'm uploading OKB3 v3.0.0 to BukkitDev right now, expect it up soon :).
     
  17. Offline

    darkcloud784

    Cool, I dont really need any more features I just want this to continue to work XD. <3 your plugins
     
  18. Offline

    Kalman Olah

    Version 3.0.0

    • Moved to BukkitDev & GitHub.
    • Added post count rewarding.
    • Reworked entire plugin. Twice the speed and stability.
    • Bunch of other things.
    Visit the BukkitDev thread!
     
  19. Offline

    darkcloud784

    Did this get updated for bukkit 1149+?


    Also whenever I use a command like /bbb or /fsyncall it just says Usage: /fsyncall
    Usage: /bbb
     
  20. Offline

    Kalman Olah

    I only update for recommended builds.
     
  21. Offline

    Alex Wollangk

    Of course I understand. I'd be more than happy to do the work myself. I'll even share it back with you in case you want to use it. (Although I would completely understand if you choose not to.)

    Alex
     
  22. Offline

    Kalman Olah

    If you take a look at the GitHub page, you could fork it and stuff :).
    http://github.com/kalmanolah/OKB3/
     
  23. Offline

    Alienware777

    Can anyone help me with my config file? Normally I don't need help with setting up plugins, but I have to say this one is fairly tricky. Everything I try ends in errors and the plugin shutting down.
     
  24. Offline

    Kalman Olah

    Post your current config, and I'll see what I can do :).
     
  25. Offline

    waxdt

    I get this error

    Code:
    17:15:16 [WARNING] [OKB3] Error at SQL Query: You have an error in your SQL synt
    ax; check the manual that corresponds to your MySQL server version for the right
     syntax to use near 'null,null WHERE xf_user.username = 'waxdt' AND xf_user.user
    _id = xf_user_authent' at line 1
    Heres my file
    Code:
    general:
        mode: secure
        enable-whitelist: 'false'
        enable-nickname-syncing: 'false'
        enable-synced-banning: 'true'
        enable-promotion-track: 'true'
        enable-rank-changing: 'true'
        enable-post-count-rewarding: 'false'
        enable-anonymous-stat-tracking: 'false'
    modes:
        normal:
            user-table: user_table
            minecraft-login-name-field: minecraft_name
            rank-id-field: rank_group_field
            multitable:
                enable-multiple-tables: 'false'
                second-table: second_table
                user-id-field-in-user-table: user_id_field_user_table
                user-id-field-in-second-table: user_id_field_second_table
        secure:
            forum: xenforo
            type1:
                user-table: user_table
                username-field: username_field
                password-field: password_field
                rank-id-field: rank_group_field
            type2:
                user-table: user_table
                username-field: username_field
                password-field: password_field
                rank-id-field: rank_group_field
                location-of-passgen-php: http://yoursite.com/passgen.php
                password-set-in-config-inc-php: 12345pass
            type3:
                usertable: xf_user
                rank-field: user_group_id
                username-field: username
                password-field: data
                secondtable: xf_user_authenticate
                useridfield-in-usertable: user_id
                useridfield-in-secondtable: user_id
            type4:
                user-table: user_table
                username-field: username_field
                password-field: password-field
                rank-id-field: rank_group_field
                location-of-passgen-php: http://yoursite.com/passgen.php
                password-set-in-config-inc-php: 12345pass
    mysql-connection:
    
    group-mapping:
        default:
            '1': ExampleGroup1
            '2': ExampleGroup2
        worlds:
            Creative:
                '1': Guest
                '2': Builder
                '3': Owner
                '4': Mod
                '5': HeadAdmin
                '6': CoOwner
                '7': Admin
                '8': Advbuilder
                '9': Advbuilder+
                '10': Advbuilder++
            Survival:
                '1': Guest
                '2': Builder
                '3': Owner
                '4': Mod
                '5': HeadAdmin
                '6': CoOwner
                '7': Admin
                '8': Advbuilder
                '9': Advbuilder+
                '10': Advbuilder++
    extras:
        whitelist:
            kick-message: This is the message a user will see if their group isn't whitelisted.
            use-as-blacklist: 'false'
            groups:
                '1': 'true'
                '2': 'false'
        nickname-syncing:
            nickname-field-in-usertable: nickname_field_user_table
        synced-banning:
            banned-user-forum-rank-id: '1'
            unbanned-user-forum-rank-id: '1'
            ban-message: You are banned for more info Check the enderville forums.
        promotion-track:
            track: 1|2|8|9|10|4|7|5|6
        rank-changing:
            identifiers:
                '1': NickNameforRank1
                '7': NickNameforAnotherRank
        post-count-rewarding:
            post-count-field-in-user-table: post-count-field-user-table
            currency-reward-per-post: '40'
    
     
  26. Offline

    Kalman Olah

    Could you post the full error?

    @waxdt
    You just copypasted your "type3" from a previous version. You need to remake the config COMPLETELY.

    Here's a template for secure types:
    Code:
            forum: mybb
            type1:
                user-table: mybb_users
                username-field: username
                password-field: password
                rank-id-field: usergroup
            type2:
                user-table: user_table
                username-field: username_field
                password-field: password_field
                rank-id-field: rank_group_field
                location-of-passgen-php: http://yoursite.com/passgen.php
                password-set-in-config-inc-php: 12345pass
            type3:
                user-table: user_table
                rank-id-field: rank_group_field
                username-field: username_field
                password-field: password_field
                second-table: second_table
                user-id-field-in-user-table: user_id_field_user_table
                user-id-field-in-second-table: user_id_field_second_table
            type4:
                user-table: user_table
                username-field: username_field
                password-field: password-field
                rank-id-field: rank_group_field
                location-of-passgen-php: http://yoursite.com/passgen.php
                password-set-in-config-inc-php: 12345pass
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 15, 2016
  27. Offline

    thernztrom

  28. Offline

    waxdt

    Ok so i installed this and my Mchat Login message disapeared!! whenever i uninstall it it appears again! what could be wrong? theres nothing in the logs that can explain it.
     
  29. Offline

    Kalman Olah

    4 and 5 as far as I know. I'll make sure to update it for 6 soon.
     
  30. Offline

    waxdt

    So you have any idea why the plugin conflicts with Mchat's Login message ??
     
  31. Offline

    Kalman Olah

    Either mChat uses their own message instead of editing the existing Join messages, or your members all have the node bbb.hide. One or the other.
     

Share This Page