CpmFetch 1.4 On... Displaying data and images from CPG on your website - Page 14 CpmFetch 1.4 On... Displaying data and images from CPG on your website - Page 14
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

CpmFetch 1.4 On... Displaying data and images from CPG on your website

Started by vuud, July 08, 2005, 06:43:10 AM

Previous topic - Next topic

0 Members and 8 Guests are viewing this topic.

vuud


Thanks!

Yeah, the various bridges have turned out to be a pain.  Glad to hear you survived the pain.

A new version will be out in a week or two that will be drastically different from the current one, at least from the setup and running point of view.  Just so people don't think I have disappeared completely.

Vuud

Quote from: isloera on September 21, 2005, 05:21:33 AM
First of all, I want to thank vuud for cpmfetch. Ok now I will continue with my post  ;)


I downloaded copperminefetch-1.6.2 fisrts and I followed the instructions. I opened cftest.php and everything passed the only weird thing was that the thumbnails were not showing. I tried the version before, copperminefetch-1.6.1, I looked everywhere for a solution and after two hours I found out what was the problem thanks to some posts in this thread.

I'm using Coppermine bridged with phpBB, and the only user that posts pictures is me :). My users send me the pictures and I put them in the Gallery.  The solution, as Vuud suggested before, was to add my username as used in phpBB to the coppemine users table. After doing that it worked :o, well kind of.  The thumbnails dind't show, but the captions with the links to the thumbnails were there and some errors related to the fetching of some more.   After Upgrading back to  copperminefetch-1.6.2 it worked fine and the Thumbnails showed. So far it works I still have to use the functions.

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

RockCitySaint

Hi Vuud, I fixed my problem that I had before, but now I have a new one:

I searched for this and looked in the docs and didn't see anything, so anyways...
Some of my users uploaded pictures that weren't .jpg but instead .jpe and cpmfetch wont display the images. They display the filename or something. Is there a way to get cpmfetch to display them, I tried looking through the code but wasn't sure about it and didn't want to mess it up.

thanks,
RCS

vuud


Well, there are two solutions...

1) Get rid of those users.  In any given system users are generally related to most problems.

2) We have to tell cpmfetch that jpe's are okay.  Are jpe's jpgs basically?


Quote from: RockCitySaint on September 21, 2005, 09:58:39 PM
Hi Vuud, I fixed my problem that I had before, but now I have a new one:

I searched for this and looked in the docs and didn't see anything, so anyways...
Some of my users uploaded pictures that weren't .jpg but instead .jpe and cpmfetch wont display the images. They display the filename or something. Is there a way to get cpmfetch to display them, I tried looking through the code but wasn't sure about it and didn't want to mess it up.

thanks,
RCS
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

smfsupport

yes, they are.

PS. Can't get rid of those users, and I can't really explain to them what they're doing wrong because they're dont understand computers, so its either tell cpmfetch they're okay or manually change the extensions through coppermine (PAIN).

RockCitySaint

^^^ Sorry, that was me. I logged in as smfsupport because I was having a similar problem as gau gau was having with smf on my site and wanted to see what was wrong.

RCS

Andreas W.

Quote from: vuud on September 05, 2005, 05:30:45 AM
Quote from: Andreas W. on September 03, 2005, 09:50:53 AM
Any ideas to help me with my problem?
thanks

Sorry, I have been building and installing a router for the past few days.  I've been getting home at 2am, and getting up and heading back.

back home? ;-)

nyoutdoors

Every time I try to download the newest version fom the initial post in this thread, I keep getting taken back to the sign-in page.

Joachim Müller


cyprus07

hi, i tried instaling cpmfetch on my site and i get this error


80   CPG Config file not found: /home2/polionli/public_html/cpmfetch/include/config.inc.php


what have i done wrong

vuud

Quote from: cyprus07 on September 27, 2005, 03:39:40 AM
hi, i tried instaling cpmfetch on my site and i get this error


80   CPG Config file not found: /home2/polionli/public_html/cpmfetch/include/config.inc.php


what have i done wrong

Did you change the path at the top of the cftest.php file to point at your coppermine gallery?

Can you post a link to the cftest.php file?  Or PM me if you are security concerned

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

vuud

Quote from: Andreas W. on September 23, 2005, 10:25:19 PM
Quote from: vuud on September 05, 2005, 05:30:45 AM
Quote from: Andreas W. on September 03, 2005, 09:50:53 AM
Any ideas to help me with my problem?
thanks

Sorry, I have been building and installing a router for the past few days.  I've been getting home at 2am, and getting up and heading back.

