MyBB Community Forums

Full Version: [Tutorial] Updated: True integration with Coppermine and MyBB
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9
ok, thank You Smile
gallery working Smile
good deal.
Can You tell me else how i can use table (from index page Coppermine) with last uploads in index page mybb?
you need two things.

First is find a version of cpmFetch add-on for Coppermine and install that.

Then find the cpmFetch plugin for MyBB on the mods site and install that.
one more question...

I have this plugin on mybb: http://mods.mybb.com/view/ajax-pm-notification
But in Coppermine information about new pm is standard - not like plugin.
What must I do to get it working?
URL to your site?
http://www.mlodzi-ino.net/
Coppermine is here: http://www.mlodzi-ino.net/galeria/ but it not yet configured.

in source of the page code from plugin is not displayed...
can you create a test account for me with PM privileges?

Best I can tell, it's a conflict with regard to the Ajax object from Prototype and jQuery Ajax object the scripts Coppermine uses and the order in which the JS is output.

I can get the correct HTML changes made in the gallery by modifying the wrapper code. Just add the following to the bottom of the "<coppermine folder>/cpg_mybb_wrapper.php" file

if(function_exists('ajaxpmnotice'))
{
	$cpg_main_top = ajaxpmnotice($cpg_main_top);
	$cpg_main_bottom = ajaxpmnotice($cpg_main_bottom);
}

It should be just above the closing "?>" This will make the default PM notice disappear, the DIV tag at the end of the body to be added and the insertion of the ajaxpmnotice JS function into the header.

However, I am not sure how to get around the jQuery conflict without a major rewrite of the wrapper code or modifying original Coppermine files.
I have one more problem...

My forum database is coding in utf8_general_ci, coppermine database is coding in latin2_general_ci
And when user have on forum nickname with polish letter (e.g. ą ś ć ę ó ł etc.) in coppermine we see that: �

When i use polish letter in coppermine everything is OK but when coppermine use polish letter from forum database is that problem...

(in coppermine settings I must use UTF becouse all forum files use this coding.)
can you give me a link where this problem is occurring and a link to where the same data is displayed correctly?
Pages: 1 2 3 4 5 6 7 8 9