This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Amxbans 6.x


Post New Thread Reply   
 
Thread Tools Display Modes
KiLL3r CLOWN
Junior Member
Join Date: Apr 2005
Location: Jacksonville, Fl.
Old 11-19-2005 , 22:36  
Reply With Quote #121

I edited some of the .tpl files, well the ban_search.tpl and the ban_list.tpl.

What I did was copy the code from the search to the ban list so the search can be on the front page. It's there and looks nice, but doesn't work haha.

For some reason, it's not able to search the database. It's also not showing admins in the search or the servers. I just can't figure out what I've done wrong or haven't done at all. If someone can point me in the right direction, it would be much appreciated.

You can try or see for your self: http://dp.nuclearfallout.net/amxbans/ban_list.php
KiLL3r CLOWN is offline
Janet Jackson
Veteran Member
Join Date: Mar 2005
Location: far, far away from here
Old 11-19-2005 , 22:54  
Reply With Quote #122

The .tpl's are only templates for the .php files. So, in order to get this idea to work you will have to merge ban_list.php and ban_search.php as well. After all the searching is done by ban_search.php, not by ban_search.tpl.
__________________
Janet Jackson is offline
KiLL3r CLOWN
Junior Member
Join Date: Apr 2005
Location: Jacksonville, Fl.
Old 11-19-2005 , 23:09  
Reply With Quote #123

heh I knew that. What just checking to see if anyone else did

I was also looking into adding the place on the ban details for a place to add a link to a demo. I was able to get it to show up, just not able to add the demo heh. After looking at the code and stuff, thought to myself, pfft, this is going to be easy haha. Boy was I wrong.

I'll just wait till lantz adds it on if he does in a future update *hint* *hint*


*EDIT*
I tried to merge the ban_list.php and the ban_search.php with no luck. I know nothing about php code. If someone would like to help a guy out and make me a ban_list.php file with the correct code added for the ban_search.php. I would really like to have this on the main page of amxbans.

Thanks in advance for any one who can do this for me

- KC
KiLL3r CLOWN is offline
QuakerOates
Senior Member
Join Date: Mar 2004
Old 11-20-2005 , 04:03  
Reply With Quote #124

KC nice idea, looks nice what you've done.
__________________
SteamBans.org
QuakerOates is offline
primate
Junior Member
Join Date: Jun 2004
Old 11-20-2005 , 08:36  
Reply With Quote #125

@ lantz69

kan you please make a web page that dosent ned magic_quotes_gpc = on

ore else i cant use the new amxbans...


there muste be an alternative?? both my webhostes wont change magic_quotes_gpc so pls make a alternative for me and maby some other server owners
primate is offline
KiLL3r CLOWN
Junior Member
Join Date: Apr 2005
Location: Jacksonville, Fl.
Old 11-20-2005 , 09:01  
Reply With Quote #126

Quote:
Originally Posted by QuakerOates
KC nice idea, looks nice what you've done.
Thank you, now if I can only get it to work hehe
KiLL3r CLOWN is offline
lantz69
AMX Mod X Beta Tester
Join Date: Mar 2004
Location: Sweden, Skåne
Old 11-20-2005 , 12:10  
Reply With Quote #127

Quote:
Originally Posted by KiLL3r CLOWN
Quote:
Originally Posted by QuakerOates
KC nice idea, looks nice what you've done.
Thank you, now if I can only get it to work hehe
It has been done here
http://www.texangirlz.com/amxbans/ban_list.php
Try and contact them and see if they wanna give you the code.
__________________
Using: Amxmodx 1.8.1.xxxx, cstrike
http://www.vanilla.se/
lantz69 is offline
KiLL3r CLOWN
Junior Member
Join Date: Apr 2005
Location: Jacksonville, Fl.
Old 11-20-2005 , 23:48  
Reply With Quote #128

They are running amxbans 4.0

I'm using 4.3, isn't there a difference in the coding for these php files?

If not, I'll ask... if so, will you help me
KiLL3r CLOWN is offline
Bry
Member
Join Date: Mar 2004
Old 11-23-2005 , 06:12  
Reply With Quote #129

http://www.brywright.co.uk/ns/bans/
unfortunately it just isnt working at all
I have set all appropiate directories to 777 and magic_quotes is on.

My database is on the same server as my gameserver. But, the website is ona different host. Mysql is set to allow connections so nothing is being blocked.

amxbans web interface successfully contacted the database during the setup process.
Bry is offline
Bry
Member
Join Date: Mar 2004
Old 11-23-2005 , 07:20  
Reply With Quote #130

ive tracked it down. It seems to be a problem with fancy layers. If they are enabled the page just doesn't load. if they are disabled it loads fine.

Any ideas?
Bry 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 06:18.


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