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 ... 9 10 11 12 [13] 14 15 16 17 ... 54   Go Down

Author Topic: CpmFetch 1.4 On... Displaying data and images from CPG on your website  (Read 969686 times)

0 Members and 1 Guest are viewing this topic.

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #240 on: September 05, 2005, 05:30:45 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.

Little time for cpmfetch, but there is soooo much I still want to do.

I may be able to look at it more tomorrow afternoon.  Sorry for the hold up.
Logged
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

chr1831

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #241 on: September 08, 2005, 07:35:51 am »

i dont know if this is the right place but ive been looking around for the right place and i coudlent start a topic..., so sorry if its wrong :(,

help please

i would like to set up cpmfetch on my art page, put i want it to show the images at there full size and still randomly how on earth would i do this???, if you could help i would love this :D
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #242 on: September 08, 2005, 02:50:22 pm »

i dont know if this is the right place but ive been looking around for the right place and i coudlent start a topic..., so sorry if its wrong :(,

help please

i would like to set up cpmfetch on my art page, put i want it to show the images at there full size and still randomly how on earth would i do this???, if you could help i would love this :D

Yes, this is the correct place

Absolutely that can be done

Once you get through the getting started stuff...

http://www.fistfullofcode.com/projects/copperminefetch/manual/ch06.html
and
http://www.fistfullofcode.com/projects/copperminefetch/manual/ch06s02.html
(See the imagesize tag)

Hope that helps...  some people get mad when I don't want to retype documentation into posts just for them... its not meant to be insultive or anything...  Its just the best place to look.



Logged
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

chr1831

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #243 on: September 08, 2005, 04:26:19 pm »

No Problem  ;D
is there a way just 2 convert the calls of the images from the fetch to <img src=""> and then it would display them in full size :D
« Last Edit: September 08, 2005, 04:33:35 pm by chr1831 »
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #244 on: September 08, 2005, 05:38:02 pm »

No Problem  ;D
is there a way just 2 convert the calls of the images from the fetch to <img src=""> and then it would display them in full size :D

I am not following you...  If you call it with the imagesize setting, you can tell it to return a large version of the photo...  See the second link.

Or am I missing something?  Which is possible
(I was wrong once) :)






Logged
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

chr1831

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #245 on: September 09, 2005, 01:31:29 am »

i mean is it posiable to have cpfetch return the codeing as img src="" so it is exactly as if u where opening it at 100% instead of like 20, 30% where they are some what distorted
« Last Edit: September 10, 2005, 05:28:55 pm by chr1831 »
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #246 on: September 11, 2005, 01:03:35 am »

i mean is it posiable to have cpfetch return the codeing as img src="" so it is exactly as if u where opening it at 100% instead of like 20, 30% where they are some what distorted

If you are asking if it can return the full size image, yes.

Its the imagesize => large on the page I sent you.  That will not change it at all.

If you are asking if it can return img src without the rest of the stuff it generates, yes - but not easily.  You need to get the data back and make some additional calls




Logged
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

chr1831

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #247 on: September 11, 2005, 02:00:18 am »

$options = array( 'subtitle' => '%t' , 'imagesize => "large"' );
$objCpm->cpm_viewRandomMedia(6,3,$options);

whats wrong with this it = no works :/
« Last Edit: September 11, 2005, 02:10:07 am by chr1831 »
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #248 on: September 11, 2005, 02:27:08 am »

$options = array( 'subtitle' => '%t' , 'imagesize => "large"' );
$objCpm->cpm_viewRandomMedia(6,3,$options);

whats wrong with this it = no works :/

try this:

$options = array( 'subtitle' => '%t' , 'imagesize' => "large" );
$objCpm->cpm_viewRandomMedia(6,3,$options);

Missing single quote on imagesize in above listing
Extra quote on end of large
Logged
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

nate

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #249 on: September 11, 2005, 10:10:00 pm »

I just downloaded this and it should work, but it doesn't.

    * Include what version of coppermine you are using 1.3.2
    * a link to your website and gallery http://haylieonline.com/pictures
    * a link to an example of the problem (if possible) http://haylieonline.com/cpmfetch/cftest.php no thumbnails are shown
    * how computer savvy you are (newbie, intermediate, damn good) probably above intermediate
    * what kind of web server you are running on (if known) Apache 1.x
    * Include the syntax of the command you are using. n/a, just the test script

Everything passes, I set the cpg path to /pictures. There's a pictures subdomain but /pictures is the same place. I'm pretty sure all the settings are default; I checked the prefixes and they are.
It does open and close a table tag but there aren't img tags, etc.
Yes, my host is slow, sorry ;) thanks in advance

Edit: Right after I posted I remembered our CPG uses the SMF bridge... I assume that wouldn't have anything to do with it...
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #250 on: September 12, 2005, 06:07:02 am »

I just downloaded this and it should work, but it doesn't.

    * Include what version of coppermine you are using 1.3.2
    * a link to your website and gallery http://haylieonline.com/pictures
    * a link to an example of the problem (if possible) http://haylieonline.com/cpmfetch/cftest.php no thumbnails are shown
    * how computer savvy you are (newbie, intermediate, damn good) probably above intermediate
    * what kind of web server you are running on (if known) Apache 1.x
    * Include the syntax of the command you are using. n/a, just the test script

