cpmfetch / hidden albums cpmfetch / hidden albums
 

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]

Main Menu

cpmfetch / hidden albums

Started by SNo0py, January 15, 2007, 03:49:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SNo0py

Again I can't post to "Modifications/Add-Ons/Hacks > Mods: content syndication (cpmFetch)", so maybe someone can move this thread and give me access to the subforum?

cpmfetch, in the latest version, does not honor hidden albums, that have a password set. So it shows images even if the album is protected by a password.

Can this please be fixed?

Thx.

vuud

Quote from: SNo0py on January 15, 2007, 03:49:25 PM
Again I can't post to "Modifications/Add-Ons/Hacks > Mods: content syndication (cpmFetch)", so maybe someone can move this thread and give me access to the subforum?

cpmfetch, in the latest version, does not honor hidden albums, that have a password set. So it shows images even if the album is protected by a password.

Can this please be fixed?

Thx.

Cpmfetch stuff goes here.  It used to be in Content Syndication, but after it got popular, they moved it here. 

It *should* honor private albums... perhaps the way they do that has changed in 1.4...   

Okay, so for a bug report:

* Which function are you calling?  (they all do a lot differently)
* Can you post your code fragment here
* The albums are normal albums or user albums? 

I do not remember seeing that there, so it's entirely possible it was added in 1.4...  Yes it can be fixed.  I have today off so I will try to check it out in a bit.  Will post a release if I get it fixed.

Thanks for pointing it out

(or in Microsoft speak:  Ummmm, its a feature -yeah, thats it...)




Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

SNo0py

Even better: "It works on my machine" :)

Here is the code:

  include './cpmfetch.php';
  $objCpm = new cpm();
  $objCpm->cpm_viewRandomMediaFrom('owner='.$user, 1, 1 );
  $objCpm->cpm_close();

The albums are user albums that have a password set.

I can give you access, just send me a PM if you need more info.

vuud

Quote from: SNo0py on January 15, 2007, 06:08:51 PM
Even better: "It works on my machine" :)

Here is the code:

  include './cpmfetch.php';
  $objCpm = new cpm();
  $objCpm->cpm_viewRandomMediaFrom('owner='.$user, 1, 1 );
  $objCpm->cpm_close();

The albums are user albums that have a password set.

I can give you access, just send me a PM if you need more info.


So is it all good with the fix I sent you?  If so, I will try to post it as a dev release later today...  Figure thats important enough to get out sooner than later.

Regards,

Vuud
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

Joachim Müller

Quote from: SNo0py on January 15, 2007, 03:49:25 PM
Again I can't post to "Modifications/Add-Ons/Hacks > Mods: content syndication (cpmFetch)", so maybe someone can move this thread and give me access to the subforum?
You can't post there and that's expected behaviour: the mods board is not meant for support requests. The board description and the sticky thread say so as well:
QuoteModifications/Add-Ons/Hacks
The Modifications/Add-Ons/Hacks board is for actual mods and hacks contributions. It is not for requests for mods and hacks. Regular users are not able to post new threads to prevent this board from being cluttered by requests. If you want to contribute and are unable to create a new thread here, please post your contribution in the support boards under the correct version. A moderator will move the thread if it is a valid contribution. Next to each thread's subject, you'll find a little icon that says what version the mods on this sub-board have been written for or tested with (if applicable). Please do not clutter the individual threads by asking if the particular mod will or will not work with another coppermine version than the one it has originally been created with/for.
Posting on the plugin support board is not a bright idea if you're not discussing a plugin.

SNo0py

Quote from: vuud on January 15, 2007, 07:17:23 PM

So is it all good with the fix I sent you?  If so, I will try to post it as a dev release later today...  Figure thats important enough to get out sooner than later.

... works fine, thanks for the quick response!

JCphotog

I'm having the same problem.

version 2.0.0

echo '<center>';  include_once "/home/user/public_html/domain/gallery/cpmfetch/cpmfetch.php"; 
  $objCpm = new cpm("/home/user/public_html/domain/gallery/cpmfetch/cpmfetch_config.php");
  $objCpm->cpm_viewLastAddedMedia(1,1);
  $objCpm->cpm_close();
echo '</center>';

The albums are user albums..

What's the fix?

Thanks for the help!

Joachim Müller

No, you must be having a different problem. Start a thread of your own, doing as suggested in the sticky threads. Locking.