Last added images with bridge Last added images with bridge
 

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

Last added images with bridge

Started by stuarta, September 07, 2006, 10:20:57 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

stuarta

Sorry back again and just trying to see if I can get to the bottom of my problem. 

When I'm bridged, LastAddedImages that were posted while bridged don't show up and still shows the ones that were uploaded while unbridged.

Think there must be something really wrong with my user databases but unsure where to start or sort.

thanks
Comptia A+ / Network + certified

Joachim Müller

Post a link and non-admin test user account for a start.

stuarta

www.simpilots.co.uk/gallery
stutest/password.

Not bridged at the moment, but if you have a look under last added images, there are several images uploaded by a user 'speedpig001' which aren't being picked up on other pages such as www.simpilots.co.uk/home.php under last added.  These were added while bridged.
Comptia A+ / Network + certified

Joachim Müller

So you're not asking about the built-in meta album "last uploads", but for a script that resides on a non-coppermine page that pulls content from coppermine's database?
We can't support stuff if we don't know the underlying code. You're using an unknown third party tool or hack. Without even telling us what exactly it is, your question is just invalid. Post your cpmFetch version for a start and the syntax of the code you used.

stuarta

cmpfetch 1.6.4

include "cpmfetch/cpmfetch.php";
$objCpm = new cpm('/gallery');
$options = array('subtitle'=>'%t by %o',"cellstyle" => "copyright" );
$objCpm->cpm_viewLastAddedMedia(3,1,$options);
$objCpm->cpm_close();

I'm sure it's not the code that's the issue is the conflict of my databases.  I remember Vuud saying something about the id numbers
Comptia A+ / Network + certified

vuud

Quote from: stuarta on September 07, 2006, 01:23:32 PM
cmpfetch 1.6.4

include "cpmfetch/cpmfetch.php";
$objCpm = new cpm('/gallery');
$options = array('subtitle'=>'%t by %o',"cellstyle" => "copyright" );
$objCpm->cpm_viewLastAddedMedia(3,1,$options);
$objCpm->cpm_close();

I'm sure it's not the code that's the issue is the conflict of my databases.  I remember Vuud saying something about the id numbers

Yes, once you bridge all of your user information comes from the forum (or whatever).  So photos get stored with a user id matching that database.  CPMFetch does not (yet) know to look there, can't find matches in the cpg tables and skips photos that fall into that realm.  If all of them are like that you have an issue.

A bunch of solutions have been brought up in the cpmfetch threads, but they can be hard to find.  None of them are particularly good solutions.  If you can wait a few days and are willing to run a beta, that is the functionality I am working on now.

See ya


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

stuarta

I'm more than happy to wait.  To be honest the bridge isn't that important at the moment as most members who post pics have registered twice anyway
Comptia A+ / Network + certified

vuud

Quote from: stuarta on September 07, 2006, 03:04:02 PM
I'm more than happy to wait.  To be honest the bridge isn't that important at the moment as most members who post pics have registered twice anyway

Well I just installed a bridged version of CPG for my pagoda, so the importance just crept up the list a bit.  I wanted to work on it yesterday, but got delayed, and I am so tired.  so tired.

I'm going to do it in phases, the next release will work with bridges but lose some of the functionality (much like the stable version now), the ones following that will support different bridges as I can work them out.

Have a nice day, get some sleep. 

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

stuarta

I've slept lol.  Different time zone lol. Hope you have slept better.

Well I'll wait to hear from you at the moment about the upgrade and hope I can help
Comptia A+ / Network + certified