[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

    Kalman Olah

    No.
     
  3. Offline

    Ryan56k

    So I don't care who's is who's but I do have a question. . . How do I figure out what type of forum I have?
     
  4. Offline

    Kalman Olah

    Check the example configuration.
     
  5. Offline

    dembaland

    This is what my config file looks like (config.yml) but when i say /sync [forumname] [forumpass] it get an interal error message?
    What have i done wrong?
    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: 'true'
    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: vbulletin
        type1:
          user-table: vb4_user
          username-field: username
          password-field: password
          rank-id-field: userid
        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
    mysql-connection:
      mysql-host: ***.***.***.**
      mysql-user: dembalan_admin
      mysql-password: **********
      mysql-database-name: dembalan_forum
    group-mapping:
      default:
        '1': Admin
      worlds:
        world:
          '11': New Member
          '6': Admin
          '7': Moderator
          '5': Moderator
          '10': VIP
          '2': Full Member
    extras:
      whitelist:
        kick-message: You are not whitelisted.
        use-as-blacklist: 'false'
        groups:
          '11': 'true'
          '6': 'true'
          '7': 'true'
          '5': 'true'
          '10': 'true'
          '2': 'true'
      nickname-syncing:
        nickname-field-in-usertable: nickname_field_user_table
      synced-banning:
        banned-user-forum-rank-id: '8'
        unbanned-user-forum-rank-id: '2|5|6|7|9|10'
        ban-message: You have been banned.
      promotion-track:
        track: 11|2
      rank-changing:
        identifiers:
          '1': Visitor
          '2': Admin
          '3': Mod
          '4': VIP
          '5': Member
      post-count-rewarding:
        post-count-field-in-user-table: post-count-field-user-table
        currency-reward-per-post: '100'
    I stared out some passwords and ip's :p
     
  6. Offline

    Waffletastic

    For some reason, I can't get members to be promoted from noobs to default when they register on the forums, here's my config: http://pastebin.com/8FFm3JK6
     
  7. Offline

    Kalman Olah

    This is not configured right.
    Code:
        type1:
          user-table: vb4_user
          username-field: username
          password-field: password
          rank-id-field: userid
    You're running in secure mode, so people need to do /sync <username> <password> to get their forum rank.
    If you don't want this, you can use normal mode, and you can make members register with their ingame name.

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

    Waffletastic

    Yeah I know, even after they /sync they still don't get promoted to default
     
  9. Offline

    Kalman Olah

    So you don't have group mapping set up correctly. Group names are case sensitive, and try putting all of them into the "default" block too.
     
  10. Offline

    Waffletastic

    The group is named Default with the capital, and how does this check often to see if a user is in the right group based on their forum rank, or just when you sync it, because I don't want to have to create a new account and sync it everytime.
     
  11. Offline

    Kalman Olah

    you sync it once, and from that point forward it'll be able to sync automatically on world change/login until you change your forum password
     
  12. Offline

    dembaland

    How should it be setup for vbulletin? i cannot find anything :S
     
  13. Offline

    Fanatic

    Um Kalman when I sync my account to the forums it gives me this error! Can you please help me :(
    Dont mind I fixed it :D

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

    robxu9

    Just implemented OKB3 to find that on login, it stops mChat's login message from happening and displays its own message. Can this be disabled (or an option added to disable this?)
     
  15. Offline

    Kalman Olah

    Version 3.2.4
    • Github: Modified priority on JOIN event to allow other plugins to change the join message. @Kalman Olah
     
  16. Offline

    robxu9

    Thank you!
     
  17. Offline

    Kalman Olah

    Version 3.2.5
    • Modified bPermissions group changing method to use the setGroup() method. OKB3 now requires atleast bPermissions v1.4.1.
     
  18. Offline

    Boost

    Just updated to new version(haven't used for awhile) to see that my config doesn't work, updated that now. Then I noticed that on load it gives: [SEVERE] [OKB3] SQLException! Communications link failure.
    Something wrong with this?
    Code:
    mysql-connection:
        mysql-host: www.boostsminecraftserver.com
        mysql-user: boostsmi_SMFuser
        mysql-password: Lzg**********
        mysql-database-name: boostsmi_SMF
    
    Also could more details about the error be printed to console. I know that there's nothing wrong with my mySQL server settings since LB on the same server doesn't have any problems connecting to the mySQL server, and OKB3 started doing this after 2.5 version.
     
  19. Offline

    Kalman Olah

    Try putting your values between apostrophes, e.g.: 'boostsmo_SMFuser' etc...
     
  20. Offline

    Boost

    Experimenting with online YAML parser it seems that adding ' ' around the values doesn't seem to change the output.
    Code:
        mysql-host: 'www.boostsminecraftserver.com'
      "mysql-connection": {     "mysql-user": "boostsmi_SMFuser",      "mysql-password": "***********",      "mysql-host": "www.boostsminecraftserver.com",      "mysql-database-name": "boostsmi_SMF"   }
    
    Any other suggestions?
     
  21. Offline

    Kalman Olah

    Nope. Keep in mind that OKB3 is only confirmed to be working properly on 1337.
    Delete your config and let OKB3 remake it. If that doesn't work, I don't know.
     
  22. Offline

    Boost

    I got this working by letting it regenerate config, and taking www from the host name, now works once again. Thanks for helping me out. For future updates any possiblity to look for nickname in other tables, like smf custom user field table, and before I forget what economy plugin is supported?
     
  23. Offline

    brandon079

    Our game server and website/forum's MySQL server are at two different locations. I would like to keep it this way so if the game server ever goes down we have a way to report this. The problem is when the site goes down all hell breaks loose. Basically OKB3 can't connect to the MySQL server and it just gives up and throws a bunch of errors. When the site comes back online it never tries to reconnect either. At this point the server has to be restarted.

    Would it be possible to:
    1) Have the plugin try to reconnect to the database at regualr intervals
    2) Allow permissions to resort to using the yaml config
    3) (optional) Allow for a secondary database if the primary goes down and continue to check if the primary comes back online

    Has anyone else experienced this issue? I imagine we can't be the only ones to host site and game on two different servers/ISPs.
     
  24. Offline

    Kalman Olah

    iConomy 4/5/6, BoseConomy 5-7, MultiCurrency and EssentialsEconomy should be working :).
     
  25. Offline

    Bobsqeezeorg

    Is enable-promotion-track for when you promote someone through game (not Through Website) and it'll update their rank on the website 2?
     
  26. Offline

    Kalman Olah

    Yup :).
     
  27. Offline

    xMistDemon420x

    everytime i rank some one up in game, on re sync, or relog they go back to old rank, is this because the rank dose not exest on forums or am i doing something wrong?
     
  28. Offline

    Kalman Olah

    You are most likely doing something wrong. Please make sure all of your groups exist, both on the forums and in your permissions configuration. Group names are case sensitive. Global groups may be overriding world-specific groups too.
     
  29. Offline

    robxu9

    I think this was mentioned on the last page, but I have tried everything, including a reset of config.yml.

    I am getting this error message constantly ever since I upgraded:
    Code:
    2011-11-14 22:20:26 [WARNING] [OKB3] (4)Error at SQL Query: Communications link failure
    
    The last packet successfully received from the server was 28,959 milliseconds ago.  The last packet sent successfully to the server was 0 milliseconds ago.
    
    I am on CB 1337...
     
  30. Offline

    Kalman Olah

    Post your config.
     
  31. Offline

    paininflictor

    Now that i have reverted back to 1.8.1 build 1337. I have gotten all to work except for the post rewarding. For some reason, all the syncing is working and pulling from the database, but no update on post reward. Im using Essentials Eco. Here is my config.yml
    Code:
    general:
      mode: secure
      enable-whitelist: 'false'
      enable-nickname-syncing: 'false'
      enable-synced-banning: 'false'
      enable-promotion-track: 'false'
      enable-rank-changing: 'false'
      enable-post-count-rewarding: 'true'
      enable-anonymous-stat-tracking: 'true'
    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: myBB
        type1:
          user-table: mybb_users
          username-field: username
          password-field: password
          rank-id-field: usergroup
        type2:
          user-table: mybb_users
          username-field: username
          password-field: password
          rank-id-field: usergroup
          location-of-passgen-php: http://hiveteamspeak.sytes.net/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
    mysql-connection:
      mysql-host: localhost
      mysql-user: *******
      mysql-password: ****
      mysql-database-name: mybb
    group-mapping:
      default:
        '4': Admin
        '8': Member
      worlds:
        world:
          '4': Admin
          '8': Member
    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: '0'
        unbanned-user-forum-rank-id: '10'
        ban-message: This is the message a user will see if they are banned.
      promotion-track:
        track: 6|4|68|123|10
      rank-changing:
        identifiers:
          '1': NickNameforRank1
          '7': NickNameforAnotherRank
      post-count-rewarding:
        post-count-field-in-user-table: postnum
        currency-reward-per-post: '10'
    
     

Share This Page