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

SourceBans 2.0 Alpha (2013/09/04)


Post New Thread Reply   
 
Thread Tools Display Modes
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 09-05-2013 , 14:03   Re: SourceBans 2.0 Alpha (2013/09/04)
Reply With Quote #161

Yes, that's normal.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
Groger
Veteran Member
Join Date: Oct 2009
Location: Belgium
Old 09-05-2013 , 14:17   Re: SourceBans 2.0 Alpha (2013/09/04)
Reply With Quote #162

Okay but I can't continue the setup without sourcebans.php. So Just a blank one than?

Last edited by Groger; 09-05-2013 at 15:45.
Groger is offline
XuluniX
Junior Member
Join Date: Jun 2013
Old 09-05-2013 , 15:48   Re: SourceBans 2.0 Alpha (2013/09/04)
Reply With Quote #163

check the permissions on your folders
the installer can't create the files/foldes
XuluniX is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 09-05-2013 , 16:03   Re: SourceBans 2.0 Alpha (2013/09/04)
Reply With Quote #164

Dj I haven't had a chance to check the code but any chance you can have a forward called when a ban is made?

It was a request for an addon for my rtf plugin to automatically report bans to the forums but I can't add support for SB due to the lack of a forward when a players banned.

Sm had one for their default ban command. Basically I would only need the banned player. The admin who banned. And the reason
Doc-Holiday is offline
Groger
Veteran Member
Join Date: Oct 2009
Location: Belgium
Old 09-05-2013 , 16:27   Re: SourceBans 2.0 Alpha (2013/09/04)
Reply With Quote #165

Quote:
Originally Posted by XuluniX View Post
check the permissions on your folders
the installer can't create the files/foldes
I did that yeah, but the last error said it was missing a file so I assumed it was actually missing a file But I just had to give the folder application/config the right permissions.

And Tsunami, about the theming i actually want to create a global theme but I can't even set up a seperate theme because its pretty hard for a non-developer from the looks of it. I theme for drupal, wordpress and other frameworks and they all make sense, but this one is beyond me (imo it looks pretty bad for theming but thats probably because I don't understand it yet)

Last edited by Groger; 09-05-2013 at 17:01.
Groger is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 09-05-2013 , 17:16   Re: SourceBans 2.0 Alpha (2013/09/04)
Reply With Quote #166

Quote:
Originally Posted by Doc-Holiday View Post
Dj I haven't had a chance to check the code but any chance you can have a forward called when a ban is made?
Could've just checked the code in the time it took you to write that post But you can just use OnBanClient/OnBanIdentity, SourceBans 1.5 and 2.0 use it too to block the original ban and redirect it to the database. Just make sure to return Plugin_Continue so you don't break SourceBans.

Quote:
Originally Posted by Groger View Post
(imo it looks pretty bad for theming but thats probably because I don't understand it yet)
Once the actual theme is nearing completion we'll see if we can make it simpler.

I've also found the bug with changing the theme.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.

Last edited by DJ Tsunami; 09-06-2013 at 04:23.
DJ Tsunami is offline
Blackglade
Senior Member
Join Date: Jul 2012
Location: NYC
Old 09-06-2013 , 16:40   Re: SourceBans 2.0 Alpha (2013/09/04)
Reply With Quote #167

TO DJ Tsunami!

I am checking out the latest sourcebans and so far it looks pretty well done! I believe there is however an error with filepath as far as that is concerned. On my website my filepath is something like this:

/var/www/<website name>/<website files>

and for sourcebans

/var/www/<website name>/sourcebans/<sourceban files>

It seems the code is designed to assume that sourcebans is in the main directory of the site.... which it is not! Haven't looked at the php code so im not sure but the reason ive noticied this is because on the main dashboard with the gameconnect picture..... Originally upon installing it here.. the picture was missing and after looking at the html and seeing where the picture was linking to. It was linking to the following:

www.mywebsite.com/images/logo-large.jpg

when the actual url is

http://www.mywebsite.com/sourcebans/...logo-large.jpg
Blackglade is offline
Blackglade
Senior Member
Join Date: Jul 2012
Location: NYC
Old 09-06-2013 , 16:43   Re: SourceBans 2.0 Alpha (2013/09/04)
Reply With Quote #168

Also on a side note... will this support SQL Admins. I am not using the admin-flatfile.smx plugin at all and have removed it from my servers. Instead i prefer and want to use SQL Admins...
Blackglade is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 09-06-2013 , 16:58   Re: SourceBans 2.0 Alpha (2013/09/04)
Reply With Quote #169

Quote:
Originally Posted by Blackglade View Post
Also on a side note... will this support SQL Admins. I am not using the admin-flatfile.smx plugin at all and have removed it from my servers. Instead i prefer and want to use SQL Admins...
SourceBans has a built-in admin management system.
__________________
Dr. McKay is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 09-07-2013 , 00:23   Re: Re: SourceBans 2.0 Alpha (2013/09/04)
Reply With Quote #170

Quote:
Originally Posted by DJ Tsunami View Post
Could've just checked the code in the time it took you to write that post But you can just use OnBanClient/OnBanIdentity, SourceBans 1.5 and 2.0 use it too to block the original ban and redirect it to the database. Just make sure to return Plugin_Continue so you don't break SourceBans.
I can't do much of anything. I won't have my Internet on my pc until they get of their lazy assess and come out and rerun the lines to the house from the street.

But thanks for the answer. (Reading code on my phone is nearly impossible)

And the version I was referenced to didn't have one. I will make that request them

Last edited by Doc-Holiday; 09-07-2013 at 00:24.
Doc-Holiday is offline
Reply



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 02:31.


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