CpmFetch - (OLD/LOCKED) stats/thumbnails/randoms/etc from outside CPG - Page 7 CpmFetch - (OLD/LOCKED) stats/thumbnails/randoms/etc from outside CPG - Page 7
 

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 - (OLD/LOCKED) stats/thumbnails/randoms/etc from outside CPG

Started by vuud, December 17, 2004, 10:19:07 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

vuud


I have greatly updated and altered the home page for this project.  Its the most extensive place to get documentation and help.  This forum is still here for dialogs and such, but for docs, downloading and everything else, try here:

http://www.fistfullofcode.com/projects/copperminefetch/index.php

Thanks! 

Bill
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

NEOo

@ Vuud

I wanna thank you for the center thing!
It works great!!

vuud

No problem...  if you read up on CSS there is a ton of stuff you can do.  I hope to get sometime to play with it myself and then post a few on the tricks and tips page on my web site for copperminefetch.

Thanks for the feedback ... its nice to get a happy note with no problems once in a while  ;D
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

dale

Hi vuud, Thanks for the PM, and taking a look at my site. It is most likely my doing because I tried to piece together the code from the docs and I found it hard to understand. Some usable sample files would be really cool to add to your package for cut and paste coders like me  :)

Attached is my testimage file. I tried it two ways, but dont really know what it all means :-\\

Thanks  :)
Im not a complete idiot... Some parts are missing.

vuud

Quote from: dale on January 05, 2005, 08:54:50 PM
Hi vuud, Thanks for the PM, and taking a look at my site. It is most likely my doing because I tried to piece together the code from the docs and I found it hard to understand. Some usable sample files would be really cool to add to your package for cut and paste coders like me  :)
Thanks  :)

Ironically I spent last night and part of today doing just that. 
http://www.fistfullofcode.com/projects/copperminefetch/index.php

Sorry for the poor docs, but I am trying to make them better.  I posted some code a little while ago for you to try.  Essentially replace your PHP code with this:


<?php 
include "./cpgfetch/coppermine.php";
$objCpm = new cpm("/gallery");
$objCpm->cpm_viewRandomMediaFromCategory(1,1,2);
$objCpm->cpm_close();
?>



This assumes that you have this file in the root of your web site, and that you put the coppermine.php and coppermine_dao.php in a directory off the root called cpgfetch.

If all this is true, it will work. 

:D

Check out the new docs on the web 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

vuud


http://www.fistfullofcode.com/projects/copperminefetch/tips.php

Aside from updating and formatting all the documentation, I added in two examples for using CSS and the options hash to create nice borders around the images and also how to make the borders change on a mouseover. 

If anyone has any other cool tricks, please send them over for credit and inclusion
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

--Martin--

Hello.
Im new on this...:)
I got this error....dont know what to do..

Anyone who wants to help me?


Warning: main(/coppermina/include/config.inc.php): failed to open stream: No such file or directory in /home/virtual/site14/fst/var/www/html/test.php on line 182

Warning: main(): Failed opening '/coppermina/include/config.inc.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site14/fst/var/www/html/test.php on line 182

Titooy

It's most probably because your gallery is not located at /coppermina/

--Martin--


vuud

Quote from: --Martin-- on January 06, 2005, 05:03:22 PM
is there anyway to show last comment image?

Do you mean show the last image that had a comment added along with the comment? 

If so, then right now - no.  But thats not a bad idea and i will look into it over the next few days (after 1.0 is put out)

If not, then what ? :P
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

--Martin--

Great:)

hmm I got an other problem, the script cant handle å,ä,ö right?

vuud

You mean the characters:  å,ä,ö

Well I don't know.

1) Which part seems to be bugging out on them
2) Can you point me to a URL that this is happening on

Seems like it should, but to be honest I dont have any of those.  I'd be happy to see if I can make it do that  (as it probably should)

???
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

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

--Martin--


vuud

Quote from: --Martin-- on January 06, 2005, 06:21:30 PM
No, its the image preview under... :)
Reload the side...

Hey, you take some really nice pictures (I reloaded a bunch of times)  :D

Well, I could not see any problem... I got one with an ö (Capital though) and it worked...  I could be misunderstanding you.

Which part do of the thumbnails underneath do you think is not workng?

Sorry for the confusion, its still early here :D
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

--Martin--

Thanx! :)

Your early morning and my bad english :)

I think i rebuild Coppermine whitout å,ä,ö , its easier....

It´s an really nice addon you got here!!

vuud

Quote from: --Martin-- on January 06, 2005, 06:54:10 PM
Thanx! :)

Your early morning and my bad english :)

I think i rebuild Coppermine whitout å,ä,ö , its easier....

It´s an really nice addon you got here!!

Thank you.

I don't mind tracking this down if you want to continue... I'd rather have a working add on than a workaround


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

--Martin--

Thanx ! :)
If you can find it, really nice!!
But I dont think i can help u, no skills :)

Titooy

Maybe a hint is that coppermine's charset is iso-8859-1 and the page where copperminefetch is used is windows-1252