back home? ;-)


Yeah, I am back...  How is your problem?  Sometimes these things have a way of resolving themselves...

:)

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


vuud

Quote from: cyprus07 on September 27, 2005, 07:55:26 AM
here is the link where cftest.php

is www.poli-online.net/cpmfetch/cftest.php

Yep, you need to edit the top of the cftest.php file and change the variable to wherever your CPG install is (not cpmfetch)

So if your photo gallery is in /gallery - you need to use that.

I can't tell from looking at the site
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

nk111

Hi there,

i downloaded and installed cpmfetch today. After setting the path in cftest i got
no more errors there but no pictures at all. Same in cfimageget. I just get a 1x1
empty gif there which seems to be the problem.gif I guess.

Here's the url:

http://mad-d-sign.com/cpmfetch/cftest.php

http://mad-d-sign.com/cpmfetch/cfimageget.php

My CPG 1.3.5 is bridged with SMF 1.1 RC1. Could that be the problem. If so, any ideas
how to solve this?

regards
Nico

<edit>
Sorry, for not reading the recent posts. I guess, I'd have to create all the users in the cpg tables too? There are too many to do so... Any other way to solve the problem? Or should I just wait for a newer version?
</edit>
¿ uwop ap!sdn - upside down ?

vuud

Quote from: nk111 on September 27, 2005, 11:36:52 AM
Hi there,

i downloaded and installed cpmfetch today. After setting the path in cftest i got
no more errors there but no pictures at all. Same in cfimageget. I just get a 1x1
empty gif there which seems to be the problem.gif I guess.

Here's the url:

http://mad-d-sign.com/cpmfetch/cftest.php

http://mad-d-sign.com/cpmfetch/cfimageget.php

My CPG 1.3.5 is bridged with SMF 1.1 RC1. Could that be the problem. If so, any ideas
how to solve this?

regards
Nico

<edit>
Sorry, for not reading the recent posts. I guess, I'd have to create all the users in the cpg tables too? There are too many to do so... Any other way to solve the problem? Or should I just wait for a newer version?
</edit>



Do you mean wait for a newer version of the SMF Bridge?   I am not sure that I will be supporting all of the hacks that come out for coppermine photo gallery.  I may change it so that it ignores user data completely, which would solve this problem.

Hmmm,

Ah nevermind... I thought we could get away with something, but not really.  Too bad.  A few solutions leap to mind... you can recode the cpm_dao sql to use the smf user tables, or just take out the references to anything in the user table in the sql at the top and then in all the different sql calls lower.  The other solution is to write some sort of sql call that will take the smf users and copy the corresponding data into the cpg user tables.

Wish I could be more help on this, but I don't use the SMF bridge and I am having a tough time finding time to get ready for the 1.4 release of CPG never mind my personal wish list for CpmFetch

Good luck and let me know if you have any questions







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

cyprus07

ok. now it works fine. however how do i add it in my site? and instead of having 3 pictures i want to have them going downwards.

i want to ad it on my site www.poli-online.net on the left menu where you see the 2 pictures right now. how do i do that is there some kind of code?

vuud

Quote from: cyprus07 on September 28, 2005, 03:21:36 AM
ok. now it works fine. however how do i add it in my site? and instead of having 3 pictures i want to have them going downwards.

i want to ad it on my site www.poli-online.net on the left menu where you see the 2 pictures right now. how do i do that is there some kind of code?

Read the quickstart
http://www.fistfullofcode.com/projects/copperminefetch/quickstart.php

Then if you are especially giddy, the documentation (the how to use stuff)

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

willstein

I hope this is the right thread,
On my site, I am displaying the two latest images. Is there a way I can seperate them to latest of each album (limiting it at two)?

vuud

Quote from: lavashark.com on September 28, 2005, 05:21:31 AM
I hope this is the right thread,
On my site, I am displaying the two latest images. Is there a way I can seperate them to latest of each album (limiting it at two)?

If you want to show the last image from two different categories, you could just make two calls to cpmfetch (hint: don't recreate the object, just add a second call).

Of course I could be misunderstanding the problem


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

willstein

Quote from: vuud on September 28, 2005, 05:48:16 AM

If you want to show the last image from two different categories, you could just make two calls to cpmfetch (hint: don't recreate the object, just add a second call).

Of course I could be misunderstanding the problem


If I  call it twice, i think it will simply display the last uploaded file twice.
How might I specify only to call one per album.

In other words, not two last uploaded files, but most recent file from latest two albums.