Advanced search  


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.

Pages: 1 [2] 3 4 5 6 ... 10
 on: June 20, 2019, 06:50:58 pm 
Started by Hanna. - Last post by Hanna.
I'm trying to include different sections into template.html from other files (with content). You are saying I cannot do that?

 on: June 20, 2019, 06:46:58 pm 
Started by Hanna. - Last post by ron4mac
You can not include a PHP file in a .html file.

Describe fully what you are trying to achieve.

 on: June 20, 2019, 06:02:54 pm 
Started by Hanna. - Last post by Hanna.
Gotcha - it did not do anything in Mozilla though. Thanks! But I will definitely await for your plugins!

 on: June 20, 2019, 05:56:13 pm 
Started by Hanna. - Last post by Hanna.
Hey guys - I am trying to make things easier for myself (with many coppermine installations) to now start using PHP include so I can finally have "flat" template.html's and edit the php files for manual corrections.

However, the general code for PHP include that I am trying to set up is:
Code: [Select]
<?php include("disclaimer.php"); ?>
The file is online and ready to be picked up (see link)

The template.html and disclaimer.php are located in the theme folder together.

disclaimer.php inside looks like this: (if relevant to fix this issue)

Code: [Select]
<!DOCTYPE html>

<h1>My first PHP page</h1>

echo "Hello World!";


If I am missing something please tell me.

 on: June 20, 2019, 05:49:30 pm 
Started by Hanna. - Last post by ron4mac
You will have to not do (or undo) the above to cause the normal behavior (resize image to window) to NOT occur.
Then in your theme's template.html file, just before the </head> line, insert:

Code: [Select]
var old_mmpop = window.MM_openBrWindow;
window.MM_openBrWindow = function (u,i,f) {

 on: June 20, 2019, 04:49:57 pm 
Started by Hanna. - Last post by ron4mac
Missed the second part of above ...

I have no problems scrolling the large image (Mac OS, Safari and Chrome)

 on: June 20, 2019, 04:43:15 pm 
Started by Hanna. - Last post by ron4mac
You did a tad more than what I had said ...

It should be:
Code: [Select]
        <script type="text/javascript" src="{$jquery_path}"></script>
        <script type="text/javascript" src="js/jquery.dimensions.pack.js"></script>
        <script type="text/javascript" src="js/displayimage.fullsize.js"></script>

 on: June 20, 2019, 04:34:32 pm 
Started by Hanna. - Last post by Hanna.
I replaced that line completely:

Code: [Select]
        <script type="text/javascript" src="{$jquery_path}"></script>
        <script type="text/javascript" src="{$jquery_path}/jquery.dimensions.pack.js"></script>
        <script type="text/javascript" src="{$jquery_path}/displayimage.fullsize.js"></script>

But no change for my case at all actually. Cannot scroll at all. LINK

It does not seem to recognize the image size. The pop up window used to shrink the image but that was even worse. I'd like to have it to when you get the popup you can scroll around inside but the image always remains in full-size, no shrinking or cropping of any kind.

 on: June 20, 2019, 03:26:56 pm 
Started by Hanna. - Last post by ron4mac
Did you get this resolved? If so, it would have been nice for you to share with the community.

Was there maybe a CloudFlare proxy?

 on: June 20, 2019, 02:21:45 pm 
Started by nowordneeded - Last post by ron4mac
For any older plugins that aren't compatible with CPG 1.6.x, change any coding occurrences of mysql_xxx_xxx to cpg_db_xxx_xxx.

Pages: 1 [2] 3 4 5 6 ... 10

Page created in 0.018 seconds with 17 queries.