SMF 2.0 CPG 1.5X gallery sorting. SMF 2.0 CPG 1.5X gallery sorting.
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

SMF 2.0 CPG 1.5X gallery sorting.

Started by texasquest, December 24, 2011, 03:43:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

texasquest

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.

Αndré

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.

serge

Quote from: Α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.

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

Thanks.

Αndré

As I've currently no test environment where cpg1.5.x is bridged to SMF, I cannot create a working example for you, sorry.