Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Would be nice feature to have the sort order as an optional argument to the call to comments_template(). Then you could just setup different templates depending on which order you want.

    Forum: Plugins
    In reply to: WordPress and coppermine

    It turns out that the problem I was having was related to using the same database (server + username + password) for both WordPress and Coppermine. By upgrading to the latest DEVELOPMENT build of cpmfetch, the problem was solved. (They now force creation of a new DB link identifier within cpmfetch. Previously, if the same DB credentials were used, PHP would just use the existing link; when cpmfetch was done, it would close out that connection, and wordpress would be shut out.) Another way to solve the problem is to create unique database usernames for WordPress and Coppermine.

    Forum: Plugins
    In reply to: WordPress and coppermine

    Was that in response to my inquiry? If so, I think there is some confusion. I using cpmfetch to dynamically load random images from my Coppermine gallery (cpg) into my WordPress sidebar. You sound like you are referring to “theming” one’s Coppermine gallery, which I’ve already done. But thanks….

    Forum: Plugins
    In reply to: WordPress and coppermine

    Added Coppermine Fetch (cpmfetch) calls to my WordPress sidebar using the standard block of cpmfetch code. The images load, but it seems to hose WordPress’s access to my database. That is, all of my WP sidebar content fails to load whenever I add the cpmfetch code. No one else seems to be having this problem… any ideas?


    <?php
    include "../cpmfetch/coppermine.php";
    $objCpm = new cpm("/gallery");
    $objCpm->cpm_viewRandomMedia(3,1);
    $objCpm->cpm_close();
    ?>

Viewing 4 replies - 1 through 4 (of 4 total)