Check Website
Inclusion Status
It is currently Wed Sep 08, 2010 8:35 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: [Split} Modifying the Anti Spam ACP
PostPosted: Tue Sep 30, 2008 4:56 am 
It doesn't cause any problems when I did a wildcard search for domain names. It just didn't find anything on the SFS database. And naturally, I was curious about why it didn't.

I was wondering if you would if you would be interested in trying to convert the Anti-Spam ACP that 123king wrote for phpbb to a stand alone program? I've tried, but I'm just a Code Tweaker and I think it's gonna take someone with real programming skills to do that... Which leaves me out. Image



IP:
top
Top
  
 
 Post subject: Re: [CODE] Querying the fSpamList and StopForumSpam databases
PostPosted: Tue Sep 30, 2008 5:04 am 
Offline
Site Admin

Joined: Thu May 28, 2009 11:25 am
Posts: 3694
Leave it with me Smile

_________________
Regards
Steven Burn
Ur I.T. Mate Group / hpHosts
it-mate.co.uk / hosts-file.net

Keeping it FREE!



IP:
top
Top
 Profile  
 
 Post subject: Re: [CODE] Querying the fSpamList and StopForumSpam databases
PostPosted: Tue Sep 30, 2008 6:04 am 
Ok, so here's what I have in mind. I assume the program will always check for similar database tables containing the user's Username, Email Address, and IP Address. And in order to do that it must have access to the database. This of course would be different for different programs. So I thought if you made the file with the database information in it named config.php, and "included" it in the main file, you could set it up to read the proper tables in any database.

I have a couple of programs that are set up this way. You write the config.php file something like this:

Code:
<?
$db_user_name='sql_user_name';
$db_host_name='sql_host_name';
$db_name='sql_database_name';
$db_pw='sql_password';
$email_address_table='whatever';
$ip_address_table='whatever';
$username_table='whatever';
?>

Put this in the main file to include it:

Code:
include("config.php");


And where ever you need the access information you just put this in instead of what you normally would:

Code:
$db_user_name
$db_host_name
$db_name
$db_pw
$email_address_table
$ip_address_table
$username_table

Does that make sense? I hope so, because I can't think of a better way to explain it...

Then if you wanted to take it one step farther, you set up a drop menu type thing so you could select pre-set (prior to uploading) settings for different programs, so you could go to an "Admin page" and select which program you want to tie into the database for, and you could change from one program to another on the fly. Say for example you have a forum, a photo gallery that members have the ability to comment on each photo, and a download site that members have the ability to comment on each download file, each with it's own database. Spammers could spam all of them, so you would want to check them for spam registrations. With a multiple-database set up you could do that easily. Just change the DB set up and away you go. Mr. Green



IP:
top
Top
  
 
 Post subject: Re: [CODE] Querying the fSpamList and StopForumSpam databases
PostPosted: Tue Sep 30, 2008 6:30 am 
Offline
Site Admin

Joined: Thu May 28, 2009 11:25 am
Posts: 3694
hehe nice one Smile

_________________
Regards
Steven Burn
Ur I.T. Mate Group / hpHosts
it-mate.co.uk / hosts-file.net

Keeping it FREE!



IP:
top
Top
 Profile  
 
 Post subject: Re: [CODE] Querying the fSpamList and StopForumSpam databases
PostPosted: Tue Sep 30, 2008 6:44 am 
Can ya do it? Once a program basically functional I can tweak it, add things to it, and such things as that. Most of the time anyway. I have designed a few programs before as well. But it's a bit beyond my ability to write a program from scratch.



IP:
top
Top
  
 
 Post subject: Re: [CODE] Querying the fSpamList and StopForumSpam databases
PostPosted: Tue Sep 30, 2008 6:53 am 
Offline
Site Admin

Joined: Thu May 28, 2009 11:25 am
Posts: 3694
I'm still looking into it (my PHP knowledge lacks somewhat, so it may take a few days or so).

/edit

I've split this from the original thread.

_________________
Regards
Steven Burn
Ur I.T. Mate Group / hpHosts
it-mate.co.uk / hosts-file.net

Keeping it FREE!



IP:
top
Top
 Profile  
 
 Post subject: Re: [Split} Modifying the Anti Spam ACP
PostPosted: Tue Sep 30, 2008 7:27 am 
Ok, cool. And I'm in no hurry. I'm retired, relaxed, and like to take things slooow.

If I may offer my services to you, the phpbb laughing smilie has always struck me as a little on the sickly side... It should have a green twinge, if ya know wot I mean. So I made a better one. Feel free to copy it if ya like. ===> Image



IP:
top
Top
  
 
 Post subject: Re: [Split} Modifying the Anti Spam ACP
PostPosted: Tue Sep 30, 2008 8:36 am 
Offline
Site Admin

Joined: Thu May 28, 2009 11:25 am
Posts: 3694
hehe nice one cheers Smile ....... I've replaced the old one with yours, hehe Laughing

_________________
Regards
Steven Burn
Ur I.T. Mate Group / hpHosts
it-mate.co.uk / hosts-file.net

Keeping it FREE!



IP:
top
Top
 Profile  
 
 Post subject: Re: [Split} Modifying the Anti Spam ACP
PostPosted: Tue Sep 30, 2008 6:19 pm 
Yep... Most people do. Mr. Green



IP:
top
Top
  
 
 Post subject: Re: [Split] Modifying the Anti Spam ACP
PostPosted: Wed Oct 01, 2008 12:30 am 
I would like to get in on the action as well.

What can I do?



IP:
top
Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2, 3  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
hpHosts and hpHosts Online are copyright © Ur I.T. Mate Group - All Rights Reserved

Powered by phpBB © 2000-2009 phpBB Group