Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #1  
Old 05-29-2005, 08:43 AM
artwalk's Avatar
artwalk Offline
pp regular
 
Join Date: May 2005
Posts: 23
Send a message via Yahoo to artwalk
Anti-Comment-Spam Link Back query

I was able to get the Anti-Comment-Spam-Addon Version 1.0.1 up and running but I ran into something I couldn't solve.

With an incomplete or incorrect code input, the link back to the form instead links to the main index.php. Ideally, it should direct back to the comment-popup window.

And then I found this changelog for the anti-spam addon which basically tells me that I shouldn't be experiencing this anymore:
Quote:
-------------------------------------------------------------------------
--- Changelog -----------------------------------------------------------
-------------------------------------------------------------------------

version 1.0.1, May 21, 2005, changed by Connie Müller-Gödecke
-- changed the link back to the form in the popup-comment-version
so after incomplete input or wrong CAPTCHA-Data the link directs back
to the comment-popup window
-- $lang_comment_close_window not longer needed
I'm not sure what I missed with the procedure. Can anybody point to me what I did wrong?
Reply With Quote
  #2  
Old 05-29-2005, 08:45 AM
Joe[y]'s Avatar
Joe[y]+ Offline
Team Pixelpost
 
Join Date: Mar 2005
Location: UK
Posts: 3,101
Send a message via MSN to Joe[y]
i doubt you did anything wrong. call this to Connie's attention as she wrote the addon I think. She may have just made a mistake when rezipping up the addon!
Reply With Quote
  #3  
Old 05-29-2005, 08:47 AM
artwalk's Avatar
artwalk Offline
pp regular
 
Join Date: May 2005
Posts: 23
Send a message via Yahoo to artwalk
I think I should have posted this under the Help topics. Hope Connie sees my re-posted thread there. Thanks!
Reply With Quote
  #4  
Old 05-29-2005, 08:51 AM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
yes. do not double post plz.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #5  
Old 05-29-2005, 09:03 AM
artwalk's Avatar
artwalk Offline
pp regular
 
Join Date: May 2005
Posts: 23
Send a message via Yahoo to artwalk
Sorry 'bout that.
Reply With Quote
  #6  
Old 05-29-2005, 01:08 PM
Connie
Guest
 
Posts: n/a
So, I downloaded the ZIP from the place where I had last published it:
http://www.hafenfotografen.de/downlo...addon_v101.zip


I installed it at http://www.hafenfotografen.de/pixelpost1/ following the readme-file

I tested it, and you are not right: if you really followed the readme-file and entered the code in your comment_template.html like it is said in the readme, you will run into the following situation:



you will get this message and as you can see, the link goes back to the comment-popup



and here you will land after clicking the link...

you can test it at my test-installation:

http://www.hafenfotografen.de/pixelpost1

please, check if you really made all the necessary changes and give me an URL to check your installation!
Reply With Quote
  #7  
Old 05-31-2005, 02:33 PM
artwalk's Avatar
artwalk Offline
pp regular
 
Join Date: May 2005
Posts: 23
Send a message via Yahoo to artwalk
Hi Connie,

First of all, thank you for taking time out to helping me.

What's weird though is that I downloaded the add-on zip file again and re-did the mods in a fresh pixelpost-dark template BUT I'm still getting the same incorrect results for the comment link back. :-(

Ok, let me run through you the things I did:
1.) First I opened the comment_template.html in the pixelpost-dark folder. Inside the form code looks like this:


2.) Then with the readme.txt instructions, I replaced the highlighted code with this:


3.) I opened lang-english.php and added this code:


4a.) I then uploaded the modified comment_template-file to the pixelpost-dark folder.

4b.) Also uploaded the file anti_comment_spam.php to the addon-directory

4c.) And uploaded the modified language-file to your language-directory.

5.) Trying out the popup comment after all these mods, I see this result:

The spam secure code does not appear.

6.) Thus, I tried inserting error_reporting(0); inside the spamsecure.php file.


7.) The spam secure code appeared after this mod:


8.) Then I tried typing a wrong code to see how the comment link back would look:


9.) It takes me to this window and when I hover over the "Please click to be transferred back" link, the status line would say, "http://www.renriquez.com/pixelpost/index.php?showimage="


10.) Clicking on this link then takes my comment box to the main page:


Do you see any mistakes in my modifications? Clearly, I'm missing something here.
Reply With Quote
  #8  
Old 05-31-2005, 02:44 PM
Connie
Guest
 
Posts: n/a
artwalk,

I do not see to where you uploaded the spamsecure.php
where is your spamsecure.php sitting?

It must be in the includes-directory...
is it there? if yes, ok

but please check if you deleted the spamsecure.php from the admin-folder
if that is still there, it will have priority to the includes-folder...
Reply With Quote
  #9  
Old 05-31-2005, 02:47 PM
Joe[y]'s Avatar
Joe[y]+ Offline
Team Pixelpost
 
Join Date: Mar 2005
Location: UK
Posts: 3,101
Send a message via MSN to Joe[y]
as your linkback ends with index.php?showimage= then I assume you are simply missing the image ID from the link. Find in the files where this is defined and you should find the problem.
Reply With Quote
  #10  
Old 05-31-2005, 02:52 PM
artwalk's Avatar
artwalk Offline
pp regular
 
Join Date: May 2005
Posts: 23
Send a message via Yahoo to artwalk
Quote:
Originally Posted by Connie
artwalk,

I do not see to where you uploaded the spamsecure.php
where is your spamsecure.php sitting?

It must be in the includes-directory...
is it there?
Hi Connie,

Yes, the spamsecure.php file is in the includes directory:
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 08:11 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs