AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] XenForo Admins (Threaded) (https://forums.alliedmods.net/showthread.php?t=178874)

KyleS 02-22-2012 13:53

[ANY] XenForo Admins (Threaded)
 
1 Attachment(s)
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.

KyleS 02-22-2012 13:53

Re: [ANY] XenForo Admins (Threaded)
 
Reserved for future documentation, if need be.

daleGEND 02-22-2012 14:01

Re: [ANY] XenForo Admins (Threaded)
 
Looks pretty good. I take it our SourceBans Sync with XenForo didn't work out for you guys :P.

KyleS 02-22-2012 14:09

Re: [ANY] XenForo Admins (Threaded)
 
Quote:

Originally Posted by daleGEND (Post 1655291)
Looks pretty good. I take it our SourceBans Sync with XenForo didn't work out for you guys :P.

There was no support for the new version of XenForo, and our ultimate goal is to ditch SB :P

daleGEND 02-22-2012 14:25

Re: [ANY] XenForo Admins (Threaded)
 
Quote:

Originally Posted by KyleS (Post 1655302)
There was no support for the new version of XenForo, and our ultimate goal is to ditch SB :P

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 ;).

Dr.Kleiner 02-23-2012 14:12

Re: [ANY] XenForo Admins (Threaded)
 
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.

KyleS 02-23-2012 14:15

Re: [ANY] XenForo Admins (Threaded)
 
Quote:

Originally Posted by Dr.Kleiner (Post 1655919)
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 02-26-2012 18:14

Re: [ANY] XenForo Admins (Threaded)
 
There was a race condition in 1.2, this has been fixed in 1.3b.

New version is up!

minimoney1 03-07-2012 06:27

Re: [ANY] XenForo Admins (Threaded)
 
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 =.=

KyleS 03-07-2012 11:04

Re: [ANY] XenForo Admins (Threaded)
 
Quote:

Originally Posted by minimoney1 (Post 1664401)
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!


All times are GMT -4. The time now is 08:29.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.