MyBB Community Forums

Full Version: Problem with cpmfetch
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello

I have problem with cpmfetch.

I don't know what i must write there:

Path to cpmfetch directory
Enter the relative path to where you have installed cpmfetch.


I installed Coppermine Gallery.

Plugin: http://mods.mybb.com/archive/view/cpmfet...s-on-index
what is your forum url and what is your gallery url?

have you installed and configured the Coppermine cpmFetch pluign/addon (not the MyBB plugin, but the original cpmfetch code for Coppermine)?
Forum: http://domowipupile.hekko.pl/index.php
Gallery: http://domowipupile.hekko.pl/galeria/

I installed cpmfetch in inc/plugins (Mybb)

I nothing configured the Coppermine

I download http://www.communityplugins.com/forum/my...own&did=20

And problem solved.

But now i don't see photos in index page forum
the plugin from my site is limited to the portal. you need to edit the pluign and change the two instances of "portal_start" to "index_start", or if you want both, copy/paste those two lines and then change the new lines to index_start
ok i change:

//$plugins->add_hook('index_start', 'add_lastadded', 1000000);
$plugins->add_hook('index_start', 'add_lastadded', 1000000);
$plugins->add_hook('index_start', 'add_random', 1000000);
$plugins->add_hook('postbit', 'cpmfetch_parser', 1000000);


What now?
then make sure that {$cpmfetch_random} and {$cpmfetch_lastadded} are in the index template where you want the content to be output.
?? i don't know ;(
in the ACP, edit the index template and place one or both or {$cpmfetch_random} and {$cpmfetch_lastadded} where you want those tables to be output.
I added:

<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
	lang.no_new_posts = "{$lang->no_new_posts}";
	lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{$forums}
{$cpmfetch}{$cpmfetch_lastadded}{$boardstats}

<dl class="forum_legend smalltext">
	<dt><img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
	<dd>{$lang->new_posts}</dd>

	<dt><img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
	<dd>{$lang->no_new_posts}</dd>

	<dt><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt>
	<dd>{$lang->forum_locked}</dd>
</dl>
<br style="clear: both" />
{$footer}
</body>
</html>

And nothing; /
have you installed the main cpmFetch add-on in your gallery folder? It does not appear that you have done so

The MyBB plugin REQUIRES that the cpmFetch add-on for Coppermine be installed and configured first. The MyBB plugin does NOT include this software.

If you do not have that already, I have attached version 2.0.0 here (it is released under GPU/GPL) as its original site and support for it no longer exists. This Coppermine plugin IS NOT MINE, I just have the original download I am using on my site

I do support some Coppermine stuff on my CommunityPlugins.com site if you have trouble, but it is pretty straight forward to setup if you follow the documentation included. Please do that before asking me for help setting it up. Again, its not my code to support, I only do it when I have time and feel like it.

Once you finish the installation of cpmFetch for Coppermine, you can then configure cpmFetch for MyBB which piggybacks off the Coppermine version.
Pages: 1 2