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: CFMfetch show only user gallery  (Read 3166 times)

0 Members and 1 Guest are viewing this topic.

jasa

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
CFMfetch show only user gallery
« on: June 25, 2006, 05:53:45 pm »

I would post this in CFMfetch forum but I've no rights to post...  >:(

Recently I installed CFGfetch and everything works fine, but it shows only pictures from user galleries and if I choose public categories it shows no pictures!? why?

My CPGfetch code on the main page is:
Code: [Select]
<?php
include "scripts/cpgfetch/cpmfetch.php";
$objCpm = new cpm('/galerija');
$options = array( 'imagestyle' => 'slika');
$source "";

$objCpm->cpm_viewLastAddedMediaFrom(31,$source,$options); 
$objCpm->cpm_viewRandomMediaFrom(1,1,$source,$options);

$objCpm->cpm_close(); ?>



Thanks for help...

Greetz
Jasa

PS. Does anybody know how to make CPGfetch to show random pictures from last added album?

« Last Edit: July 04, 2006, 07:17:34 am by GauGau »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: CFMfetch show only user gallery
« Reply #1 on: June 25, 2006, 06:38:36 pm »

The reason you can't post in the board is you are supposed to reply to whatever thread contained the code you got.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CFMfetch show only user gallery
« Reply #2 on: July 04, 2006, 07:18:19 am »

Marking thread accordingly and locking it. cpmFetch is a mod, not a plugin anyway. Respect board rules in the future!
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 22 queries.