Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: 1 ... 6 7 8 9 [10]
 91 
 on: November 08, 2023, 03:34:17 am 
Started by findingcolors - Last post by findingcolors
I installed MiniCMS to display a message in a specific category.

I was wondering if it is possible to edit the look/style of MiniCMS. I don't want the plugin to take the look of my gallery theme (tableh1, tableb, etc). I want it to have custom styling.

I do know HTML & CSS, so adding styling to a style sheet will be no problem, but I cannot find the file in the MiniCMS plugin folder that has the HTML coding to edit the coding (example <div class="maintable"> <div class="tableh1">).

I want to:
1.) Use custom classes
1.) Hide the title
2.) Edit the main content box

I have attached what MiniCMS looks like (with my current theme) & how I want it to look

 92 
 on: November 06, 2023, 06:51:05 pm 
Started by findingcolors - Last post by findingcolors
Is it possible to add a custom message / text area to a specific category page? I want to add a message to the Photoshoots category page (example: https://greyson-chance.net/gallery/index.php?cat=17)

I know I can add coding to the template and theme files, but that shows up on all pages/the whole gallery.

I was able to show what I want the message box to look like (via web browser inspector) and have attached the screenshot

 93 
 on: November 04, 2023, 01:14:21 am 
Started by kpgmza - Last post by kpgmza
I add an image about where I would like to place the pagination


 94 
 on: November 04, 2023, 01:10:46 am 
Started by kpgmza - Last post by kpgmza
I would like to ask (and if there is another topic about this, I apologize since I searched and couldn't find it), how I can add pagination to my homepage in the categories: LAST COMMENTS and LAST UPLOADS.

Can you help me please?.

Thank you so much.

 95 
 on: November 02, 2023, 04:27:38 pm 
Started by sharpo - Last post by sharpo
GREAT, that has fixed it!!!

Thanks very much. All showing correctly on this one:- http://www.sharpos-world.co.uk/kc/thumbnails.php?album=lastup&cat=0

Will correct the other later.

 96 
 on: November 02, 2023, 04:17:48 pm 
Started by sharpo - Last post by sharpo
Just realised the one that worked correctly was an earlier version of 1.6 and I just updated it to 1.6.25 and it now DOES have the same date problem.

I'll have a look at the smaller gallery & try editing as you suggested to see if it solves the problem.

 97 
 on: November 02, 2023, 04:07:45 pm 
Started by sharpo - Last post by sharpo
These are the old date formats so to fix your display problem they need to either be updated to the new formats or deleted.

I'll admit to being confused now as the date formats appear to be the same in both galleries, but one displays the date correctly, the other doesn't.

Last uploads on the one that has a problem:-
http://www.sharpos-world.co.uk/kc/thumbnails.php?album=lastup&cat=0

Last uploads on the one that works as expected:-
http://www.sharpos-world.co.uk/cpg/thumbnails.php?album=lastup&cat=0

 98 
 on: November 02, 2023, 03:00:27 pm 
Started by sharpo - Last post by 406man
The problem one is as below:-


// The various date formats
// See http://www.php.net/manual/en/function.strftime.php to define the variable below
$lang_date['album'] = '%B %d, %Y';
$lang_date['lastcom'] = '%m/%d/%y at %H:%M';
$lang_date['lastup'] = '%B %d, %Y';
$lang_date['register'] = '%B %d, %Y';
$lang_date['lasthit'] = '%B %d, %Y at %I:%M %p';
$lang_date['comment'] = '%B %d, %Y at %I:%M %p';
$lang_date['log'] = '%B %d, %Y at %I:%M %p';

These are the old date formats so to fix your display problem they need to either be updated to the new formats or deleted.

 99 
 on: November 02, 2023, 02:47:21 pm 
Started by sharpo - Last post by sharpo
Thanks for reply 406man.

I've checked the gallery with the problem, and another that displays the date correctly, but all parameters appear to be the same.

The problem one is as below:-


if (!defined('IN_COPPERMINE')) die('Not in Coppermine...');

// info about translators and translated language
$lang_translation_info['lang_name_english'] = 'English (British)';
$lang_translation_info['lang_name_native'] = 'English (British)';
$lang_translation_info['lang_country_code'] = 'en_gb';
$lang_translation_info['trans_name'] = 'Nibbler';
$lang_translation_info['trans_email'] = 'nibbler@coppermine-gallery.net';
$lang_translation_info['trans_website'] = 'http://coppermine-gallery.net/';
$lang_translation_info['trans_date'] = '2009-07-11';

// The various date formats
// See http://www.php.net/manual/en/function.strftime.php to define the variable below
$lang_date['album'] = '%B %d, %Y';
$lang_date['lastcom'] = '%m/%d/%y at %H:%M';
$lang_date['lastup'] = '%B %d, %Y';
$lang_date['register'] = '%B %d, %Y';
$lang_date['lasthit'] = '%B %d, %Y at %I:%M %p';
$lang_date['comment'] = '%B %d, %Y at %I:%M %p';
$lang_date['log'] = '%B %d, %Y at %I:%M %p';

 100 
 on: November 02, 2023, 01:18:49 pm 
Started by sharpo - Last post by 406man
I ran into the same problem in my gallery which also uses English GB. Coppermine displayed date formats are defined in the language files in the \lang directory.  The formats changed in PHP relatively recently and potentially need an accompanying change in the language file.

My guess is that your english_gb.php file contains date formats that look like:
$lang_date['album'] = '%B %d, %Y';

Due to the PHP change they should be:
$lang_date['album'] = 'F d, Y';

You could update the definitions in your english_gb.php but, unless you’ve customised yours, I think it’s better to delete them as Coppermine will then pick up the definitions supplied in the english.php file as part of the standard distribution.

Goes without saying that if you update your english_gb.php file keep a backup copy in case the editing goes wrong.

Pages: 1 ... 6 7 8 9 [10]

Page created in 0.075 seconds with 15 queries.