Inactive [ADMN/WEB] ForumBridge v1.4 [1.2.4]

Discussion in 'Inactive/Unsupported Plugins' started by Chiller, Mar 3, 2012.

  1. Offline

    zifu

    Yes that would be very helpful. Some of the one line descriptions probably would make sense if I knew exactly what it was looking for. Maybe a couple of sentences for each config item would help.

    Edit: Also, can you add some debugging control? Or some other way to see if its working or not?

    Edit edit: Here's the error I get with what I think is all the correct info:

    10:59:09 [WARNING] [ForumBridge] SQLException! Communications link failure

    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
    10:59:09 [SEVERE] Could not pass event PlayerJoinEvent to ForumBridge
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:441)
    at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:135)
    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:128)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:41)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.NullPointerException
    at net.chillercraft.api.DatabaseHandler.sqlQuery(DatabaseHandler.java:74)
    at net.chillercraft.api.SQL.sqlQuery(SQL.java:28)
    at net.chillercraft.forum.EventListener.onPlayerJoin(EventListener.java:20)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
    ... 10 more
     
  2. Offline

    Chiller

    It is not able to connect to your MySql database, make sure you have the server, port, username, password and database correct!

    Try changing groups-id-field: secondary_group_ids
    To groups-id-field: user_group_id

    And make sure you also have the database correct because what it is doing is that it is trying to set the user database group to 3 but it isn't and looks at that and tries and tries again... So just try that and if that doesn't work then just leave another comment.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 24, 2016
  3. Ahh I found the problem, apparently secondary groups are set to varbinary because they can be in several secondary groups. Now I changed it to INT so it will editable now as well.

    Edit: Though that did not solve it :/ It's still trying to set my group for some reason.. And even if i have the admin group in bPermissions i still don't have it in-game.
     
  4. Offline

    immortalisepic

    Will this work on Smf or mybb? if So it is exactly what i was looking for..

    After i get a nice community built up ill buy xenforo

    Also I have donations on my sever through buycraft.. will this plugin update my forum ranks from what rank they are ingame?
     
  5. Offline

    Chiller

    Yes it will work with smf and mybb but it doesnt update to your ingame rank all you have to do is just /frank <player> <rank> or if their the same rank ingame as on the forum then you will no problem!
     
  6. Offline

    thernztrom

    I get these errors with ForumRank 1.4, latest Vault, bPermissions 2.9.1 and CB-1.2R0.2:
    SERVER.LOG (open)
    Code:
    2012-03-21 16:10:08 [INFO] [ForumBridge] Setting thernztrom to group admin
    2012-03-21 16:10:18 [INFO] [bPermissions] Please select a loaded world!
    2012-03-21 16:10:18 [INFO] [bPermissions] Nothing is selected!
    2012-03-21 16:10:18 [INFO] [ForumBridge] Setting thernztrom to group admin
    2012-03-21 16:10:28 [INFO] [bPermissions] Please select a loaded world!
    2012-03-21 16:10:28 [INFO] [bPermissions] Nothing is selected!
    2012-03-21 16:10:28 [INFO] [ForumBridge] Setting thernztrom to group admin
    2012-03-21 16:10:39 [INFO] [bPermissions] Please select a loaded world!
    2012-03-21 16:10:39 [INFO] [bPermissions] Nothing is selected!
    2012-03-21 16:10:39 [INFO] [ForumBridge] Setting thernztrom to group admin
    2012-03-21 16:10:48 [INFO] [bPermissions] Please select a loaded world!
    2012-03-21 16:10:48 [INFO] [bPermissions] Nothing is selected!
    2012-03-21 16:10:48 [INFO] [ForumBridge] Setting thernztrom to group admin
    2012-03-21 16:10:58 [INFO] [bPermissions] Please select a loaded world!
    2012-03-21 16:10:58 [INFO] [bPermissions] Nothing is selected!
    2012-03-21 16:10:58 [INFO] [ForumBridge] Setting thernztrom to group admin
    2012-03-21 16:11:08 [INFO] [bPermissions] Please select a loaded world!
    2012-03-21 16:11:08 [INFO] [bPermissions] Nothing is selected!
    2012-03-21 16:11:08 [INFO] [ForumBridge] Setting thernztrom to group admin
    2012-03-21 16:11:18 [INFO] [bPermissions] Please select a loaded world!
    2012-03-21 16:11:18 [INFO] [bPermissions] Nothing is selected!
    2012-03-21 16:11:18 [INFO] [ForumBridge] Setting thernztrom to group admin
    2012-03-21 16:11:28 [INFO] [bPermissions] Please select a loaded world!
    2012-03-21 16:11:28 [INFO] [bPermissions] Nothing is selected!
    2012-03-21 16:11:28 [INFO] [ForumBridge] Setting thernztrom to group admin
    2012-03-21 16:11:38 [INFO] [bPermissions] Please select a loaded world!
    2012-03-21 16:11:38 [INFO] [bPermissions] Nothing is selected!
    2012-03-21 16:11:38 [INFO] [ForumBridge] Setting thernztrom to group admin
    2012-03-21 16:11:48 [INFO] [bPermissions] Please select a loaded world!
    2012-03-21 16:11:48 [INFO] [bPermissions] Nothing is selected!
    2012-03-21 16:11:48 [INFO] [ForumBridge] Setting thernztrom to group admin
    2012-03-21 16:11:58 [INFO] [bPermissions] Please select a loaded world!
    2012-03-21 16:11:58 [INFO] [bPermissions] Nothing is selected!
    2012-03-21 16:11:58 [INFO] [ForumBridge] Setting thernztrom to group admin
    2012-03-21 16:12:08 [INFO] [bPermissions] Please select a loaded world!
    2012-03-21 16:12:08 [INFO] [bPermissions] Nothing is selected!
    2012-03-21 16:12:08 [INFO] [ForumBridge] Setting thernztrom to group admin
    2012-03-21 16:12:18 [INFO] [bPermissions] Please select a loaded world!
    2012-03-21 16:12:18 [INFO] [bPermissions] Nothing is selected!
    2012-03-21 16:12:18 [INFO] [ForumBridge] Setting thernztrom to group admin
    2012-03-21 16:12:28 [INFO] [bPermissions] Please select a loaded world!
    2012-03-21 16:12:28 [INFO] [bPermissions] Nothing is selected!
    2012-03-21 16:12:28 [INFO] [ForumBridge] Setting thernztrom to group admin
    2012-03-21 16:12:38 [INFO] [bPermissions] Please select a loaded world!
    2012-03-21 16:12:38 [INFO] [bPermissions] Nothing is selected!
    2012-03-21 16:12:38 [INFO] [ForumBridge] Setting thernztrom to group admin
    2012-03-21 16:12:48 [INFO] [bPermissions] Please select a loaded world!
    2012-03-21 16:12:48 [INFO] [bPermissions] Nothing is selected!
    2012-03-21 16:12:48 [INFO] [ForumBridge] Setting thernztrom to group admin
    2012-03-21 16:12:58 [INFO] [bPermissions] Please select a loaded world!
    2012-03-21 16:12:58 [INFO] [bPermissions] Nothing is selected!
    2012-03-21 16:12:58 [INFO] [ForumBridge] Setting thernztrom to group admin
    2012-03-21 16:13:08 [INFO] /94.231.109.47:56889 lost connection
    2012-03-21 16:13:08 [INFO] [bPermissions] Please select a loaded world!
    2012-03-21 16:13:08 [INFO] [bPermissions] Nothing is selected!
    2012-03-21 16:13:08 [INFO] [ForumBridge] Setting thernztrom to group admin
    2012-03-21 16:13:18 [INFO] [bPermissions] Please select a loaded world!
    2012-03-21 16:13:18 [INFO] [bPermissions] Nothing is selected!
    2012-03-21 16:13:18 [INFO] [ForumBridge] Setting thernztrom to group admin
    2012-03-21 16:13:28 [INFO] [bPermissions] Please select a loaded world!
    2012-03-21 16:13:28 [INFO] [bPermissions] Nothing is selected!
    2012-03-21 16:13:28 [INFO] [ForumBridge] Setting thernztrom to group admin
    2012-03-21 16:13:38 [INFO] [bPermissions] Please select a loaded world!
    2012-03-21 16:13:38 [INFO] [bPermissions] Nothing is selected!
    2012-03-21 16:13:38 [INFO] [ForumBridge] Setting thernztrom to group admin
    2012-03-21 16:13:48 [INFO] [bPermissions] Please select a loaded world!
    2012-03-21 16:13:48 [INFO] [bPermissions] Nothing is selected!

    I also get spammed in-game with the message that I've been set to the admin group.

    Seems like it doesnt know how to sync me, in what world to add me...
    My ForumRank config looks like this:
    ForumRank Config (open)
    Code:
    #
    # For xenForo custom user fields
    db-host: *tjoflöjt*
    db-port: *tjoflöjt*
    db-database: *tjoflöjt*
    db-username: *tjoflöjt*
    db-password: *tjoflöjt*
    multi-tables: false
    use-banned-field: false
    show-on-server: false
    permissions-system: bPerms
    users-table:
      table: xf_user
      user-id-field: user_id
      groups-id-field: secondary_group_ids
      username-field: username
      banned-field: is_banned
      banned-users-group: 7
      default-group: 2
    multi-table:
      table: xf_user_field_value
      field-id-field: field_id
      field-value-field: field_value
      field-id-name: minecraft_name
    on-server:
      table: xf_user_field_value
      field-id-field: field_id
      field-value-field: field_value
      field-id-name: online_server
    groups:
      '3': admin
      '4': mod
      '6': mod
      '31': viking
      '32': merchant
      '33': noble
      '35': duke
      '40': elder
    

    And yes.. its the secondary_group_id's that we use, like almost everyone else.

    Also codename_B might be able to help?
    If it matters here are my bPermissions config files if you want to test it yourself:
    tracks.yml (open)
    Code:
    default:
    - guest
    - viking
    - merchant
    - noble
    - duke
    - elder
    - mod
    - admin
    

    config.yml (open)
    Code:
    auto-save: true
    track-type: single
    debug-mode: false
    allow-offline-mode: false
    use-global-files: false
    

    mirrors.yml (open)
    Code:
    world: world_nether
    world: world_the_end
    
     
  7. Offline

    zok

    How do I add the ign field in the registration form of xenforo? :s
     
  8. Offline

    Chiller

    I did not know if the bPerm support was going to work but I will look into it more...

    [​IMG]
    bottom left of the picture in the users tab that says Custom User Fields

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

    thernztrom

    Thanks! Please let me know when you get time to look at it.
     
  10. Offline

    C0nsole

    So it does or does not work?
     
  11. Offline

    immortalisepic

    Chiller do you think you can help me set it up for mybb 1.6.6, I'm using groupmanager the site is hosted from different host.
     
  12. Offline

    Chiller

    Why don't you try it first.
     
  13. Offline

    NoRC

    Great plugin!

    I downloaded your 1.2 source code and modified it a bit, to make it work with Invision Powerboard forums :)

    Also added a few other configuration options and fixed the spamming of being set to a group.
     
  14. Offline

    C0nsole

    So.. No offence to Chiller but could i maybe have that version?

    Uh.. I don't see any place to put the URL of ur forum... So how does it connect...?

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

    NoRC

    Im still tweaking it, adding some more little features... and more flexability once I'm done I will give the code to Chiller so he can integrate it if he wants.

    I also added a DB reconnection fix as if it idled too long it would loose the mysql connection and not automaticly reconnect when needed.

    You can check it out in action on my server, connect to minecraft.ozgamerparty.com :)

    I have also added the option to record total game time, as well as last online and you can then display that on their profile in the forum as well as forum posts.

    Update: And worked out how to have Invision Power Board display whos on the server on the home page :D

    You put the forums database details not the url :)

    The problem with the spam I can answer, that is because the way the perms are being are not right. This causes an error to occour during autosync, every few seconds... I had a similar problem. I ended up modifying it so that it only displayed your perms being set when you connected.

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

    Chiller

    Through your forum database
     
  17. Offline

    C0nsole

    ohhhhh.... i thought it was MySQL....
    how do I find the info to my forum database?
     
  18. Offline

    thernztrom

    But you have managed to get it to work properly with bpermissions 2.9.1?
     
  19. Offline

    Chiller

    It is you put in your forums mysql database info
     
  20. Offline

    C0nsole

    Chiller
    I feel stupid but, where do I find that....?
     
  21. Offline

    ChrisX930

    Is it possible to add WbbLite2-Support to it?
     
  22. Offline

    NoRC

    No, My server runs BukkitPermissions so I only fixed that one. Not sure what the problem with bPermissions would be.

    However I've now added additional database logging via options (Health, XP, Level, Age, Time Played, Last Online) which are also persistant.

    PS: Chiller not trying to hijack your mod/thread.

    That info would be in a configuration.php file on your webserver where your forums are hosted. Depending on your forum software would depend on where the configuration file is loaded. A side note, if your server runs on a different machine to your forum software you may need to manually (via hosting control panel) add a remote host account to access the database as alot of web hosting companys only allow local connections to MySQL.

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

    Chiller

    No thats fine, if you want you can give it to me and I will release your version (including your name next to it)
     
  24. Offline

    Ablac

    When people purchase VIP from my website its stored in the Secondary Groups Section, can you make ForumBridge check the secondary Groups and give the user the highest ranked group? Also I haven't tested it but want to check before I fully unlock this onto my server will the plugin demote people if there rank is removed on the forums?

    Also Can you add support for Multiple groups? through the secondary_group_id.

    Cause some of my users have 2 - 3 groups and forumbridge only give users the first group.
     
  25. Offline

    Chiller

    I can try and add the secondary groups but when a users rank is removed or not signed up they will be put in the default group.
     
  26. If you add so the plugin can manage multiple groups I will change to this right away!

    And when you made this compatible with bPermissons (It's still spamming "You have been set to [rank])
     
  27. Offline

    Ablac

    This plugin is eating my Ram like crazy... ANd the reason for it is its checking The users Groups every 10 seconds...

    I would rather it check once at the start, or add a setting to make it check at designated times in the settings.
     
  28. Offline

    NoRC

    So after a lengthy chat with Ablac I am making some final changes to my rendition of this plugin...

    - Clear All Permissions on Connect
    - Multiple Groups for Users (Use Forums Secondary Group setting)
    - Custom Online/Offline Value (1 or 0, Online or Offline etc)
    - Custom Connect Message (Go to URL thingy)
    - Restore "MultiRecord" SQL queries for databases that use that table structure for custom values.. i changed it for Invision Powerboard which uses a single table with multiple coloums for custom fields.
    - Toggle Individual Tracking options (Health, Time on Server, Age, XP, Level etc)
     
  29. Lovely, and you are going to make it work with bPermissions?
     
  30. Offline

    thernztrom

    Nice, when will this be relesased? :D
     

Share This Page