forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 bridging => Topic started by: texasquest on December 24, 2011, 03:43:44 am

Title: SMF 2.0 CPG 1.5X gallery sorting.
Post by: texasquest on December 24, 2011, 03:43:44 am
So I have psuedo successfuly integrated SMF 2.0 to CPG 1.5.x.  I was wondering if someone can assist with my gallery sorting.  http://26liter.us/gallery/index.php?cat=1
I would like it alphabetical by username.  I have tried to edit the sort with the SMF's user_name but no such luck.  Any help appreciated.  Thanks.
Title: Re: SMF 2.0 CPG 1.5X gallery sorting.
Post by: Αndré on January 04, 2012, 03:23:43 pm
The default album sort order is by "category", which is calculated by user_id + 10000 in Coppermine. So you have to subtract that value and then join it with the SMF user table to be able to sort it by the SMF user names.
Title: Re: Re: SMF 2.0 CPG 1.5X gallery sorting.
Post by: serge on July 08, 2013, 01:58:38 pm
The default album sort order is by "category", which is calculated by user_id + 10000 in Coppermine. So you have to subtract that value and then join it with the SMF user table to be able to sort it by the SMF user names.

How can i this?
I have Coppermine 1.5.24 and SMF 1.1.18.

Thanks.
Title: Re: SMF 2.0 CPG 1.5X gallery sorting.
Post by: Αndré on August 28, 2013, 02:54:12 pm
As I've currently no test environment where cpg1.5.x is bridged to SMF, I cannot create a working example for you, sorry.