Advanced search  

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

Pages: [1]   Go Down

Author Topic: SMF 2.0 CPG 1.5X gallery sorting.  (Read 7940 times)

0 Members and 1 Guest are viewing this topic.

texasquest

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
SMF 2.0 CPG 1.5X gallery sorting.
« 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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: SMF 2.0 CPG 1.5X gallery sorting.
« Reply #1 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.
Logged

serge

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Re: SMF 2.0 CPG 1.5X gallery sorting.
« Reply #2 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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: SMF 2.0 CPG 1.5X gallery sorting.
« Reply #3 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.