[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

    brandon079

    We are using old-school mode and we do make them register with their mc username yet they still have to post.

    If a person has registered (with their mc username) but posted yet, they do not have a rank (or even row in the forum table) until they post. OKB3 doesn't seem to to know how to handle this case.

    I am just asking for an option for multitable sites to assign a registered user with a null rank to a certain group.
     
  3. Offline

    darkcloud784

    Has this been updated to work with superperms?
     
  4. Offline

    Kalman Olah

    My plugin is up to date, but as superperms bridges are missing an API for setting groups, OKB3 currently does not support them.
     
  5. Offline

    darkcloud784

    bah, they need to be punched in the kidney then...
     
  6. Offline

    Kalman Olah

    Alright, I understand your issue. I'll add the option for it, certainly. But at the moment I am really busy. I'm starting my own game server/dedicated server hosting company and it's sort of taking up most of my free time.

    So the answer: I'll create a fix for you, but not anytime soon. :(

    Permissions, PermissionsEX, GroupManager beat superperms in every way in my opinion. Don't see why you'd even want it.

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

    brandon079

    ok, thanks. i understand 100% if you cant do it right away. I am just happy that you have acknowledged it one way or another.
     
  8. Offline

    darkcloud784


    Alot of plugins are switching to superperms.... on the admin end yes permissions is ALOT easier to work with but for some reason people feel the need to change to superperms =\
     
  9. Offline

    l104693

    Mmmm. I have a small problem with the promotion track.
    This are my current settings:
    Code:
    promotion-tracks:
        '1': '6'
        '2': '5'
        '3': '4'
        '4': '7'
        '5': '3'
        '6': '1'
    What ever I do, I can't promote people. I write their names casesensitive.
    And I'm 100% sure they are in one of these ranks because you need to be one of these to join (whitelist)
    Can somebody help me?
     
  10. Offline

    Kalman Olah

    If you post your full config.yml and exact error message/console log, sure.
     
  11. Offline

    WolwX

    Hello,

    I have some questions, I don't know if that's because I misstaked a configuration or something, or if that's because this possibility isn't present on OKB3 :

    - First login, the player, unregistered into the game server and the forum can enter ?? I wish to disallow how I do ? (I already activated the "whitelist" function of OKB3)

    - There isn't any "login function" ? forcing the player to login with his forum password ? Perhaps I must use another plugin to do that ?

    - When I do a "frank" on a player, that's change directly the group into the forum, but don't take this change in consideration ingame, so my player still in the same group (permission group), how I can do a common alteration on forum and gameserver at the same time ?

    Here is my config file =>
    Code:
    mode: normal
    mysql-connection-info:
        mysql-host: localhost
        mysql-user: xxxxx
        mysql-password: xxxxx
        mysql-database-name: xxxxx
    old-school-mode:
        usertable: user_table
        minecraftname-field: mine_user
        rank-field: rank_field
        enable-multiple-tables: 'false'
        multitable:
            secondtable: mine_table
            useridfield-in-secondtable: user_id_field
            useridfield-in-usertable: user_id_field
    normal-mode:
        forum: smf
        type1:
            usertable: smf_members
            username-field: memberName
            userpassword-field: passwd
            rank-field: ID_GROUP
        type2:
            usertable: user_table
            username-field: username_field
            userpassword-field: user_pass_field
            rank-field: rank_field
            location-of-passgenphp: http://yoursite.com/passgen.php
            password-set-in-config-inc-php: 12345pass
        type3:
            usertable: user_table
            rank-field: rank_field
            username-field: username_field
            password-field: pass_field
            secondtable: second_table
            useridfield-in-usertable: user_id_field
            useridfield-in-secondtable: user_id_field
        type4:
            usertable: user_table
            username-field: username
            password-field: mine_user
            rank-field: rank_field
            location-of-passgenphp: http://yoursite.com/passgen.php
            password-set-in-config-inc-php: 12345pass
    world-groups:
        enable-multiworld-groups: 'true'
        default:
            groups:
                '1': Admin
                '2': GM
                '21': Angels
                '17': Aventurier
                '20': Citoyen
                '18': Colon
                '12': Vilain
                '4': Visiteur
                '5': Visiteur
                '6': Visiteur
                '7': Visiteur
                '8': Visiteur
        exampleworld1:
            groups:
                '1': ExampleGroup1
                '2': ExampleGroup2
        exampleworld2:
            groups:
                '1': ExampleGroup1
                '2': ExampleGroup2
    whitelist:
        enable-whitelist: 'true'
        global:
            use-as-blacklist: 'true'
            kick-message: Vous n etes pas autorise a venir sur ce serveur.
            groups:
                '4': false
                '5': false
                '6': false
                '7': false
                '8': false
                '1': true
                '2': true
                '21': true
                '17': true
                '20': true
                '18': true
                '12': false
    nickname-sync:
        enable-nickname-syncing: 'true'
        nickname-field-in-usertable: 'memberName'
    forum-banning:
        is-server-ban-too: 'true'
        banned-forum-user-rank-id: '12'
        unbanned-forum-user-rank-id: '10'
        ban-message: This is the message a player will see if they get banned.
    promotion-tracks:
        '1': '3'
        '2': '5'
        '3': '16'
    forum-ranks:
        Admin: '1'
        GM: '2'
        Angels: '21'
        Aventurier: '17'
        Citoyen: '20'
        Colon: '18'
        Vilain: '12'
    misc:
        mysql-ping-interval: '30'
    
     
  12. Offline

    Kalman Olah

    There is a command. It's /sync <username> <password>. You need to use it to get your rank. To disallow unregistered logins, change "use-as-blacklist" to "false". Like this:
    Code:
    whitelist:
        enable-whitelist: 'true'
        global:
            use-as-blacklist: 'false'
     
  13. Offline

    seriosbrad

    @Kalman Olah

    Any news on BukkitPermissions being able to alter groups yet? I really need to switch to a Bukkit based permissions plugin but at the same time can't do without BBB lol.
     
  14. Offline

    WolwX

    Thanks for the tips of the "blacklist" :)

    About the forum/server sync and server/forum sync I still can't sync by the way server group sync to forum group :/

    Here are my settings and steps :

    I tried with a player named "TEST"

    I registered my player TEST into the forum (smf) and it's ok, when I do the "frank" command the group of the forum sync to the one I used into the "frank" command.
    I switched him to the group "Aventurier" (existing into my GroupManager config)

    But when I try the "sync" command with the player TEST himself I have the message "Synchronization successful" but my group still "Visiteur" (the default group)

    Here are the logs =>

    Code:
    14:34:24 [INFO] [OKB3] TEST's ranks successfully updated by WolwX.
    >
    14:34:24 [INFO] [OKB3] Updated TEST's nickname to TEST.
    >
    14:34:24 [INFO] [OKB3] WolwX changed TEST's rank to Aventurier.
    >
    14:34:57 [INFO] [OKB3] TEST's ranks successfully updated.
    >
    14:34:57 [INFO] [OKB3] Updated TEST's nickname to TEST.
    My settings are the same as before (except for the blacklist), so what I did wrong please ? :(

    And question, only the player can "sync" the data from the forum to ingame (because the sync command need his password) or there is a way for admin to do that ? (I already tested the fsync command and still like when player use the sync one)
     
  15. Offline

    Kalman Olah

    In normal mode you can use /fsync to force a sync of a player, but only if they've used /sync before. Please post your config.yml :).
     
  16. Offline

    WolwX

    Ok, but there is not any way to sync without requesting player to do a command ?

    Here is my config file =>
    Code:
    mode: normal
    mysql-connection-info:
        mysql-host: localhost
        mysql-user: xxxxx
        mysql-password: xxxxx
        mysql-database-name: xxxxx
    old-school-mode:
        usertable: user_table
        minecraftname-field: mine_user
        rank-field: rank_field
        enable-multiple-tables: 'false'
        multitable:
            secondtable: mine_table
            useridfield-in-secondtable: user_id_field
            useridfield-in-usertable: user_id_field
    normal-mode:
        forum: smf
        type1:
            usertable: smf_members
            username-field: memberName
            userpassword-field: passwd
            rank-field: ID_GROUP
        type2:
            usertable: user_table
            username-field: username_field
            userpassword-field: user_pass_field
            rank-field: rank_field
            location-of-passgenphp: http://yoursite.com/passgen.php
            password-set-in-config-inc-php: 12345pass
        type3:
            usertable: user_table
            rank-field: rank_field
            username-field: username_field
            password-field: pass_field
            secondtable: second_table
            useridfield-in-usertable: user_id_field
            useridfield-in-secondtable: user_id_field
        type4:
            usertable: user_table
            username-field: username
            password-field: mine_user
            rank-field: rank_field
            location-of-passgenphp: http://yoursite.com/passgen.php
            password-set-in-config-inc-php: 12345pass
    world-groups:
        enable-multiworld-groups: 'true'
        default:
            groups:
                '1': Admin
                '2': GM
                '21': Angels
                '17': Aventurier
                '20': Citoyen
                '18': Colon
                '12': Vilain
                '4': Visiteur
                '5': Visiteur
                '6': Visiteur
                '7': Visiteur
                '8': Visiteur
        exampleworld1:
            groups:
                '1': ExampleGroup1
                '2': ExampleGroup2
        exampleworld2:
            groups:
                '1': ExampleGroup1
                '2': ExampleGroup2
    whitelist:
        enable-whitelist: 'true'
        global:
            use-as-blacklist: 'false'
            kick-message: Vous n etes pas autorise a venir sur ce serveur.
            groups:
                '4': false
                '5': false
                '6': false
                '7': false
                '8': false
                '1': true
                '2': true
                '21': true
                '17': true
                '20': true
                '18': true
                '12': false
    nickname-sync:
        enable-nickname-syncing: 'true'
        nickname-field-in-usertable: 'memberName'
    forum-banning:
        is-server-ban-too: 'true'
        banned-forum-user-rank-id: '12'
        unbanned-forum-user-rank-id: '10'
        ban-message: This is the message a player will see if they get banned.
    promotion-tracks:
        '1': '3'
        '2': '5'
        '3': '16'
    forum-ranks:
        Admin: '1'
        GM: '2'
        Angels: '21'
        Aventurier: '17'
        Citoyen: '20'
        Colon: '18'
        Vilain: '12'
    misc:
        mysql-ping-interval: '30'
    
     
  17. Offline

    The.Kraken

  18. Offline

    Kalman Olah

    You do understand that I literally can't move OKB3 over without an API for changing/removing/setting groups, right?

    Change this
    Code:
        enable-multiworld-groups: 'true'
    to this
    Code:
        enable-multiworld-groups: 'false'
    and report back

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

    Donny

    Great plugin

    Three problems:

    1)Doesn't always update Prefix to default rank Prefix using PermissionsSQL
    2)No MultiGroup :(
    3) Its impossible to find using the "Get Plugins" section under the forum.
     
  20. Offline

    sethgandy

    So after working though a bunch of facepalms and other stuff, now this is my issue.
    I have phpbb setup, with ranks.
    Ranks are by posts and special.
    Problem is, the database doesn't reflect any ranks. There's a user_rank field, where me as admin is 1, anybody else (all different ranks) show a zero!?

    I'm assuming that's why when I do /sync it says [OKB3] USERS's rank update failed

    Code:
    mode: normal
    mysql-connection-info:
        mysql-host: sethcraftforum1.****.com
        mysql-user: ****
        mysql-password: ****
        mysql-database-name: ****
    old-school-mode:
        usertable: user_table
        minecraftname-field: mine_user
        rank-field: rank_field
        enable-multiple-tables: 'false'
        multitable:
            secondtable: mine_table
            useridfield-in-secondtable: user_id_field
            useridfield-in-usertable: user_id_field
    normal-mode:
        forum: phpbb
        type1:
            usertable: user_table
            username-field: username_field
            userpassword-field: user_pass_field
            rank-field: rank_field
        type2:
            usertable: phpbb_users
            username-field: username
            userpassword-field: user_password
            rank-field: user_rank
            location-of-passgenphp: http://www.****.com/passgen.php
            password-set-in-config-inc-php: ****
        type3:
            usertable: user_table
            rank-field: rank_field
            username-field: username_field
            password-field: pass_field
            secondtable: second_table
            useridfield-in-usertable: user_id_field
            useridfield-in-secondtable: user_id_field
        type4:
            usertable: user_table
            username-field: username
            password-field: mine_user
            rank-field: rank_field
            location-of-passgenphp: http://yoursite.com/passgen.php
            password-set-in-config-inc-php: 12345pass
    world-groups:
        enable-multiworld-groups: 'false'
        default:
            groups:
                '1': default
                '2': Moderator
                '3': Admin
    whitelist:
        enable-whitelist: 'false'
        global:
            use-as-blacklist: 'false'
            kick-message: This is the message a user will see if their group isn't whitelisted.
            groups:
                '1': 'true'
                '2': 'false'
    nickname-sync:
        enable-nickname-syncing: 'false'
        nickname-field-in-usertable: ''
    forum-banning:
        is-server-ban-too: 'true'
        banned-forum-user-rank-id: '0'
        unbanned-forum-user-rank-id: '10'
        ban-message: This is the message a player will see if they get banned.
    promotion-tracks:
        '1': '3'
        '2': '5'
        '3': '16'
    forum-ranks:
        Admin: '1'
        Registered: '0'
        Moderator: '2'
    misc:
        mysql-ping-interval: '30'
    
     
  21. Offline

    Daniel Heppner

    No SuperPerms support?
     
  22. Offline

    Kalman Olah

    Your webhost could be blocking the remote editing of your MySQL database.
     
  23. Offline

    sethgandy

    Figured it out after two hours. Case sensitive usernames *shoots face*
    phpbb used an all lowercase username field called username_cleaned
    Would you possibly consider adding a cleaner like that too?

    On a side note from that sync issue, any idea about the rank numbers on phpbb?
    Like there's admin:1, registered:0
    but what about the other ranks based on post count?
    They seem to just fall in the registered category..
     
  24. Offline

    Kalman Olah

    If you use the group field as your rank-field, instead of the rank field, you can base your ingame permissions off of the groups, instead of ranks. To compare, you can find a list of ranks in phpbb_ranks, and a list of groups in phpbb_groups.
     
  25. Offline

    sethgandy

    Yeah, that's what it looks like I'm going to have to do. Figure out group ids.
    With phpbb 3.0.9 it looks like the user_rank only reflects special ranks, not just the post count ones.
     
  26. Offline

    Zerogamer

    Be pretty make this work with Vbulletin Cms Version



    Nevermind got it to work
     
  27. Offline

    Techwiz101

    Does this support PermissionsBukkit?
     
  28. Offline

    crashburn833

    i cannot find out why it will not recognize the user when they log in ive read every post and still cant find problem i set everything up i just cant get this config right


    PHP:
    #Will you be running Bulletin Board Bridge in 'normal' mode, or 'old-school' mode?
    modenormal
    #Your MySQL connectio info
    mysql-connection-info:
        
    mysql-hostlocalhost
        mysql
    -userroot
        mysql
    -password: *******
        
    mysql-database-nameforum
    #Fill this in if you chose old-school mode
    old-school-mode:
        
    usertableuser_table
        minecraftname
    -fieldmine_user
        rank
    -fieldrank_field
        enable
    -multiple-tables'false'
        
    multitable:
            
    secondtablemine_table
            useridfield
    -in-secondtableuser_id_field
            useridfield
    -in-usertableuser_id_field
    #If you opted for normal mode, fill this in
    normal-mode:
    #forum type: options are phpbb, smf, vbulletin, kunena, xenforo, wbb, ipb, mybb, vanilla,
    #bbpress, custom
        
    forumphpbb
    #fill this in if you are using smf, vbulletin, wbb, ipb, mybb
        
    type1:
            
    usertableuser_table
            username
    -fieldusername_field
            userpassword
    -fielduser_pass_field
            rank
    -fieldrank_field
    #fill this in if you are using phpbb, bbpress or vanilla
        
    type2:
            
    usertablephpbb_users
            username
    -fieldusername
            userpassword
    -fielduser_password
            rank
    -fieldgroup_id
            location
    -of-passgenphphttp://www.decayedgaming.com/forum/passgen.php
            
    password-set-in-config-inc-php: *********
    #fill this in if you are using kunena or xenforo
        
    type3:
            
    usertableuser_table
            rank
    -fieldrank_field
            username
    -fieldusername_field
            password
    -fieldpass_field
            secondtable
    second_table
            useridfield
    -in-usertableuser_id_field
            useridfield
    -in-secondtableuser_id_field
    #fill this in if you are using a custom encryption
        
    type4:
            
    usertableuser_table
            username
    -fieldusername
            password
    -fieldmine_user
            rank
    -fieldrank_field
            location
    -of-passgenphphttp://yoursite.com/passgen.php
            
    password-set-in-config-inc-php12345pass
    world
    -groups:
    #Set this to true if you are using multiworld groups(one forum rank mapping to different
    #permissions groups based on the world a player is in
        
    enable-multiworld-groups'false'
    #fill this in if multiworld-groups is not turned on
        
    world:
            
    groups:
                
    '5'Admin
                
    '2'Builder
                
    '4'Moderator
    #if multiworld-groups are on, fill in your worlds here, in this format
        
    exampleworld1:
            
    groups:
                
    '1'ExampleGroup1
                
    '2'ExampleGroup2
        exampleworld2
    :
            
    groups:
                
    '1'ExampleGroup1
                
    '2'ExampleGroup2
    whitelist
    :
    #optionally enable the whitelist
        
    enable-whitelist'true'
    #Global whitelist, must always be filled in when using the whitelist
        
    global:
            use-as-
    blacklist'false'
            
    kick-messageThis is the message a user will see if their group isn't whitelisted.
            groups:
                '
    1': 'true'
                '
    2': 'true'
                '
    4': 'true'
                '
    5': 'true'
    #optionally enable nickname syncing(setting nicknames to forum nicknames)
    nickname-sync:
        enable-nickname-syncing: '
    false'
        nickname-field-in-usertable: ''
    #specify the forum rank ID for banned users, and for unbanned users, for use with the
    #/fban and /funban commands
    forum-banning:
    #Should the ban feature ban players from the server too, or only the forum?
        is-server-ban-too: '
    true'
        banned-forum-user-rank-id: '
    0'
        unbanned-forum-user-rank-id: '
    10'
        ban-message: This is the message a player will see if they get banned.
    promotion-tracks:
    #If you plan to use promotions/demotions, list your track here in this format:
    #'
    NUMBER(ASCENDINGDON'T SKIP A NUMBER, START AT 1)''FORUM RANK ID'
        '1'
    '3'
        '2'
    '5'
        '3'
    '16'
    forum-ranks:
    #If you want to change forum ranks using the /frank command, list your forum ranks here.
    #Format: 'RANK NAME': 'RANK ID'
        
    'ADMINISTRATORS''5'
        'REGISTERED'
    '2'
        'GLOBAL_MODERATORS'
    '4'
    misc:
    #The rate at which the plugin pings your MySQL server to keep the connection alive. Seconds.
        
    mysql-ping-interval'10'
     
  29. Offline

    sethgandy

    So a feature I could REALLY cream my jeans about...
    Have a togglable option to convert username string to all lowercase (cleaned).

    Just because when everyone registers on the forum, they use caps in their name, and while phpbb has a cleaned field, the mod is dependent on case sensitivity. Where as if your mod had this option, I could send clean to clean and BAM! Fantastic action :D

    Worth $10 in my book ;)
     
  30. Offline

    microskies

    I back this suggestion, I also have another one, perhaps you could add birthday linking ? One of the players on my server was asking yesterday if we had anythign for birthdays, and i thoguth it would be good if they could see upcoming birthdays, or specified players birthdays through a command? it wouldbe great if you could add that :DDDD
     
  31. Offline

    sethgandy

    I'm also working on some way, some how to have a random generated code when people register on my forum, so they don't have to use their forum password, because more times than not, the passwords match.. People on my server are kinda' sketch on putting one of their "real" passwords in the game.

    It's hard trying to get around the phpbb code, so I might end up using the Captcha code, saved to the database, as the code ;)
     

Share This Page