Everything passes, I set the cpg path to /pictures. There's a pictures subdomain but /pictures is the same place. I'm pretty sure all the settings are default; I checked the prefixes and they are.
It does open and close a table tag but there aren't img tags, etc.
Yes, my host is slow, sorry ;) thanks in advance

Edit: Right after I posted I remembered our CPG uses the SMF bridge... I assume that wouldn't have anything to do with it...

Pre recorded:  Today I cut up my left pointer finger on a table saw.  While the wound required few stiches, I have an enormous dressing on it that makes it very hard to type with.  Please forgive short, abbreviated messages - they are simply because it takes me too long to type with one hand.  Thank you.


probably due to there not being any users in the coppermine users table.  How many smf users?  You van try creating them in coppermine... same problem we had with the phpbb bridge.  lemme know ifd you need help on that. 

Logged
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

Shadower

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #251 on: September 12, 2005, 07:56:49 pm »

What's the cpm command for showing the textual-link to the last 10 files added.
Logged

nate

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #252 on: September 12, 2005, 10:44:15 pm »

probably due to there not being any users in the coppermine users table.  How many smf users?  You van try creating them in coppermine... same problem we had with the phpbb bridge.  lemme know ifd you need help on that. 
There are about 100 SMF users and 1 CPG user. Do I need to create 100 users in Coppermien? I tried adding a row in CPG's user db but had no effect... so I don't really know what I'm doing ;).
Thanks for the help.
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #253 on: September 12, 2005, 10:48:23 pm »

probably due to there not being any users in the coppermine users table.  How many smf users?  You van try creating them in coppermine... same problem we had with the phpbb bridge.  lemme know ifd you need help on that. 
There are about 100 SMF users and 1 CPG user. Do I need to create 100 users in Coppermien? I tried adding a row in CPG's user db but had no effect... so I don't really know what I'm doing ;).
Thanks for the help.

Woof... Let me mull that over... 100 users.  Not sure if its easier to just recode the query or code up something to move user information :)

Are they in the same database?


Logged
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

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #254 on: September 12, 2005, 10:55:51 pm »

What's the cpm command for showing the textual-link to the last 10 files added.

Pre recorded:  Sep 11th I cut up my left pointer finger on a table saw.  While the wound required few stiches, I have an enormous dressing on it that makes it very hard to type with.  Please forgive short, abbreviated messages - they are simply because it takes me too long to type with one hand.  Thank you.

Function is viewLastAddedMedia from this page
http://www.fistfullofcode.com/projects/copperminefetch/manual/ch07s03.html

Need options array in your call
http://www.fistfullofcode.com/projects/copperminefetch/manual/ch06.html

You need noimage option from this page, also subtitle link
http://www.fistfullofcode.com/projects/copperminefetch/manual/ch06s02.html

You probably want a subtitle so something shows up
http://www.fistfullofcode.com/projects/copperminefetch/manual/ch06s03.html

Now, if you don't actually want to try to learn this yourself, or check the docs out... it would be something like this:

$options = array("noimage" => "", "subtitlelink" => "", 'subtitle' => 'Image %t is %S KB');
cpm_viewLastAddedMedia(10,1,$options);

Or something like that

Logged
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

nate

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #255 on: September 12, 2005, 11:28:27 pm »

probably due to there not being any users in the coppermine users table.  How many smf users?  You van try creating them in coppermine... same problem we had with the phpbb bridge.  lemme know ifd you need help on that. 
There are about 100 SMF users and 1 CPG user. Do I need to create 100 users in Coppermien? I tried adding a row in CPG's user db but had no effect... so I don't really know what I'm doing ;).
Thanks for the help.

Woof... Let me mull that over... 100 users.  Not sure if its easier to just recode the query or code up something to move user information :)

Are they in the same database?




Yes, same database. We can delete most of them (assuming that wouldn't cause bad things with SMF), but what about when more sign up? Will cpmfetch quit working?
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #256 on: September 13, 2005, 03:01:30 am »


No, not to delete them... we need to replicate them into the cpg user table if anything



probably due to there not being any users in the coppermine users table.  How many smf users?  You van try creating them in coppermine... same problem we had with the phpbb bridge.  lemme know ifd you need help on that. 
There are about 100 SMF users and 1 CPG user. Do I need to create 100 users in Coppermien? I tried adding a row in CPG's user db but had no effect... so I don't really know what I'm doing ;).
Thanks for the help.

Woof... Let me mull that over... 100 users.  Not sure if its easier to just recode the query or code up something to move user information :)

Are they in the same database?




Yes, same database. We can delete most of them (assuming that wouldn't cause bad things with SMF), but what about when more sign up? Will cpmfetch quit working?

Logged
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

Vini

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 55
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #257 on: September 16, 2005, 01:12:27 am »

Please
can anyone help me???
I only want to show the Last Updated Albums on my website!
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #258 on: September 16, 2005, 06:17:06 am »

Please
can anyone help me???
I only want to show the Last Updated Albums on my website!

How far did you get so far?

This could be what you are looking for:

cpm_showAlbumsUpdatedOverLastDays($numberOfDays,$options="")
in the docs on this page:
http://www.fistfullofcode.com/projects/copperminefetch/manual/ch07s05.html
Logged
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

isloera

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 22
    • Calvilloweb.com
Re: CpmFetch 1.4 On... Displaying data and images from CPG on your website
« Reply #259 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.
Logged
Pages: 1 ... 9 10 11 12 [13] 14 15 16 17 ... 54   Go Up
 

Page created in 0.043 seconds with 20 queries.