Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Template design and Front-End Code

Post Reply
 
Thread Tools
  #1  
Old 01-19-2008, 03:52 AM
fredxeric's Avatar
fredxeric Offline
pixelpost guru
 
Join Date: Sep 2006
Location: Montréal, Québec, Canada
Posts: 407
Send a message via AIM to fredxeric Send a message via MSN to fredxeric
comment latest first

How do I customize the comment to showing by most recent first....

Thanks
Reply With Quote
  #2  
Old 01-19-2008, 03:57 AM
Dkozikowski's Avatar
Dkozikowski+ Offline
Team Pixelpost
 
Join Date: Oct 2005
Posts: 1,855
Send a message via AIM to Dkozikowski
It's top-secret. Send me $50.00 USD and I'll tell you.

Reply With Quote
  #3  
Old 01-19-2008, 04:01 AM
Dkozikowski's Avatar
Dkozikowski+ Offline
Team Pixelpost
 
Join Date: Oct 2005
Posts: 1,855
Send a message via AIM to Dkozikowski
Open includes/functions.php

Find the following (line number 130):

Code:
$cquery = mysql_query("select datetime, message, name, url, email  from ".$pixelpost_db_prefix."comments where parent_id='".$imageid."' and publish='yes' order by id asc");
At the end of the query code, change
Code:
. . .  .order by id asc");
to
Code:
. . .  .order by id desc");
Reply With Quote
  #4  
Old 01-19-2008, 06:37 AM
Dennis's Avatar
Dennis+ Offline
Team Pixelpost
 
Join Date: Jul 2006
Posts: 2,394
Send a message via MSN to Dennis
Quote:
Originally Posted by dwilkinsjr View Post
It's top-secret. Send me $50.00 USD and I'll tell you.

I'll do it for $25.00 USD

Ow to late again.
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
Reply With Quote
  #5  
Old 01-19-2008, 11:54 PM
fredxeric's Avatar
fredxeric Offline
pixelpost guru
 
Join Date: Sep 2006
Location: Montréal, Québec, Canada
Posts: 407
Send a message via AIM to fredxeric Send a message via MSN to fredxeric
I just read the post, Ha ha ha

for $5.00 CAD ok.....


the CAD is = or + than the USD right now...
Reply With Quote
  #6  
Old 01-20-2008, 01:12 AM
Dkozikowski's Avatar
Dkozikowski+ Offline
Team Pixelpost
 
Join Date: Oct 2005
Posts: 1,855
Send a message via AIM to Dkozikowski
Cad > Usd
Reply With Quote
  #7  
Old 01-20-2008, 01:25 AM
fredxeric's Avatar
fredxeric Offline
pixelpost guru
 
Join Date: Sep 2006
Location: Montréal, Québec, Canada
Posts: 407
Send a message via AIM to fredxeric Send a message via MSN to fredxeric
Quote:
Originally Posted by dwilkinsjr View Post
Cad > Usd


Yes CAD > USD now...
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 09:37 AM.

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