Arrow

regenerate some new text don't work | Peter's Random Anti-Spam for WordPress | Forum

Back to the random anti-spam plugin page
 
Current User: Guest
Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

regenerate some new text don't work

Reply to Post Add a New Topic
UserPost

4:40 am
April 4, 2008


niriandry

Guest

Hi peter, i install random anti spam for wordpress to my localhost and the regenerate text don't work, please help me.

NB good job master

2:09 pm
April 5, 2008


Peter

Admin

posts 710

Hi, without much more information, I have only guesses as to what the problem could be. Perhaps it is a problem with JavaScript support in your browser. Have you tried several different browsers?

Also, try accessing http://localhost/yourwordpressinstall/?antinew and see if it returns a number.

11:13 am
April 7, 2008


niriandry

Guest

yes, it's return a number. Now i'm sure that the plug work and i find the problem is the the url of my comments like: http://server/dev/article/ and if i click the regenerate text, http://server/dev/article/#ras_security, the browser don't understand, but with http://server/dev/article#ras_security it's work fine.

Thanks for your help, and good luck for more and more good plugin.

9:07 am
April 8, 2008


niriandry

Guest

it's me again, now i try to integrate the plugin in a page with .htaccess and the regenerate don't work.
ex : http://localhost/news.php?post=1
http://localhost/news/1/blabla

thanks in advance

12:26 pm
April 8, 2008


Peter

Admin

posts 710

What does your rewrite rule look like?

This is mine:


RewriteEngine On
RewriteRule ^antiselect/(.+)$ index.php?antiselect=$1 [L]
RewriteRule ^audioselect/(.+)$ index.php?audioselect=$1 [L]

8:02 am
April 9, 2008


niriandry

Guest

hi! the probleme with rewriterule is where ?antinew don't pass(i think, the rewrite rule don't recognize it, i suppose), and i change that line 469 :

//var url = \\"?antinew\\"; // The server-side script

to

var url = '".$_SERVER["PHP_SELF"].'?'.$_SERVER["QUERY_STRING"].'&antinew'."'

and the random work fine for me. Excuse for my english because i' m francophone.

thanks!

10:39 am
April 9, 2008


Peter

Admin

posts 710

Hi, you don't need to modify the script at all. You need to paste the code in my previous post into the .htaccess file at the root of your blog.

http://www.javascriptkit.com/howto/htaccess.shtml

2:27 am
April 10, 2008


niriandry

Guest

ok ! i'm on it

Reply to Post

Reply to Topic:
regenerate some new text don't work

Guest Name (Required):

Guest Email (Required):

HTML Editor
Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
2 + 7