turn off random pictures in user galleris>user turn off random pictures in user galleris>user
 

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

turn off random pictures in user galleris>user

Started by tbone2004, March 15, 2004, 08:01:18 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tbone2004

I was wondering if there was a way to turn off random pictures, and last additions in the user galleries>user
I just want it to show their album there. Any suggestions on how to do this?


Thanks,
Tim

jdbaranger

Hi,

You can't disable this ONLY for a specific category or album.
If you disable the function, it will be disabled everywhere, including in index.php.

To disable Random and Last Updated images, log in Admin mode, go to Config, section The content of the main page and delete :
random,x/
lastup,x/
Jean-Denis

Joachim Müller

If I remember it correctly, there has been a discussion about this a while ago. You could go into the code of index.php and add switches to the case statements where the meta album "random" is set and add some conditional statements like if (category-ID < 10000) {display the random pic}else{don't} /this is not actual code, but just a sketch to give you and idea what to add).

GauGau