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

Advanced Bans (Real Time) by Exolent


Post New Thread Reply   
 
Thread Tools Display Modes
sigerman
Senior Member
Join Date: Aug 2013
Location: Argentina, Bs.As.
Old 07-28-2018 , 12:14   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1441

ZEDD_Intensity your php works fine!

Just a little detail, the bans are put in the list the oldest up and the newest down (permanent and temporal bans)
Would be great if it were upside down

Anyways, I'm already using your php, and I love It
______________________
Nevermind, you already told why you didn't organize them! Sorry!

https://forums.alliedmods.net/showpo...postcount=1426

(The file is set to sort bans according to the ban times from Longest to Shortest and then Permanent Bans. So all Permas will always be at the end. I wanted to sort the bans from newest to oldest, but I couldn't find any field that sent a detail for when the ban was issued, like a BanID or something.)

Last edited by sigerman; 07-28-2018 at 12:20. Reason: Clarifying
sigerman is offline
Marin Vojnic
Junior Member
Join Date: Jul 2010
Old 07-30-2018 , 17:32   Re: Advanced Bans (SQL) | for WEBSITE / PHP
Reply With Quote #1442

Quote:
Originally Posted by mimos04 View Post
Done that at the 1st place and success.

if using domain is it supported?
Help me pls for ativate this script. I'm everithing input on the script. My sql pass and other, that will be see :

$sql_host = "iphosting"; // leave blank for localhost
$sql_user = "apbhqcom_testban";
$sql_pass = "xxxx";
$sql_db = "apbhqcom_testban";

SERVER SQL:
amx_sql_host "IPHOSTING"
amx_sql_user "apbhqcom_testban"
amx_sql_pass "xxxx"
amx_sql_db "apbhqcom_testban"
amx_sql_table "admins"
amx_sql_type "mysql"

And when I use php, I dont see anything, only "This page isn’t working". Error say me this:
[30-Jul-2018 23:28:41 Europe/ PHP Fatal error: Call to undefined function mysqli_connect() in /home/xxx/xxx/xxx/advanced_bans.php on line 53

Why he dont want connected with my database?
Marin Vojnic is offline
ZEDD_Intensity
Senior Member
Join Date: Jun 2016
Old 07-30-2018 , 22:49   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1443

Quote:
Originally Posted by sigerman View Post
ZEDD_Intensity your php works fine!


Quote:
Originally Posted by Marin Vojnic View Post
Help me pls for ativate this script. I'm everithing input on the script. My sql pass and other, that will be see :
Error say me this:
[30-Jul-2018 23:28:41 Europe/ PHP Fatal error: Call to undefined function mysqli_connect() in /home/xxx/xxx/xxx/advanced_bans.php on line 53
Hey there,

This error usually occurs when your webserver doesn’t have mysqli extention installed/enabled. Please verify it’s installation.
If you’re not sure how to do it, please contact your administrator/host and he should get it all ready for you.

Warm Regards,
ZEDD
__________________
ZEDD_Intensity is offline
Marin Vojnic
Junior Member
Join Date: Jul 2010
Old 07-31-2018 , 12:02   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1444

Quote:
Originally Posted by ZEDD_Intensity View Post




Hey there,

This error usually occurs when your webserver doesn’t have mysqli extention installed/enabled. Please verify it’s installation.
If you’re not sure how to do it, please contact your administrator/host and he should get it all ready for you.

Warm Regards,
ZEDD
OMG I'm totali idiot. That be a night when try taht. Now I custom ativated my PHP version and activated msqly Thank you very very much

But now I see that script not worky great. Dont have pagination, but I activated in script. And other name in list I dont see... Hmm IDK why, but we have this http://www.apb-hq.com/ban and working great, but IDK how create pagination

Last edited by Marin Vojnic; 07-31-2018 at 12:07.
Marin Vojnic is offline
Old 07-31-2018, 12:17
thEsp
This message has been deleted by thEsp.
Marin Vojnic
Junior Member
Join Date: Jul 2010
Old 07-31-2018 , 15:11   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1445

Quote:
Originally Posted by thEsp View Post
Good Job exolent!
I tried this on my server and It actually works
What is works? I tested work, but php script not regular. See my page, why dont see "player name" and Player SteamID/IP?
Marin Vojnic is offline
sigerman
Senior Member
Join Date: Aug 2013
Location: Argentina, Bs.As.
Old 10-03-2018 , 10:07   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1446

@ZEDD_Intensity

It is possible for you to remove the *** in the steam ids of the admins and let everyone see It?

I tried with no success
sigerman is offline
ZEDD_Intensity
Senior Member
Join Date: Jun 2016
Old 10-03-2018 , 14:51   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1447

Quote:
Originally Posted by sigerman View Post
@ZEDD_Intensity

It is possible for you to remove the *** in the steam ids of the admins and let everyone see It?

I tried with no success
Hi there,

Original Post Updated. Replace your original advanced_bans.php with the one in the attachment and all SteamIDs will be publicly visible.

Keep in mind that the file is just an edit to the default one that you primarily downloaded. Replacing it with the attachment will reset your edits made(if any), for example, Server name, SQL, Colors, etc.

Hope it works out well for you.
Warmest Regards,
ZEDD
Attached Files
File Type: zip advanced_bans_uncensored.zip (3.1 KB, 112 views)
__________________

Last edited by ZEDD_Intensity; 01-20-2019 at 06:40.
ZEDD_Intensity is offline
sigerman
Senior Member
Join Date: Aug 2013
Location: Argentina, Bs.As.
Old 10-18-2018 , 00:40   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1448

Sorry for taking too long to test It

It works fine!! )
sigerman is offline
mousesports
Senior Member
Join Date: Oct 2010
Old 11-21-2018 , 15:53   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1449

ML_NOTFOUND: AB_BAN_INFORMATION
ML_NOTFOUND: AB_NAME: Nike.w0w
ML_NOTFOUND: AB_IP: 92.86.39.12
ML_NOTFOUND: AB_REASON: test-plugin
ML_NOTFOUND: AB_BAN_LENGTH: 1 minute
ML_NOTFOUND: AB_UNBAN_TIME: 21:48:00 11/21/2018


Can anyone help with this error ? I have romanian language to advanced_bans.txt on addons/amxmodx/data/lang but still get this error

Last edited by mousesports; 11-21-2018 at 15:53.
mousesports is offline
btd
New Member
Join Date: Oct 2015
Old 11-21-2018 , 18:44   Re: Advanced Bans (Real Time) by Exolent
Reply With Quote #1450

[ro]
AB_BAN_INFORMATION = Informatii despre Ban
AB_NAME = Nume
AB_IP = IP
AB_STEAMID = SteamID
AB_REASON = Motiv
AB_BAN_LENGTH = Durata Ban
AB_UNBAN_TIME = Timp de Unban
AB_ADMIN_NAME = Nume Admin
AB_ADMIN_STEAMID = Admin SteamID
AB_WEBSITE = Daca tu consideri ca ai fost banat pe nedrept contacteaza website-ul:
AB_NOT_AUTHORIZED = Clientul nu a fost autorizat de server.Nu poate fi banat!
AB_ALREADY_BANNED_STEAMID = SteamID al acestui jucator este deja banat!
AB_ALREADY_BANNED_IP = IP al acestui jucator este deja banat!
AB_PERMANENT_BAN = Ban Permanent
AB_INVALID_STEAMID = SteamID incorect!
AB_VALID_STEAMID_FORMAT = Formatul Corect: STEAM_0:X:XXXXXXX
AB_INVALID_IP = IP incorect!
AB_NOT_IN_BAN_LIST = %s nu a putut fi gasit in lista de ban!
AB_NO_BANS = Nu este nimeni banat in acest moment.
AB_BAN_LIST_NUM = Afisand jucatorii banati %i - %i.
AB_BAN_LIST_NEXT = Foloseste amx_banlist %i pentru urmatorii oameni de pe lista.
AB_MAX_BAN_TIME = Timpul maxim pentru ban este %i.
btd 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 16:03.


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