forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: winter on February 02, 2007, 01:22:00 pm

Title: wordpress coppermine integration, WP function embedded
Post by: winter on February 02, 2007, 01:22:00 pm
Hello all. Can you help me? I cant find anyone :( How can i integrate coppermine PG to wordpress blog? I have dinamic sidebar in my blog and use this code in him
Quote
query_posts('cat=1&showposts=3');
while (have_posts()) : the_post(); ?>
<?php the_title(); ?>
<?php the_time('d M Y')?>
          <br>
         <a class="ba" href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">
<?php the_excerpt() ?></a>
         <?php endwhile; ?>
???


When i use
Quote
function pageheader($section, $meta = '')
{
define('FIM', true);
 include("../wp-blog-header.php");
get_header();
}

in theme.php
there is fatal error:
Fatal error: Call to a member function on a non-object in
Quote
z:\home\localhost\www\wp-includes\functions.php on line 309

What to me to do?
Plese help me. At me nothing turns out
Title: Re: wordpress coppermine integration, WP function embedded
Post by: Davide Renda on February 04, 2007, 12:10:17 pm
If you wish to bridge your Coppermine gallery to a Wordpress blog, try this one:
http://www.stilglog.com/wordpress-plugins/coppermine-plugin/coppermine-usage/
[Edit GauGau] Link no longer points to the desired plugins, but to unrelated porn crap, that's why I disabled it [/Edit]
Title: Re: wordpress coppermine integration, WP function embedded
Post by: seanyore on February 12, 2007, 11:01:22 pm
can't get anything from "lontano's" post, but for a real plugin, try coppermineSC from the wp plugins site. I have it working on mine.
Only problem I found is that "display.php" generates a linkback to the cpg progrem such that if users click on the returned picture, the browser launches the CPG application in a window.
Title: Re: wordpress coppermine integration, WP function embedded
Post by: poubao on February 12, 2007, 11:13:36 pm
Stilglog site is down, see this topic (french)
[Silblog plugin for wordpress 2.10 (http://forum.coppermine-gallery.net/index.php?topic=40915.0)