forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: Hamsterpants on July 20, 2005, 12:39:05 am

Title: Coppermine Fetch
Post by: Hamsterpants on July 20, 2005, 12:39:05 am
Please can someone let me know why:
The following works:
      <?php
         include "./cpmfetch/cpmfetch.php";
         $objCpm = new cpm("/photoalbum");
         $objCpm->cpm_viewRandomMedia(5,1);
         $objCpm->cpm_close();
      ?>

and the following doesn't:

      <?php
         include "./cpmfetch/cpmfetch.php";
         $objCpm = new cpm("/photoalbum");
         $objCpm->cpm_viewMostVotedMedia(5,1);
         $objCpm->cpm_close();
      ?>

Not sure I understand how this works, but all I need this function for is to display the most voted pics.
Thanks in advance
Dill
Title: Re: Coppermine Fetch
Post by: Nibbler on July 20, 2005, 01:06:03 am
Please post mod questions on the thread dealing with that mod.
Title: Re: Coppermine Fetch
Post by: Hamsterpants on July 20, 2005, 10:53:41 am
I tried, but there was no post button in that area, see attached image. Please can you move this post for me.
Title: Re: Coppermine Fetch
Post by: kegobeer on July 20, 2005, 12:59:48 pm
You don't start a new thread, you reply to an existing one.  Just reply to the CPMFetch thread.
Title: Re: Coppermine Fetch
Post by: Hamsterpants on July 20, 2005, 01:25:10 pm
ok will do,

Dill