get plugin/*
* by [gOf]-Soul from http://www.gofclan.org
*
* This is a very simple plugin I wrote to easily control my admin access
* based on phpbb user groups. With 7 servers it became very frustrating
* to keep up to date on who had what admin access to which servers. This
* allows us to do clan tag protection and clan recruitment tag protection
* on our servers to make sure only authorized people are wearing those tags.
* By using a clan tag protect plugin and given them the
* appropriate admin flags
* It also allows us to remove people from the clan and they automatically
* have their admin privs removed once they are removed from the admin
* groups on the forums.
*
* **WARNING** **WARNING** **WARNING** **WARNING** **WARNING**
* This plugin will overwrite your existing users.ini
* file. It does this so that if ever your database
* is unable to be reached there will be a cached version
* of your admin setup on the server so that people still
* retain their current admin.
*
* Admins arent granted access immediately through mysql and the forum plugin.
* It takes one map change for new admins to be picked up and for old admins to
* be removed from the system.
*
* I place this plugin above the admin.amxx plugin in the plugins.ini file
* The first time the plugin loads it cannot connect to the database. I assume
* because maybe some of the helper portions for db access has not been loaded
* yet. I have never tested this plugin down below where custom plugins
* normally go.
*
* Requires:
* AmxModX 1.75 and higher
* Mysql DB
*
* Forums Supported:
* PhpBB Forums
*
* Will support more forums is provided with tables and structure I need to hit
*
* To Install:
* Create bbmod.cfg file in your configs directory with the following information
bbmod_sql_host "127.0.0.1"
bbmod_sql_username "root"
bbmod_sql_password ""
bbmod_sql_database "dbname"
bbmod_phpbb_prefix "phpbb_"
bbmod_prefix "bbmod_"
bbmod_advert_show 1
bbmod_advert_frequency 10
bbmod_advert_delay 0.2
bbmod_advert_message 1
bbmod_advert_dontannoy 0
bbmod_advert_format 2
* Enter your values for the sql host, username, password, database and your
* database prefix.
*
* If you leave the default value for the bbmod_prefix then two tables will
* be created in your database
bbmod_version <- Used to keep track from update to update for any
possible database structure updates (automatic)
bbmod_linker <- Used to link your phpbb.user_id with your steamid
may integreate some type of forum stats in the future
if people are interested
* Create "groups.ini" in your configs directory in the following format:
* "phpbb forum group" "access flags being granted" (one line per group)
"Founders" "acdefghijklmnopqrstu"
"Clan Leaders" "acdefghijku"
"Senior Admins" "cdefijku"
"Junior Admins" "cdeiu"
"Clan Members" "it"
"RS All" "b"
*
* amx_setsteamid usage
* amx_setsteamid "your username here" "your password here"
*
* Each person or "clan member" in our case must run the amx_setsteamid
* command. Once they do that a forum link between their steamid and their
* forum user id will be created. Next map change if they deserve any admin
* flags based on their usergroup membership they will automatically be
* given the appropriate flags
*
* Plugin advertisment can be managed by the advert area of the config file
* bbmod_advert_show (1|0) // 1 = on, 0 = off
* bbmod_advert_frequency 10.0 // number of minutes between advertisement popups
* bbmod_advert_delay 2.0 // number of miunutes to wait before showing first
* advertisement
* bbmod_advert_format (1|2) // 1 = client print, 2 = hud message, 2 = default
* bbmod_advert_dontannoy (1|0) // 1 = annoy the heck out of them, 0 = only show advert once
* // if dontannoy is set to 1 then advert frequency is ignored
* 1.1c (08-05-2006)
-Added advert config information to the config file. To give a little more
control as to how the adverts behave. Defaults to non annoying mode.
-Moved the advert to the client_connect to only show it once per map if
the client has not linked their steamid
-Changed the name from Soul's DB Mod to Bulletin Board Admin Mod
* 1.1b (07-27-2006)
-Fixed the amx_setsteamid command so that everyone could run it.
-Updated documentation with the amx_setsteamid needed information
* 1.1a (07-27-2006)
-Code cleanup
-Removing debugging output code
-Added automatic table creation code
-Modified to new SQL version to eliminate studdering for remote sql server
-Added amx_setsteamid command that players run to automatically link their
forum account with their steamid
* 1.0 (12-12-2005)
* -Initial creation
///////////////////////////////////////
// //
// AUTHOR'S ADDITIONAL COMMENTS //
// //
///////////////////////////////////////
Open to all suggestions at this time. Although we don't use stats on our server
I may end up working some type of stats integration up. Would consider something
non-obtrusive in a regular php config. I don't like modifying phpbb config files
so would consider "graphics generation" link to give forum users that would allow
them to show their current stats/ranking information in their signature.
I suggest this might possibly work with hlstats because it takes a long time to copy
amxmodx stats information for 2k people out to the database from inside amxmodx
this is not an option for those of us that use remote mysql databases.
*/
Bulletin Board Admin Mod
-
- Full Member
- Posts: 1815
- Joined: Sun Nov 21, 2021 4:55 pm
- Jucator SA:MP ?: Nu
- Nick:: greenie
- Jucator CS ?: Nu
Bulletin Board Admin Mod
Jump to
- Inregistreaza-te pe Zonek Telecom ca sa vezi toate Subiectele
- -->>Regulile Forumului & Descriere<<--
- ↳ Regulament Forum
- ↳ Prezentare
- ↳ Cereri Parteneriate
- ↳ Intri si tu in reteaua zonek??
- ↳ Sugestiile voastre
- ↳ Raportare bug-uri/probleme forum
- -->>Mica Publicitate & Reclama<<--
- ↳ Reclama diverse siteuri & servere de Counter-Strike
- ↳ Vand
- ↳ Cumpar
- -->>Servere Comunitare NON-STOP<<--
- ↳ Discord Server Zonek Telecom
- ↳ GO.ZONEK.RO
- ↳ ARENA.ZONEK.RO
- ↳ AWP.ZONEK.RO
- ↳ Bucuresti Create Server
- ↳ Evidenta redirect
- ↳ Clan TAG
- zonek.ro - Counter Strike Global Offensive
- ↳ SourceMod Plugins
- ↳ Admin Commands
- ↳ Fun Stuff
- ↳ Gameplay
- ↳ General Purpose
- ↳ Server Management
- ↳ Statistical
- ↳ Technical/Development
- ↳ Tutoriale
- ↳ Probleme la servere si Jocul Counter-Strike: Global Offensive
- -->>Jocuri & Resurse Counter Strike<<--
- ↳ Tutoriale cs 1.6- Server
- ↳ Tutoriale Moduri Counter - Strike [NOU]
- ↳ Tutoriale cs - Install Counter-Strike & HLDS
- ↳ Scripting
- ↳ Mapping / Harti
- ↳ Cereri Tutoriale
- ↳ Download pluginuri
- ↳ Discutii legate de plugin-uri - Cereri Plugin-uri
- ↳ Download zone
- ↳ AdminMod
- ↳ AmxModX
- ↳ Admin Commands
- ↳ General Purpose
- ↳ Statistical
- ↳ Gameplay
- ↳ Event Related
- ↳ Server Management
- ↳ Fun Stuff
- ↳ Technical/Development
- ↳ AmxMod
- ↳ Addons-uri Counter Strike
- ↳ Addonsuri AmxModX
- ↳ Addonsuri AdminMod
- ↳ Addonsuri AmxMod
- ↳ Cereri addonsuri
- ↳ Probleme tehnice
- ↳ HLDS
- ↳ Client 1.6
- ↳ Alte jocuri
- -->>Diverse<<--
- ↳ Discutii diverse
- ↳ Realitatea Baptista Castellon
- ↳ Arta
- ↳ Studentie
- ↳ Auto / Moto
- ↳ Fashion
- ↳ Sanatate
- -->> San Andreas Multi Player <<--
- ↳ Discutii Scripting
- ↳ Probleme GodFather
- ↳ Tutoriale
- ↳ Cerere Tutoriale
- ↳ Salonul Scripturilor
- ↳ Plugins
- ↳ Maps
- ↳ Gamemode
- ↳ FilterScript
- ↳ News Development
- ↳ Ajutor Servere
- -->> Photoshop <<--
- ↳ Photoshop
- ↳ Creatii
- ↳ Gifts
- ↳ Graphic Battle
- ↳ Tutoriale
- ↳ Competitii: - SOTW
- ↳ Resurse
- ↳ Ripperi
- ↳ Cereri Photoshop
- ↳ Da LIKE pe FaceBook si castigi 10 euro saptamanal!!
- -->>Filme & Muzica<<--
- ↳ Filme
- ↳ Muzica
- -->>Minunile Lumii Antince<<--
- ↳ Cele 7 Minuni ale Lumii
- ↳ Minuni uitate ale Lumii Antice
- -->>LOVE & SEX<<--
- ↳ Love & Sex
- ↳ Contraceptia
- ↳ Dragostea
- -->>Hubul dc.zonek.ro al serverelor de Counter-Strike<<--
- ↳ Totul despre hubul dc.zonek.ro
- -->>Culturi si Mistere<<--
- ↳ Culturi ascunse, mistere si fapte inexplicabile
- ↳ Magie
- ↳ Lumea Viselor
- -->>|Messenger| & Curiozitatii<<--
- ↳ <|Mesaje tampite care se dau pe mess|>
- ↳ Intrebari fara raspuns
- ↳ Stiati ca ?
- ↳ Pentru cei nemultumiti
- Manage Holidays/Sarbatori si Zile Onomastice
- ↳ Manage Holidays / Sarbatori si Zile Onomastice
- Recycle Bin
- ↳ Recycle Bin
- ↳ HaoS.ZoneK.Ro [ Public Server ]
- ↳ Regulament
- ↳ Anunturi
- ↳ Cafenea Admini
- ↳ Staff
- ↳ Cerere Admin
- ↳ Cerere Slot
- ↳ Cerere UnBan
- ↳ Reclamatie Admini
- ↳ Lista Banuri
- ↳ Redirecte
- ↳ djs.zonek.ro
- ↳ Regulament
- ↳ Cereri admin / slot pe djs.zonek.ro
- ↳ Cerere UnBan
- ↳ Reclamatii admini / playeri
- ↳ Campionat 2 vs 2
- ↳ Discutii Libere
- ↳ Clanu Dj's
- ↳ Ballas
- ↳ Nortenos
- ↳ Surenos
- ↳ Taxele serverului
- ↳ Vanzari - Cumparari
- ↳ Afaceri
- ↳ Servicii
- ↳ Case
- ↳ Politia Romana
- ↳ Discutii generale despre factiuni
- ↳ Pompieri si Medici
- ↳ Serviciul Roman de informatii
- ↳ Armata Romana
- ↳ Clanul Frusin
- ↳ Clanul Racean
- ↳ Guvernator San Andreas
- ↳ Asasini Platiti
- ↳ Reporteri ProTV
- ↳ Transport Company
- ↳ Instructori
- ↳ Clanul Camataru
- ↳ Job-uri secundare
- ↳ Tow Car Company
- ↳ Tutoriale GTA SA:MP
- ↳ freerunners.zonek.ro
- ↳ Admins only
- ↳ Regulament
- ↳ Anunturi
- ↳ Donatii
- ↳ Echipa nord
- ↳ Cereri admin/slot
- ↳ Cereri unban
- ↳ De ce am dat ban
- ↳ Cine face abuz de admin
- ↳ Discutii libere
- ↳ Evidenta redirecte
- ↳ Ghenaaaaaa.....!!!
- ↳ Grove Street
- ↳ Ballas Family
- ↳ Mayor
- ↳ The Triads
- ↳ The Mafia
- ↳ Varios Los Aztecas
- ↳ License Faction
- ↳ Los Santos Vagos
- ↳ News Reporter
- ↳ Taxi Company
- ↳ National Guard
- ↳ Police Departament
- ↳ Federal Bureau of Investigaton
- ↳ Medics
- ↳ Hitman Agency
- ↳ furien.zonek.ro
- ↳ Regulament Server
- ↳ Anunturi
- ↳ Cerere Admin / Slot
- ↳ Cerere UnBan
- ↳ Cerere Ban
- ↳ Reclamatii
- ↳ Echipa furien.zonek.ro
- ↳ Mariri / degradari
- ↳ Redirecte
- ↳ Discutii Generale
- ↳ Download Redirecte
- ↳ FAN.ZONEK.RO # Fan Curier Server
- ↳ intrudersWOW - www.zonek.ro
- ↳ Announcements / Server info
- ↳ International Zone
- ↳ Romanian
- ↳ German
- ↳ English
- ↳ Requests
- ↳ Ban \ Mute Request
- ↳ Unban / Unmute requests
- ↳ Bug Report
- ↳ Items
- ↳ Other
- ↳ Fixed bugs
- ↳ General Discussion
- ↳ Ze.Zonek.Ro # Intruders Zombie
- ↳ Stream name: ...::: CooLFM :::... - Cel mai tare Radio
- ↳ I'm in love!
- ↳ Request
- ↳ Events - Radio CooLFM
- ↳ Cautam Dj`eitze si DJ-eii
- ↳ Personal Top Ten (?)
- ↳ Zonek SA:MP Official Server
- ↳ Informatii
- ↳ Sugestii
- ↳ Update's
- ↳ Factiuni
- ↳ Police Depatament
- ↳ Federal Bureau of Investigations
- ↳ National Guard
- ↳ Fireman/Paramedics
- ↳ The Mafia
- ↳ The Triads
- ↳ The Mayor
- ↳ Hitman Agency
- ↳ News Reporter
- ↳ Taxi Company
- ↳ License Faction
- ↳ Los Santos Vagos
- ↳ Varios Los Aztecas
- ↳ Ballas
- ↳ Grove Street
- ↳ NFS Club
- ↳ NRG Club
- ↳ Plangeri
- ↳ Admin's Zone
- ↳ Diverse
- ↳ Buguri
- ↳ Statistici WEB
- ↳ LIGHT.ZONEK.RO | Anti-Cheat | Skins |
- ↳ DM.ZONEK.RO
- ↳ WAR3.ZONEK.RO
- ↳ ELITE.ZONEK.RO