Modifying the Comment Routine
1294dahl
Joined: 2006-01-13
Posts: 35 |
Posted: Wed, 2008-07-30 14:04 |
The following information is required to get an answer: Gallery version: 1.5.7 Apache version: Apache/2.0.52 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 (not sure) OpenSSL/0.9.7a PHP/4.4.6 PHP version (don't just say PHP 4, please): 4.4.6 Graphics Toolkit: version ImageMagick 6.3.3 03/09/07 Q16 Operating system: (Red-Hat/Linux) mod_ssl/2.8.12 (not sure) Web browser/version (if applicable): FireFox 3.0.1 Hello, I would like to have the checkboxes unticked when I run "Find blacklisted comments". My blacklist gets a lot of good posts too. So, it will be easier to just tick what I need checked. Otherwise, I have to untick 100's of comments before I can delete the few that creep through. Thanks, Randal |
|
Posts: 35
Can't anyone give me some PHP help? I am not a programmer so what I have tried doesn't work.
Randal
**************************************
"The Herbs Place" for People and Pets
Supplements, Herbs, Pet Foods, and More!
http://www.theherbsplace.com
<a href="http://www.theherbsplace.com"> The Herbs Place </a>
**************************************
Posts: 27300
I have never palyed with Find blacklisted comments and my G1 server is down at the moment but I suspect you could do some javascript button to check all the boxes. here is a idea:
http://www.shiningstar.net/articles/articles/javascript/checkboxes.asp
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 35
Thanks for the link on the javascript. I have never been much good with javascript but that page looked like it would be helpful.
I made a change to the code located at http://domain_name.com/name_of_gallery/tools/despam-comments.php
Find this line of code:
Change it to
You're simply removing checked=\"checked\" from the line of code.
I was waiting to see if it still worked before I was going to post it. I am not a php programmer so I just experimented to find the answer.
Hope this helps someone else.
Randal
**************************************
"The Herbs Place" for People and Pets
Supplements, Herbs, Pet Foods, and More!
http://www.theherbsplace.com
<a href="http://www.theherbsplace.com"> The Herbs Place </a>
**************************************