Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Coppermine Fetch  (Read 3118 times)

0 Members and 1 Guest are viewing this topic.

Hamsterpants

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • My Staffie.com
Coppermine Fetch
« 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
Logged
Dillon Weyer
dill@mystaffie.com

Nibbler

  • Guest
Re: Coppermine Fetch
« Reply #1 on: July 20, 2005, 01:06:03 am »

Please post mod questions on the thread dealing with that mod.
Logged

Hamsterpants

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • My Staffie.com
Re: Coppermine Fetch
« Reply #2 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.
« Last Edit: July 20, 2005, 12:02:36 pm by Hamsterpants »
Logged
Dillon Weyer
dill@mystaffie.com

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Coppermine Fetch
« Reply #3 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.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Hamsterpants

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • My Staffie.com
Re: Coppermine Fetch
« Reply #4 on: July 20, 2005, 01:25:10 pm »

ok will do,

Dill
Logged
Dillon Weyer
dill@mystaffie.com
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 19 queries.