Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > SUPPORT / INFORMATION > Pixelpost Help

Post Reply
 
Thread Tools
  #1  
Old 02-01-2005, 08:30 PM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
Popup not working?

I thought I'd make my own template but I couldn't get the comment popup to work. My site's URL: http://www.rollingskies.com. I'd like the page to popup when "info and comment" is clicked, but that's not working right now. Can someone have a look and point me to the right direction in troubleshooting this thing? Thanks!
Reply With Quote
  #2  
Old 02-01-2005, 09:05 PM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
In using your code you have already for the page. Copy and paste the line below:

Code:
<td width="300" align="left" valign="top"><COMMENT_POPUP></td>
And if you want to have it say 'info and comments' like you have it on your page. Just go to line 516 on your index.php
and find where it says 'Comments' and change it.
Reply With Quote
  #3  
Old 02-02-2005, 03:00 PM
myra Offline
forum loafer
 
Join Date: Feb 2005
Location: California, USA
Posts: 1
Send a message via ICQ to myra
I have checked and I did code the template with the proper popup tag. What you see in my page's source code is <COMMENT_POPUP> being rendered, I think. But my template has the <COMMENT_POPUP> tag, so I'm not sure what else needs some tweaking. Is there a line or lines in index.php that might give me a clue what needs to fixed?
Reply With Quote
  #4  
Old 02-02-2005, 04:03 PM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
What I think your doing wrong is that your linking your “info and comments” to <COMMENT_POPUP>. Get rid of “info and comments”. Don’t link any text to <COMMENT_POPUP>. Just add <COMMENT_POPUP> and nothing else.

<td width="300" align="left" valign="top"><COMMENT_POPUP></td>
Reply With Quote
  #5  
Old 02-03-2005, 05:16 AM
Anonymous Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 810
Hey thanks for your input, but I think I've found my solution here:
http://www.pixelpost.org/forum/viewtopic.php?t=182

I should've done a better job at searching before posting... ops:

/myra/
Reply With Quote
  #6  
Old 03-11-2005, 04:55 AM
marlyse's Avatar
marlyse Offline
pp regular
 
Join Date: Mar 2005
Location: USA
Posts: 31
Send a message via AIM to marlyse Send a message via MSN to marlyse Send a message via Skype™ to marlyse
Comment Popup and Anti-Comment-Spam problem

When trying to implement the Comment Popup I ran into the first problems. Read pretty much every thread and followed with interest:

http://www.pixelpost.org/forum/viewtopic.php?t=182

My index.php file is hacked (mainly for the multiple-categories) but the needed code for the COMMENT_POPUP is in place as:

Code:
$tpl = ereg_replace("<COMMENT_POPUP>","<a href='#' onclick=\"window.open('index.php?popup=comment&showimage=$image_id','Comments','scrollbars=yes,'width=480,height=540');\">$lang_comment_popup</a>",$tpl);
Unfortunately that thread above does not show the solution to the problem. So I just used:

Code:
<a href="index.php?popup=comment" onclick="open('index.php?popup=comment','Comment','400px','600px'); return false">comments</a> (<IMAGE_COMMENTS_NUMBER>)
This seemed at first to work: http://www.marlyse.com/photocalendar but today I noticed that it will ALWAYS popup the latest image, not the currently selected one.

I noticed this problem only when testing the NO-COMMENT-SPAM solution, which I had to modify from the original to incorporate the index.php code of it into my own hacked index.php and what the coder had used in the image_template.html I incorporated into the comment_template.php file, thinking this should do the trick.

But this leads me to the 2nd problem: the NO-COMMENT-SPAM had worked fine for me when installed on a fresh index.php with no comment popups, but here now, it just always accepts the comments, with other words the security does not kick in. I have no idea where to start looking to solve this.

Woof... this has become a long posting! ops: Anyway, I'd be very glad if anyone could help me with:

a) get the standard COMMENT_POPUP tag to work
b) get NO-COMMENT-SPAM addon to work via a popup comment

Thanks for any suggestions!
Reply With Quote
  #7  
Old 03-11-2005, 05:59 AM
Connie
Guest
 
Posts: n/a
hello, I wrote the no-commentspam-dingie..

please,
if you use different modification and "hacks" in one installation you can not expect that everything will work together

as far as I understand you problem you want the NO-COMMENTSPAM working with POPUP

that for I wrote the NO-COMMENTSPAM with two different templates
but I never crosstested it with other modification and for sure I will not test it with other modifications because this will lead to a never ending story :cry:

all these modifications are meant for experienced users who know what they do and understand the scripting, so if you use two different modifications in one installation you must check out whether there are collisions or not

but I don't have the time to follow everything what people do in their installations ;=)
Reply With Quote
  #8  
Old 03-11-2005, 02:30 PM
marlyse's Avatar
marlyse Offline
pp regular
 
Join Date: Mar 2005
Location: USA
Posts: 31
Send a message via AIM to marlyse Send a message via MSN to marlyse Send a message via Skype™ to marlyse
NO-COMMENT-SPAM

Hi Connie - Hallo in Deutschland!

I am only using 3 modifications:

a) multiple categories
b) calarchive
c) no-comment-spam

These 3 should actually not interfere as far as I understand the code, it only means that I can not replace one index.php with another one and that I manually have to add the various code into one php file.

You say you supplied 2 different templates, but I only see the general one for image_template.html, I will search again the addon/modification area, maybe I missed your template for the popup?

Anyway, it's great work what you are doing and if I am not clear in what I am saying, sorry about that - if you would like I could email you in German the problem (if that helps) - I really do not think the code is interfering, it's rather that I am missing some code or put it into the wrong place in the template or something stupid like that.
Reply With Quote
  #9  
Old 03-11-2005, 03:59 PM
Connie
Guest
 
Posts: n/a
Marlyse,

sorry I mixed up myself, I posted two templates (decent - one with, one without popup), but the comment-spam for sure is only one template...

I was in a hurry and didn't take care.

So let me know how you continue, I am sorry I have no time in the moment to go too deep into it as I have some friends around me, consuming my time ;=)

good luck, viel Erfolg!

Connie
Reply With Quote
  #10  
Old 03-11-2005, 05:05 PM
marlyse's Avatar
marlyse Offline
pp regular
 
Join Date: Mar 2005
Location: USA
Posts: 31
Send a message via AIM to marlyse Send a message via MSN to marlyse Send a message via Skype™ to marlyse
Quote:
a) get the standard COMMENT_POPUP tag to work
b) get NO-COMMENT-SPAM addon to work via a popup comment
b) has been handled.

Connie, I went over the files with an application to merge files (which compares line by line of text) and found where I had missed a line or two of your code. Once that was in place, it works just fine in the comment popup!

a) I still have no solution unfortunately. Any ideas appreciated.

p.s. Hope you have a great evening with your friend C.!
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 02:21 AM.

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