Raised This Month: $51 Target: $400
 12% 

Release SourceBans++ (v1.6.4) [Updated: 2021-10-06]


Post New Thread Closed Thread   
 
Thread Tools Display Modes
ffriozi
Senior Member
Join Date: Feb 2016
Old 03-21-2016 , 14:07   Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
#631

Quote:
Originally Posted by NomisCZ View Post
You can do it in /includes/system-functions.php
Lines: 169 - 172

PHP Code:
...

/**
 * Displays the pagetabs
 *
 * @return noreturn
 */
function BuildPageTabs()
{
    global 
$userbank;
    
AddTab("Dashboard""index.php?p=home""This page shows an overview of your bans and servers.");
    
AddTab("Servers""index.php?p=servers""All of your servers and their status can be viewed here");
    
AddTab(" Bans ""index.php?p=banlist""All of the bans in the database can be viewed from here.");
    
AddTab("Comms""index.php?p=commslist""All of the communication bans (such as chat gags and voice mutes) in the database can be viewed from here.");

AddTab("Rank""http://mydomain.com/ranks""This page shows players rank."); // <= HERE ADD NEW LINE WITH YOUR CUSTOM LINK

... 
Thank you
ffriozi is offline
Jackol1234
Senior Member
Join Date: Apr 2015
Old 03-21-2016 , 18:09   Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
#632

Is there a way to have admins have different permissions on different servers? Let's say I have server A and server B. I want an admin to be mod on server A but admin on server B. The way it currently is, The admin will have his highest group perms on all servers he has access to. Is there a way to make it separate through sourcebans?

Last edited by Jackol1234; 03-21-2016 at 18:09.
Jackol1234 is offline
Creampuffyness
Senior Member
Join Date: Jun 2009
Old 03-21-2016 , 18:26   Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
#633

Quote:
Originally Posted by Jackol1234 View Post
Is there a way to have admins have different permissions on different servers? Let's say I have server A and server B. I want an admin to be mod on server A but admin on server B. The way it currently is, The admin will have his highest group perms on all servers he has access to. Is there a way to make it separate through sourcebans?
Through Sourcebans no. I believe Sourcebans 2.0 had that feature, but that project is abandoned. Now there is a way to do what you are asking. I had this on a few of my servers where I wanted my Mods to have admin. You will need to use admin-flatfile.smx (a default Sourcemod plugin). Manually make an entry in your admins_simple.ini with their steamid and their flags you want them to have. The trick is only only add the additional flags you want them to have.

So lets say we have a mod named Bruno in a group with flags A, B, C, D is sourcebans. If you want them to have additional flags E, F, G on a certain server, manually add them in admins_simple.ini with only flags E, F, G. Sourcemod will read and merge the permissions, and they should have A, B, C, D, E, F, G when they join the server.
__________________
Creampuffyness is offline
Jackol1234
Senior Member
Join Date: Apr 2015
Old 03-21-2016 , 19:20   Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
#634

Quote:
Originally Posted by Creampuffyness View Post
Through Sourcebans no. I believe Sourcebans 2.0 had that feature, but that project is abandoned. Now there is a way to do what you are asking. I had this on a few of my servers where I wanted my Mods to have admin. You will need to use admin-flatfile.smx (a default Sourcemod plugin). Manually make an entry in your admins_simple.ini with their steamid and their flags you want them to have. The trick is only only add the additional flags you want them to have.

So lets say we have a mod named Bruno in a group with flags A, B, C, D is sourcebans. If you want them to have additional flags E, F, G on a certain server, manually add them in admins_simple.ini with only flags E, F, G. Sourcemod will read and merge the permissions, and they should have A, B, C, D, E, F, G when they join the server.
Thank you so much for this!
Jackol1234 is offline
GlobalEliteTradeServers
Member
Join Date: Apr 2015
Old 03-22-2016 , 17:02   Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
#635

Are there any other themes for this other than bootstrap?
GlobalEliteTradeServers is offline
braak0327
AlliedModders Donor
Join Date: Dec 2012
Location: NORT....SOUTH KOREA
Old 03-22-2016 , 18:28   Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
#636

Quote:
Originally Posted by GlobalEliteTradeServers View Post
Are there any other themes for this other than bootstrap?

You can find original theme in setting
__________________
I'M KIMCHI
braak0327 is offline
Send a message via Skype™ to braak0327
GlobalEliteTradeServers
Member
Join Date: Apr 2015
Old 03-22-2016 , 19:52   Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
#637

Quote:
Originally Posted by braak0327 View Post
You can find original theme in setting
Not showing for us, do I need to import it from anywhere?
GlobalEliteTradeServers is offline
pepe_thugs
Senior Member
Join Date: Aug 2010
Location: Portugal , Braga
Old 03-23-2016 , 09:25   Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
#638

It is possible to add in the next version static ban times ?
Or anyone can help to add this ?

Last edited by pepe_thugs; 03-23-2016 at 09:25.
pepe_thugs is offline
ffriozi
Senior Member
Join Date: Feb 2016
Old 03-24-2016 , 16:59   Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
#639

=delete this=

Last edited by ffriozi; 03-24-2016 at 17:05.
ffriozi is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 03-24-2016 , 19:23   Re: [RELEASE] SourceBans++ (v1.5.4.2) [Updated: 2016-03-09]
#640

Quote:
Originally Posted by ffriozi View Post
=delete this=
Use the fucking delete button.

__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].

Last edited by DarkDeviL; 03-24-2016 at 19:31.
DarkDeviL is offline
Closed Thread



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 09:27.


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