Raised This Month: $182 Target: $400
 45% 

[ANY] XenForo Admins (Threaded)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Plugin ID:
2811
Plugin Version:
1.4
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    16 
    Plugin Description:
    Yup!
    Old 02-22-2012 , 13:53   [ANY] XenForo Admins (Threaded)
    Reply With Quote #1

    What is this?!
    This allows for integration with XenForo. You can assign Admin Flags, or just immunity to clients if that's what you'd prefer.

    THIS REQUIRES THE STEAM IDENTITY SERVICE BY DARK IMMORTAL

    I CAN DO THIS BETTERRRRRR!
    Ok. I'm not a database guy, so please expand on what's wrong and or correct it. Always share your changes!

    This Sucks!


    Are there any ConVars?
    Yes there are as of 1.4.
    sm_xenforo_fieldname - Field name used for grabbing the clients SteamID.

    Steam - Steam Identity Service

    What does my file need to look like?
    Good Question!
    FilePath: Path_SM configs/XenForoAdminTranslations.cfg
    (So for the ordinary install it's just addons/sourcemod/configs/XenForoAdminTranslations.cfg )

    The section name is for your respective group number on your site. Ie if you want to assign every Member with the flag c, you'd lookup the group number and place it in the file.

    The Keys are basically what you're already using with FlatFile.

    For example, this is what a file can look like. Huge thanks to Brian for creating it.

    PHP Code:
    "8" // Level 2
    {
            
    "Flags" "kp"
            "Immunity"      "2"
    }

    "7" // Level 1
    {
            
    "Flags" "cdo"
            "Immunity"      "1"
    }

    "14" // Admin Base
    {
            
    "Flags" "abj"

    Thanks to:

    Jake Bunce Who actually knows the Answer to Everything.
    Brian Alpha, Beta, Release testing this, and to suggest such a plugin be made.
    PlagueFest Taking the Step forward to test.
    Attached Files
    File Type: sp Get Plugin or Get Source (XenForoAdmins.sp - 512 views - 9.5 KB)

    Last edited by KyleS; 03-07-2012 at 11:01.
    KyleS is offline
    KyleS
    SourceMod Plugin Approver
    Join Date: Jul 2009
    Location: Segmentation Fault.
    Old 02-22-2012 , 13:53   Re: [ANY] XenForo Admins (Threaded)
    Reply With Quote #2

    Reserved for future documentation, if need be.
    KyleS is offline
    daleGEND
    AlliedModders Donor
    Join Date: Feb 2005
    Location: USA
    Old 02-22-2012 , 14:01   Re: [ANY] XenForo Admins (Threaded)
    Reply With Quote #3

    Looks pretty good. I take it our SourceBans Sync with XenForo didn't work out for you guys .
    __________________
    Bor3d Gaming - A Mature Online Gaming Community

    Feel free to add me on STEAM as well: https://steamcommunity.com/id/b0r3d
    daleGEND is offline
    KyleS
    SourceMod Plugin Approver
    Join Date: Jul 2009
    Location: Segmentation Fault.
    Old 02-22-2012 , 14:09   Re: [ANY] XenForo Admins (Threaded)
    Reply With Quote #4

    Quote:
    Originally Posted by daleGEND View Post
    Looks pretty good. I take it our SourceBans Sync with XenForo didn't work out for you guys .
    There was no support for the new version of XenForo, and our ultimate goal is to ditch SB
    KyleS is offline
    daleGEND
    AlliedModders Donor
    Join Date: Feb 2005
    Location: USA
    Old 02-22-2012 , 14:25   Re: [ANY] XenForo Admins (Threaded)
    Reply With Quote #5

    Quote:
    Originally Posted by KyleS View Post
    There was no support for the new version of XenForo, and our ultimate goal is to ditch SB
    Ah, we can't help with the Sourcebans ditching but the latest version supports 1.1 . We use it on our site. But my ultimate goal is to have everything built into XenForo . Development is underway ;).
    __________________
    Bor3d Gaming - A Mature Online Gaming Community

    Feel free to add me on STEAM as well: https://steamcommunity.com/id/b0r3d

    Last edited by daleGEND; 02-22-2012 at 14:26.
    daleGEND is offline
    Dr.Kleiner
    Junior Member
    Join Date: Jun 2011
    Location: Deutchland, Stuttgart
    Old 02-23-2012 , 14:12   Re: [ANY] XenForo Admins (Threaded)
    Reply With Quote #6

    It gonna be nice to make site-control. Well, i'll think about dat.
    It's nice to control group-flags for an a member.
    Oh, and better: remove detecting of secondary usergroup. (If i understood right). It's dangerous.
    __________________
    Are you shure?
    Dr.Kleiner is offline
    Send a message via Skype™ to Dr.Kleiner
    KyleS
    SourceMod Plugin Approver
    Join Date: Jul 2009
    Location: Segmentation Fault.
    Old 02-23-2012 , 14:15   Re: [ANY] XenForo Admins (Threaded)
    Reply With Quote #7

    Quote:
    Originally Posted by Dr.Kleiner View Post
    It gonna be nice to make site-control. Well, i'll think about dat.
    It's nice to control group-flags for an a member.
    Oh, and better: remove detecting of secondary usergroup. (If i understood right). It's dangerous.
    Sorry, I can't say I understand this post AT ALL.

    If you have a question or concern can you post in your native language?
    KyleS is offline
    KyleS
    SourceMod Plugin Approver
    Join Date: Jul 2009
    Location: Segmentation Fault.
    Old 02-26-2012 , 18:14   Re: [ANY] XenForo Admins (Threaded)
    Reply With Quote #8

    There was a race condition in 1.2, this has been fixed in 1.3b.

    New version is up!
    KyleS is offline
    minimoney1
    SourceMod Donor
    Join Date: Dec 2010
    Old 03-07-2012 , 06:27   Re: [ANY] XenForo Admins (Threaded)
    Reply With Quote #9

    Hooly...
    Good thing I searched up xenForo, definitely does help me, but one question:
    Could you support this plugin instead?
    Link: http://xenforo.com/community/resourc...tegration.258/
    EDIT: I'm working on a version that supports that plugin, just give me some time, have to go to a trip and come back =.=

    Last edited by minimoney1; 03-07-2012 at 06:56.
    minimoney1 is offline
    KyleS
    SourceMod Plugin Approver
    Join Date: Jul 2009
    Location: Segmentation Fault.
    Old 03-07-2012 , 11:04   Re: [ANY] XenForo Admins (Threaded)
    Reply With Quote #10

    Quote:
    Originally Posted by minimoney1 View Post
    Hooly...
    Good thing I searched up xenForo, definitely does help me, but one question:
    Could you support this plugin instead?
    Link: http://xenforo.com/community/resourc...tegration.258/
    EDIT: I'm working on a version that supports that plugin, just give me some time, have to go to a trip and come back =.=
    I'm not dropping support for Steam Identity Service, but I've uploaded 1.4 in hopes that it helps you. My guess is steam_auth_id would work. However, I can't really say I know much about SQL queries, and it looks like a table instead of a field.

    This should work with a simple query addition, if this is all you're after. Good luck!

    Last edited by KyleS; 03-07-2012 at 11:04.
    KyleS is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 18:39.


    Powered by vBulletin®
    Copyright ©2000 - 2017, vBulletin Solutions, Inc.
    Theme made by Freecode