Gossamer Forum
Home : Products : Links 2.0 : Customization :

Review Dates Not In Chronological Order

Quote Reply
Review Dates Not In Chronological Order
Hi,

I have a site that allows people to submit both a review and rating of a restaurant.

Have a bit of a problem in that reviews do not appear in
chronological order. Here's an example:
http://www.ccc.com/cgi-bin/restaurants/review.cgi?ID=76

I've searched 2.0 Customization Forum for solution to fix without any luck.
Could be that I've not used the right search words.

Could someone tell me what to fix so that most recent reviews appear 1st?
If so, please dummy-down your answer, i.e. step 1 do this, etc.
As I am CCC (Completely Clueless Coding)

P.S. Am not sure what mod was installed for reviews.
Tried to find out in case this info was needed, but not sure where to look for info.

Thank you I appreciate the help.

Last edited by:

Andy: May 30, 2008, 1:51 PM
Quote Reply
Re: [JLP] Review Dates Not In Chronological Order In reply to
Hi,

I'm guessing you are using a mod for the reviews? There is no review.cgi in the bog-standard version of Links2.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Review Dates Not In Chronological Order In reply to
Thank you Andy for your reply. Yes, it's a mod that was installed approx 8 years ago. Original programmer found the review mod through Gossamer Threads forum.

I'm not sure which file(s) need to be changed to fix it so review dates show most recent reviews 1st.

Right now it displays review dates like this: Day, Month, Year with lowest number Day to highest:
1-Dec-2002
10-Apr-2007
14-Jan-2005
16-Nov-2001
17-Jun-2004

Instead of the way it should be:
10-Apr-2007
14-Jan-2005
17-Jun-2004
1-Dec-2002
16-Nov-2001

So sort function needs to be "highest"
year, then month, then day.

Sincerely appreciate your help.


Quote Reply
Re: [JLP] Review Dates Not In Chronological Order In reply to
Hi,

I'm afraid I don't have a copy of that mod (if its the one I think, then its a pay-for mod by one of the moderators [can't remember his name - don't think I'll live that down if he see's this post Unsure)

I could have a look for you. Seems a little odd- as I would have expected it to sort them based on the position in the review file (i.e the date they were added)

This is where Gossamer Links would be very good for you - as its all mySQL based Tongue

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Review Dates Not In Chronological Order In reply to
Wow! That was a lightning fast reply!

Believe it was a mod that was free. Please let me know what you need to take a look at and I'll send.

Thank you Andy.
Quote Reply
Re: [JLP] Review Dates Not In Chronological Order In reply to
Hi,

LOL, what can I say - I've got no life ;)

Quote:
Believe it was a mod that was free. Please let me know what you need to take a look at and I'll send.

Sure, I can take a look for you. Please email FTP details and a URL I can test the review.cgi script.

I'll have a play about this the script, and see if I can get it to work right. May have to charge - depending on how long it takes.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Review Dates Not In Chronological Order In reply to
Hi Andy,

You're a gem. Would you like control panel log-in info to be able to work directly on existing files? Might take me while to scare up FTP details.

Shall I email to address in your profile?
Quote Reply
Re: [JLP] Review Dates Not In Chronological Order In reply to
Hi,

FTP access will be fine.

Quote:
Might take me while to scare up FTP details.

NP =)

Quote:
Shall I email to address in your profile?

Yes please - its andy@ultranerds.com.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Review Dates Not In Chronological Order In reply to
Hi Andy,

Email sent.

Thank you,
Julie