Log In · Register

 
 
Closed TopicStart new topic
Fanupdate Problem...., finding it....
theerinkal
post Apr 10 2009, 06:50 PM
Post #1


Irrisistable Cabbages.
*****

Group: Member
Posts: 549
Joined: Nov 2007
Member No: 589,355



I can't find Fanupdate 2.2.1

I go to prism-perfect.net/fanupdate but it takes me to yaybaby.com b/c the owner got a new domain.

I really want to use fanupdate because I've been getting SPAM on my cutenews.

If someone could email me an attachment with the fanupdate files in them that would be okay too, unless that's illegal.........I'm not really sure....but I'm pretty sure it's not.


THANKS!
 
Mikeplyts
post Apr 10 2009, 07:35 PM
Post #2


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



I had the same problem with the spam comments. Try this:

1. Go to reCaptcha.net and sign up.

2. Once you sign up, save your private and public keys where you can access them quickly.

3. Download the latest version of reCaptcha for PHP here.

4. Copy recaptchalib.php into your /inc folder under you cutenews directory.

5. Open the shows.inc.php file under that /inc folder.

6. Find:
CODE
if($allow_add_comment){

And add this BELOW it.
CODE
    //----------------------------------
    // Recaptcha
    //----------------------------------

require_once('recaptchalib.php');
$privatekey = "###";
$resp = recaptcha_check_answer ($privatekey,
                                $_SERVER["REMOTE_ADDR"],
                                $_POST["recaptcha_challenge_field"],
                                $_POST["recaptcha_response_field"]);

if (!$resp->is_valid) {
  die ("The reCAPTCHA wasn't entered correctly. Go back and try it again." .
       "(reCAPTCHA said: " . $resp->error . ")");
}

(Replace the ### with your private key.)

This code validates the captcha.

7. Now find:
CODE
$template_form = str_replace("{smilies}", $smilies_form, $template_form);

And add this ABOVE it:
CODE
require_once('recaptchalib.php');
$publickey = "###";
$template_form = str_replace("{captcha}", recaptcha_get_html($publickey), $template_form);

(Replace the ### with your public key.

This code will display your captcha.

8. Finally, find:
CODE
echo"<div style=\"text-align: center;\">This name is owned by a registered user and you must enter password to use it<br />
<form name=passwordForm id=passwordForm method=\"post\" action=\"\">

And REPLACE it with this:
CODE
echo"<div style=\"text-align: center;\">";
echo"<form name=passwordForm id=passwordForm method=\"post\" action=\"\">";

require_once('recaptchalib.php');
$publickey = "###";
echo recaptcha_get_html($publickey);

echo"

(Replace the ### with your public key.)

This code adds the captcha window to the page displayed when an admin needs to verify their password when they leave a comment.
The rearranging happens because recaptcha needs to be inside the <form> tag.

9. Save the shows.inc.php file.

10. Go to your cutenews control panel (i.e. - http://www.yoursite.com/cutenews/index.php) and select Options.

11. Click on Edit Templates.

12. Now click on the Add Comment Form part and add the below to wherever you want the captcha to be displayed.
CODE
    <tr>
      <td width="450" height="1">
      <small>CAPTCHA:</small>
      </td>
      <td>
      {captcha}
      </td>
    </tr>


I know it's not the most prettiest thing in the world but it works great and it provides cool features like audio. You can look around the reCaptcha site to find adjustments that you can make to the box itself. Good Luck. thumbsup.gif
 
theerinkal
post Apr 10 2009, 09:27 PM
Post #3


Irrisistable Cabbages.
*****

Group: Member
Posts: 549
Joined: Nov 2007
Member No: 589,355



Thanks. Oh! and I found fanupdate so you can close this topic now.
 
Mikeplyts
post Apr 10 2009, 11:21 PM
Post #4


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



Damn, that was a waste. sad.gif
 
theerinkal
post Apr 11 2009, 07:32 AM
Post #5


Irrisistable Cabbages.
*****

Group: Member
Posts: 549
Joined: Nov 2007
Member No: 589,355



Not really, I may go back to using cutenews.
 
Mikeplyts
post Apr 11 2009, 10:40 AM
Post #6


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



Oh ok. happy.gif
 
manny-the-dino
post Apr 11 2009, 05:28 PM
Post #7


Senior Member
*******

Group: Administrator
Posts: 8,629
Joined: Jan 2007
Member No: 498,468



Topic Closed & Moved
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: