Recent posts - Page 10 Recent posts - Page 10
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Recent posts

#91
cpg1.6 plugins / Re: onlinestats plugin
Last post by panhead - December 06, 2024, 12:21:45 PM
That seems to work, thank you!
#92
cpg1.6 plugins / Re: onlinestats plugin
Last post by ron4mac - December 05, 2024, 06:10:47 PM
Quote from: panhead on December 05, 2024, 04:40:05 PMI installed v2.8 (from github), is there another source?
[ Re-entered my previous post to combat smilies ]
No .. that is the most recent (and necessary) version.

I don't know why it should be failing for you .. PHP version maybe? ( my test bed is using 8.3.14 )

if you can modify a file, you might try making this change to include/functions.inc.php at line(s) 573:
    $timestamp = (INT)$timestamp;
    $timestamp += ((INT)$CONFIG['time_offset'] - $diff_to_GMT) * 3600;
#93
cpg1.6 plugins / Re: onlinestats plugin
Last post by panhead - December 05, 2024, 04:40:05 PM
I installed v2.8 (from github), is there another source?
#94
cpg1.6 plugins / Re: onlinestats plugin
Last post by ron4mac - December 05, 2024, 02:29:30 PM
Quote from: panhead on December 04, 2024, 12:29:24 PMI get this error after installig this plugin:

I installed the Onlinestats plugin ( v2.8 ) in the latest release version of CPG ( v1.6.26 ) and experienced no issues.
#95
cpg1.6 plugins / Re: onlinestats plugin
Last post by panhead - December 04, 2024, 12:29:24 PM
I get this error after installig this plugin:

Fatal error: Uncaught TypeError: Unsupported operand types: string + int in /home/-/domains/xxx.net/public_html/cpg/include/functions.inc.php:573 Stack trace: #0 /home/-/domains/xxx.net/public_html/cpg/include/functions.inc.php(543): localised_timestamp() #1 /home/-/domains/xxx.net/public_html/cpg/plugins/onlinestats/codebase.php(192): localised_date() #2 /home/-/domains/xxx.net/public_html/cpg/include/plugin_api.inc.php(215): online_mainpage() #3 /home/-/domains/xxx.net/public_html/cpg/index.php(1125): CPGPluginAPI::filter() #4 {main} thrown in /home/-/domains/xxx.net/public_html/cpg/include/functions.inc.php on line 573
#96
cpg1.6 miscellaneous / Re: Coppermine Thumbnails & Wo...
Last post by nowordneeded - November 27, 2024, 02:10:11 PM
Update:

Okay, weird thing happening. I have a plugin that can include featured albums from Coppermine in the sidebar. I put three of them in to replace others and they're showing up. The only place they aren't is in the posts. Again, that's all of them. Attachment included.
#97
cpg1.6 miscellaneous / Re: Coppermine Thumbnails & Wo...
Last post by nowordneeded - November 27, 2024, 01:53:17 PM
Hi Ron:

All the images I posted to the Wordpress front pages are all 6.7.1. I went into Bella to look for the coding you mentioned and it's not there when I used a Ctl+F on the keyboard. Secondly, the images on Temuera are all there. In all the posts where there is a link from the WP media library, they're there. All images are displaying in Temuera. The only images throughout both Bella and Pedro that are linked to the Coppermine gallery, are not showing. It's everything from the Coppermine.

NWN
#98
cpg1.6 miscellaneous / Re: Coppermine Thumbnails & Wo...
Last post by ron4mac - November 26, 2024, 01:33:13 AM
The links on your Wordpress page to the gallery images are somehow being double url encoded. A space character that would normally be encoded to %20 is ending up being %2520, indicating that it has been doubly url encoded. Are your Wordpress versions all the same?
#99
cpg1.6 miscellaneous / Re: Coppermine Thumbnails & Wo...
Last post by nowordneeded - November 24, 2024, 10:34:16 AM
Hi Phil:

I'm sorry for being so obtuse. What I meant is that I have the same theme on all the sites I linked. The problem I'm having is the links I have in the posts of Bella and Pedro. the photos aren't showing up as they used to. Unlike Temuera where the links in post show up to the gallery. I'll attach screenshots.

Once again, this is when I try to display the thumbnails from the galleries in the Wordpress main site. They used to work on Pedro and Bella and I'm not sure what's happened. I haven't done anything to the sites. Nothing in coding. Just suddenly the images from the Coppermine galleries aren't showing.

I hope that was clear. If not please let me know.

NWN
#100
cpg1.6 miscellaneous / Re: Coppermine Thumbnails & Wo...
Last post by phill104 - November 23, 2024, 06:38:30 PM
Can you give some more info? I cannot tell what links you mean, where exactly they are not working or what update you did that caused the issue?