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 ... 3 4 5 6 [7] 8 9 10 11 ... 34   Go Down

Author Topic: CpmFetch - (OLD/LOCKED) stats/thumbnails/randoms/etc from outside CPG  (Read 336736 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: CoppermineFetch - stats / thumbnails / randoms / last added outside cpm
« Reply #120 on: January 05, 2005, 09:23:07 am »


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

NEOo

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 10
Re: CoppermineFetch - stats / thumbnails / randoms / last added outside cpm
« Reply #121 on: January 05, 2005, 12:35:53 pm »

@ Vuud

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

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CoppermineFetch - stats / thumbnails / randoms / last added outside cpm
« Reply #122 on: January 05, 2005, 07:41:49 pm »

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

dale

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
    • http://club.storm-riders.org
Re: CoppermineFetch - stats / thumbnails / randoms / last added outside cpm
« Reply #123 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  :)

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

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

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CoppermineFetch - stats / thumbnails / randoms / last added outside cpm
« Reply #124 on: January 05, 2005, 10:51:31 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:

Code: [Select]
<?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

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
CSS Examples on the web site now
« Reply #125 on: January 05, 2005, 10:54:34 pm »


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

--Martin--

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 16
Re: CoppermineFetch - stats / thumbnails / randoms / last added outside cpm
« Reply #126 on: January 06, 2005, 10:50:36 am »

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
Logged

Titooy

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 736
    • under construction...
Re: CoppermineFetch - stats / thumbnails / randoms / last added outside cpm
« Reply #127 on: January 06, 2005, 12:20:33 pm »

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

--Martin--

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 16
Re: CoppermineFetch - stats / thumbnails / randoms / last added outside cpm
« Reply #128 on: January 06, 2005, 05:03:22 pm »

is there anyway to show last comment image?
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CoppermineFetch - stats / thumbnails / randoms / last added outside cpm
« Reply #129 on: January 06, 2005, 05:07:05 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
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

--Martin--

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 16
Re: CoppermineFetch - stats / thumbnails / randoms / last added outside cpm
« Reply #130 on: January 06, 2005, 05:34:24 pm »

Great:)

hmm I got an other problem, the script cant handle ,, right?
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CoppermineFetch - stats / thumbnails / randoms / last added outside cpm
« Reply #131 on: January 06, 2005, 05:36:56 pm »

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)

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

--Martin--

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 16
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
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

--Martin--

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 16
Re: CoppermineFetch - stats / thumbnails / randoms / last added outside cpm
« Reply #134 on: January 06, 2005, 06:21:30 pm »

No, its the image preview under... :)
Reload the side...
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CoppermineFetch - stats / thumbnails / randoms / last added outside cpm
« Reply #135 on: January 06, 2005, 06:35:12 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
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

--Martin--

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 16
Re: CoppermineFetch - stats / thumbnails / randoms / last added outside cpm
« Reply #136 on: January 06, 2005, 06:54:10 pm »

Thanx! :)

Your early morning and my bad english :)

I think i rebuild Coppermine whitout ,, , its easier....

Its an really nice addon you got here!!
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CoppermineFetch - stats / thumbnails / randoms / last added outside cpm
« Reply #137 on: January 06, 2005, 07:22:10 pm »

Thanx! :)

Your early morning and my bad english :)

I think i rebuild Coppermine whitout ,, , its easier....

Its 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


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

--Martin--

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 16
Re: CoppermineFetch - stats / thumbnails / randoms / last added outside cpm
« Reply #138 on: January 06, 2005, 07:31:05 pm »

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

Titooy

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 736
    • under construction...
Re: CoppermineFetch - stats / thumbnails / randoms / last added outside cpm
« Reply #139 on: January 06, 2005, 09:05:48 pm »

Maybe a hint is that coppermine's charset is iso-8859-1 and the page where copperminefetch is used is windows-1252
Logged
Pages: 1 ... 3 4 5 6 [7] 8 9 10 11 ... 34   Go Up
 

Page created in 0.022 seconds with 19 queries.