PDA

View Full Version : Easy way to put comments on the front page.


spence
07-09-2006, 10:19 PM
I've seen quite a few Pixelpost implementations with comments on the front page. Generally the comments are added thoughtfully by concealing the comment interface through a moo.fx script or other Ajax like effect.

I attempted (and failed) to implement comments on my site using this approach. The downside I discovered was that this approach requires merging the comments_template with the image_template. Add the additional complexity of moo.fx and I've found it all turns into quite a mess.

Recently I came across greybox (http://orangoo.com/labs/GreyBox/). Its similar to lightbox except renders HTML. I’ve since used Greybox to implement “front page” comments on my site. To see an example of it running in pixel post, visit rig.hteo.us (http://rig.hteo.us) and click "comments" (lower left corner).

Implementation was super easy--about 5 minutes. I still use the individual image and comment templates to maintain the code separately. All and all, I’m very happy with how this works & looks.

Thoughts / Questions?

jdleung
07-10-2006, 02:05 AM
looks pretty nice.;-)

jimhere
07-12-2006, 09:20 PM
How is that image reflection done?

spence
07-13-2006, 02:55 AM
The image reflection is done through a small javascript called reflection.js. It can be found here: http://cow.neondragon.net/stuff/reflection/

Transcending
07-29-2006, 12:17 PM
Thanks!!

I just implemented this and while it took me a touch longer than 5 mins (my fault ;)), I really like it..

spence
08-01-2006, 03:21 AM
Awesome! :)

Transcending
08-01-2006, 11:01 AM
Though I've just removed it for the time being.. Will be back soon! :)

stephenf
09-04-2006, 10:14 PM
Hey,
Thats a nice interface for comments alright. I tried adding it to my page at www.image-shop.com but for some reason it wasn't finding the comment page on my site in firefox. IE worked fine. I then updated my firefox to version 1.5 and it works. However, it worked fine on your site on the older firefox. Obviously I'd like it to work for people who have older versions of firefox. Any ideas?

Cheers.

dankster
09-05-2006, 03:01 PM
moofx is easy to do. make a blank div called commentwrap and use the moofx code from my site to get it to work. let me know if you have any questions.

www.dontlinkhere.com

kristarella
09-22-2006, 12:21 AM
I like it, although it's not working right now. It's got 404 not found. I've seen it on your site before though and it worked well.

Cogz
09-26-2006, 12:35 AM
Maybe I am just really slow... but I can't seem to figure out what I am doing with this thing. I have a box that pops up, but it is empty...



anyone have some explination for me?

Connie
09-26-2006, 06:23 AM
Cogz,

there are different templates, some use popup, some have the comments in the front page

you might try to check that sources and find out how it is done
if you do not manage that, ask a friend

everything needs a little bit of learning, the world was not created as a result but as a workshop ;=)

spence
03-25-2007, 10:19 PM
I sorta fell off the planet for the last 6 months. Yes, my implementation of gray box was broken from some template changes. Its all back up and running now. Check it out @ http://rig.hteo.us . Happy to help with questions. S

Dennis
03-26-2007, 07:05 AM
For the comments I made an addon for displaying them on the frontpage: http://forum.pixelpost.org/showthread.php?t=4813

Birdie
01-02-2008, 04:45 PM
What code did you use to call the comments?

fredxeric
01-02-2008, 05:49 PM
I really like the way that the box for comment is styled

Dennis
01-02-2008, 07:53 PM
The form is just simple HTML. You can grab it from the source. The action redirects it to the correct page.