Arrow

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

Back to the random anti-spam plugin page

Please consider registering
guest

Log In

Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
regenerate some new text don't work
April 4, 2008
4:40 am
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

April 5, 2008
2:09 pm
Peter
Admin
Forum Posts: 841
Offline

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/yourwordpress.....l/?antinew and see if it returns a number.

April 7, 2008
11:13 am
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.

April 8, 2008
9:07 am
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

April 8, 2008
12:26 pm
Peter
Admin
Forum Posts: 841
Offline

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]

April 9, 2008
8:02 am
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!

April 9, 2008
10:39 am
Peter
Admin
Forum Posts: 841
Offline

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/h.....cess.shtml

April 10, 2008
2:27 am
niriandry
Guest

ok ! i'm on it