Advanced search  

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

Pages: 1 ... 14 15 16 17 [18] 19 20 21 22 ... 34   Go Down

Author Topic: CpmFetch - (OLD/LOCKED) stats/thumbnails/randoms/etc from outside CPG  (Read 389134 times)

0 Members and 1 Guest are viewing this topic.

mrmike987

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG - New dev ver!
« Reply #340 on: March 27, 2005, 08:09:05 pm »

Can you do time sisce added?  (This image was added 1 hour and 23 minutes ago. And if it's days later  (3 days 4 hours and 32 minutes ago)

Also ;D This gallery was updated 6 days 2 hours and 15 minutes ago.
« Last Edit: March 27, 2005, 08:26:33 pm by mrmike987 »
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG - New dev ver!
« Reply #341 on: March 28, 2005, 06:50:15 am »

Can you do time sisce added?  (This image was added 1 hour and 23 minutes ago. And if it's days later  (3 days 4 hours and 32 minutes ago)

Also ;D This gallery was updated 6 days 2 hours and 15 minutes ago.

Short answer: no
Long answer: no

Perhaps something to be added in the future.  I will accept patches for this for functionality... but it has to be in %x format for the subtitles... since that way it is language independent.  Also, there would have to be one for days ago, hours ago, minutes ago...  it opens up a whole can of works to do it right and in a non-language dependent manner.  Once you do that there is no logic in there for eliminating the days if there are 0 days...

If lots of people want this, I will do it... but otherwise I have other spots I can improve it in

Sorry



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 - stats/thumbnails/randoms/etc from outside CPG - New dev ver!
« Reply #342 on: March 28, 2005, 08:26:26 am »

Can you do time sisce added?  (This image was added 1 hour and 23 minutes ago. And if it's days later  (3 days 4 hours and 32 minutes ago)

Also ;D This gallery was updated 6 days 2 hours and 15 minutes ago.

Oh, you can do a list of most recently updated galleries though...

http://www.fistfullofcode.com/cftest/index4.php <- that is a test page, so it may or may not be there when you look at it.
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

nameless

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • Skate, Snow, and Surf - SFboarders - Bringing San Francisco Bay Area boarders together.
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG - New dev ver!
« Reply #343 on: March 29, 2005, 12:10:05 am »

vuud thanks for the help. It looks like there is something in the code below making my nav bar go crazy. It also made some of my other Wordpress hacks not display properly.

Code: [Select]
                                       <li><a href="http://sub.domain.net/pics">Grandpa'sPhoto Gallery</a><br>
                                            <?php 
                                               
include "./cpmfetch/coppermine.php";
                                               
$objCpm = new cpm("/pics");
                                               
$objCpm->cpm_viewRandomMedia(4,1);
                                               
$objCpm->cpm_close();
                                            
?>

                                          </li>

I was able to get CFIMAGEGET to work with no problems but is there a way to have more random images show like it use to with the code above? I tried entering more  <img src> but the same photo shows. Any way to get the photo to link to the actual photo in Coppermine?
« Last Edit: March 29, 2005, 02:12:07 am by nameless »
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG - New dev ver!
« Reply #344 on: March 29, 2005, 02:23:45 am »

vuud thanks for the help. It looks like there is something in the code below making my nav bar go crazy. It also made some of my other Wordpress hacks not display properly.

Code: [Select]
                                        <li><a href="http://sub.domain.net/pics">Grandpa'sPhoto Gallery</a><br>
                                            <?php 
                                               
include "./cpmfetch/coppermine.php";
                                               
$objCpm = new cpm("/pics");
                                               
$objCpm->cpm_viewRandomMedia(4,1);
                                               
$objCpm->cpm_close();
                                            
?>

                                          </li>

I was able to get CFIMAGEGET to work with no problems but is there a way to have more random images show like it use to with the code above? I tried entering more  <img src> but the same photo shows. Any way to get the photo to link to the actual photo in Coppermine?


Well, going the coppermine fetch route will generate a table, which could screw up formatting.  If you have an example page I can take a peek and see what may be causing it.

As for the latter, about CFIMAGEGET returning the same image when called multiple times it is a browser cache issue.  Basically the browser thinks it just got it when you call it a second time so it just displayes the one it just got.

Not sure if these would work:

* If you only wanted a few you could make the non-direct files for getting images and give them different names random1, random2, random3

* You could try adding a different garbage parameter onto each one cfimageget.php?number=1 ,cfimageget.php?number=2

Both of those try to trick the browser into thinking it is calling something different each time.  Have not tried either of them, but seem like they may work.

As for a link with CFIMAGEGET - no.  It returns just image data, so it is useless as far as that goes. 

I'd like to get the wordpress integration working, as a bunch of people seem to have issues with different addins.

Also, new stable release coming out tonight I think (the last dev version is going to be it, if no-one can wait)












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

nameless

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • Skate, Snow, and Surf - SFboarders - Bringing San Francisco Bay Area boarders together.
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG - New dev ver!
« Reply #345 on: March 29, 2005, 02:48:12 am »

Quote
* You could try adding a different garbage parameter onto each one cfimageget.php?number=1 ,cfimageget.php?number=2

Both of those try to trick the browser into thinking it is calling something different each time.  Have not tried either of them, but seem like they may work.

Was able to have this show random images. I just linked the images to the gallery home page.
Logged

Chopper

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 52
    • The Animation Corner
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG - New dev ver!
« Reply #346 on: March 29, 2005, 02:54:35 am »

I am using CPMFetch on my homepage at www.animationcorner.com, but when members upload BMP files, the thumbnail shows a red x. I check in the Coppermine gallery and the thumbnail shows up fine.

Does CPMFetch not accept BMP thumbnails? or is there a way to fix this?

Thanks,
Chop
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG - New dev ver!
« Reply #347 on: March 29, 2005, 03:55:29 am »

Quote
* You could try adding a different garbage parameter onto each one cfimageget.php?number=1 ,cfimageget.php?number=2

Both of those try to trick the browser into thinking it is calling something different each time.  Have not tried either of them, but seem like they may work.

Was able to have this show random images. I just linked the images to the gallery home page.

Oh yeah, if you only draw from one gallery, you can wrap it in a link...  sorry, did not ask that much

Good thinking though...


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 - stats/thumbnails/randoms/etc from outside CPG - New dev ver!
« Reply #348 on: March 29, 2005, 04:04:06 am »

I am using CPMFetch on my homepage at www.animationcorner.com, but when members upload BMP files, the thumbnail shows a red x. I check in the Coppermine gallery and the thumbnail shows up fine.

Does CPMFetch not accept BMP thumbnails? or is there a way to fix this?

Thanks,
Chop

Hmmm, by default it should not even grab those...

But anyway, you have to call setAllowedTypes($filterarray) to include that as a type to use.  This applies to the latest dev 1.1.6 or the 1.2 stable (coming out tonight).

So you would need to call setAllowedTypes(array(".jpg",".gif",".bmp") to allow this...

So if you are using a recent version of cpmfetch, put it right in after the $cpmfetch = new cfimageget($urltocpm); line

$cpmfetch->setAllowedTypes(array(".jpg",".gif",".png",".bmp"));

Otherwise...

If that does not work, let me know







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

nameless

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • Skate, Snow, and Surf - SFboarders - Bringing San Francisco Bay Area boarders together.
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG - New dev ver!
« Reply #349 on: March 29, 2005, 07:47:33 am »

vuud, can you decipher why the format of my navigation is getting screwed up?

Code: [Select]
<div id="sidebar">
<ul>  
<li>
                               <center><b> You are visitor number <script language="JavaScript" src="counter.php" type="text/JavaScript"></script></b></center>
                        </li>
<li>
<?php include (TEMPLATEPATH '/searchform.php'); ?>
</li>

<!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
<li><h2><?php _e('Author'); ?></h2>
<p>A little something about you, the author. Nothing lengthy, just an overview.</p>
</li>
-->

<li>
<?php /* If this is a category archive */ if (is_category()) { ?>
<p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p>

<?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
<p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
for the day <?php the_time('l, F jS, Y'); ?>.</p>

<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
for <?php the_time('F, Y'); ?>.</p>

      <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
for the year <?php the_time('Y'); ?>.</p>

<?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
<p>You have searched the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
for <strong>'<?php echo wp_specialchars($s); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p>

<?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives.</p>

<?php ?>
</li>
<?php get_calendar(); ?>
<?php wp_list_pages('title_li=<h2>' __('Pages') . '</h2>' ); ?>

<li><h2><?php _e('Archives'); ?></h2>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
</li>

<li><h2><?php _e('Categories'); ?></h2>
<ul>
<?php list_cats(0'''name''asc'''1011110,'','','','',''?>
</ul>
</li>

<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
<?php get_links_list(); ?>

<li><h2><?php _e('Meta'); ?></h2>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
                                        <li><a href="http://sub.domain.net/pics">Grandpa'sPhoto Gallery</a><br>
                                            <?php 
                                               
include "./cpmfetch/coppermine.php";
                                               
$objCpm = new cpm("/pics");
                                               
$objCpm->cpm_viewRandomMedia(4,1);
                                               
$objCpm->cpm_close();
                                            
?>

                                          </li>
<?php ?>

</ul>
</div>
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG - New dev ver!
« Reply #350 on: March 29, 2005, 08:01:48 am »


Maybe..., can you at least point me at "how" it is screwing up on a page somewhere, or provide a screenshot?

Just dumping a lot of code and asking why it is screwed up without telling how its screwed up is just a sick, demented, sick joke  :P




vuud, can you decipher why the format of my navigation is getting screwed up?

Code: [Select]
<div id="sidebar">
<ul>   
<li>
                               <center><b> You are visitor number <script language="JavaScript" src="counter.php" type="text/JavaScript"></script></b></center>
                        </li>
<li>
<?php include (TEMPLATEPATH '/searchform.php'); ?>
</li>

<!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
<li><h2><?php _e('Author'); ?></h2>
<p>A little something about you, the author. Nothing lengthy, just an overview.</p>
</li>
-->

<li>
<?php /* If this is a category archive */ if (is_category()) { ?>
<p>You are currently browsing the archives for the <?php single_cat_title(''); ?> category.</p>

<?php /* If this is a yearly archive */ } elseif (is_day()) { ?>
<p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
for the day <?php the_time('l, F jS, Y'); ?>.</p>

<?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
<p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
for <?php the_time('F, Y'); ?>.</p>

      <?php /* If this is a yearly archive */ } elseif (is_year()) { ?>
<p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
for the year <?php the_time('Y'); ?>.</p>

<?php /* If this is a monthly archive */ } elseif (is_search()) { ?>
<p>You have searched the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives
for <strong>'<?php echo wp_specialchars($s); ?>'</strong>. If you are unable to find anything in these search results, you can try one of these links.</p>

<?php /* If this is a monthly archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
<p>You are currently browsing the <a href="<?php echo get_settings('siteurl'); ?>"><?php echo bloginfo('name'); ?></a> weblog archives.</p>

<?php ?>
</li>
<?php get_calendar(); ?>
<?php wp_list_pages('title_li=<h2>' __('Pages') . '</h2>' ); ?>

<li><h2><?php _e('Archives'); ?></h2>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
</li>

<li><h2><?php _e('Categories'); ?></h2>
<ul>
<?php list_cats(0'''name''asc'''1011110,'','','','',''?>
</ul>
</li>

<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
<?php get_links_list(); ?>

<li><h2><?php _e('Meta'); ?></h2>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
                                        <li><a href="http://sub.domain.net/pics">Grandpa'sPhoto Gallery</a><br>
                                            <?php 
                                               
include "./cpmfetch/coppermine.php";
                                               
$objCpm = new cpm("/pics");
                                               
$objCpm->cpm_viewRandomMedia(4,1);
                                               
$objCpm->cpm_close();
                                            
?>

                                          </li>
<?php ?>

</ul>
</div>
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

nameless

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 34
    • Skate, Snow, and Surf - SFboarders - Bringing San Francisco Bay Area boarders together.
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG - New dev ver!
« Reply #351 on: March 29, 2005, 08:42:57 am »

Quote
Maybe..., can you at least point me at "how" it is screwing up on a page somewhere, or provide a screenshot?

Just dumping a lot of code and asking why it is screwed up without telling how its screwed up is just a sick, demented, sick joke 

 ;D LOL, check PM
Logged

Chopper

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 52
    • The Animation Corner
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG - New dev ver!
« Reply #352 on: March 29, 2005, 11:39:47 am »

Hmmm, by default it should not even grab those...

But anyway, you have to call setAllowedTypes($filterarray) to include that as a type to use.  This applies to the latest dev 1.1.6 or the 1.2 stable (coming out tonight).

So you would need to call setAllowedTypes(array(".jpg",".gif",".bmp") to allow this...

So if you are using a recent version of cpmfetch, put it right in after the $cpmfetch = new cfimageget($urltocpm); line

$cpmfetch->setAllowedTypes(array(".jpg",".gif",".png",".bmp"));

Otherwise...

If that does not work, let me know

Thanks for taking my issue Vuud.
Just for future reference, I'm using CfmFetch version 1.1.6

Ok, so I tried adding that line in cfimageget.php as follows:

Code: [Select]
// Dont touch these.  Really. Honestly.  Really.
$cpmfetch = new cfimageget($urltocpm);
$cpmfetch->setAllowedTypes(array(".jpg",".gif",".png",".bmp"));
$cpmfetch->setThumbnailPrefix($thumbnailprefix);

Still is giving me a red x on the home page. All the thumbnails for jpeg, gif, and the standard movie thumbnails are showing up fine, but that blasted bmp.  :-\\

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.animationcorner.com%2Fmisc%2Fscreencap01.gif&hash=a77dedbc7a4afc246b6e9d552c7b6073413404e2)
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG - New dev ver!
« Reply #353 on: March 29, 2005, 06:50:44 pm »


Thanks for the screenshot... something is a little whacked in there.  You should not be getting flash icons unless you specified it as an allowed types.  This is probably a bug in the newely rewritten cfimageget... 

I will look at it this morning before I package the new stable release (which will be 1.1.6 + this bug fixed)

(at least its not monday)



Hmmm, by default it should not even grab those...

But anyway, you have to call setAllowedTypes($filterarray) to include that as a type to use.  This applies to the latest dev 1.1.6 or the 1.2 stable (coming out tonight).

So you would need to call setAllowedTypes(array(".jpg",".gif",".bmp") to allow this...

So if you are using a recent version of cpmfetch, put it right in after the $cpmfetch = new cfimageget($urltocpm); line

$cpmfetch->setAllowedTypes(array(".jpg",".gif",".png",".bmp"));

Otherwise...

If that does not work, let me know

Thanks for taking my issue Vuud.
Just for future reference, I'm using CfmFetch version 1.1.6

Ok, so I tried adding that line in cfimageget.php as follows:

Code: [Select]
// Dont touch these.  Really. Honestly.  Really.
$cpmfetch = new cfimageget($urltocpm);
$cpmfetch->setAllowedTypes(array(".jpg",".gif",".png",".bmp"));
$cpmfetch->setThumbnailPrefix($thumbnailprefix);

Still is giving me a red x on the home page. All the thumbnails for jpeg, gif, and the standard movie thumbnails are showing up fine, but that blasted bmp.  :-\\

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.animationcorner.com%2Fmisc%2Fscreencap01.gif&hash=a77dedbc7a4afc246b6e9d552c7b6073413404e2)
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 - stats/thumbnails/randoms/etc from outside CPG - New dev ver!
« Reply #354 on: March 29, 2005, 08:05:49 pm »


Ok, so I tried adding that line in cfimageget.php as follows:

Code: [Select]
// Dont touch these.  Really. Honestly.  Really.
$cpmfetch = new cfimageget($urltocpm);
$cpmfetch->setAllowedTypes(array(".jpg",".gif",".png",".bmp"));
$cpmfetch->setThumbnailPrefix($thumbnailprefix);

Still is giving me a red x on the home page. All the thumbnails for jpeg, gif, and the standard movie thumbnails are showing up fine, but that blasted bmp.  :-\\

Wait a sec, your not using cfimageget, your using the normal way aren't you.  Yeah, changing that file in this case is going to do two things... jack and shit. 

So anyway, your calling the coppermine.php file and object right?  Good, thats the proper way to do this. 

There is an issue with that, the bmp media type is acually registered as an application so I missed it as a possible option for the software.

Anyway, how are you uploading bmp files to your coppermine server?  I can upload, but they error out on the resizing so I cannot even test this.

I know exactly what the problem is... but do your bmp files have thumbnails?  You dang opened a big can of worms.  How did you upload them?

Anyway, you can do the filter on this object also... that would remove all the flash icons and such.

Inquiring minds want to know...

: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

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
CpmFetch - stats/thumbnails/randoms/etc from outside CPG - New Stable
« Reply #355 on: March 29, 2005, 08:49:34 pm »

I just posted the version 1.2 stable release.  If you are on 1.1.6 you need not bother - I am not sure anything at all changed since then,.

Updating:

Everything should be backward compatible, so unless you have something hideously old it should just need to be dropped in.

CFIMAGEGET this has changed slightly since the last stable.  It will not work out of the box as I have it turned off by default.  See the instructions online or in the file to get this working.

The readme file http://cpmfetch.fistfullofcode.com/projects/copperminefetch/docs.php (click on readme) has a list of changes for each version.  Best to peek there for an idea of whats new since when.

Suffice to say that this version is 100x better than 1.0 which was a good start.

The docs in the readme have been given a giant once over - much better - a must read for everyone.  If anyone has any suggestions on them - please send them to me.

Two things worth noting:

1. I will be posting a signup for notifications when I release new versions - Sourceforge turned off notifications from here, so I figure I have to do something.

2. If anyone wants to tell me if they have this working embedded in any other system, that would be great.  phpBB, SMF, etc...

3. I am going to start posting some how-to's when I get a chance... I think a lot of the cooler features get overlooked.

I guess thats about it for now.


Bill "Vuud" Chmura


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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG - New dev ver!
« Reply #356 on: March 30, 2005, 12:55:47 am »

There is an issue with that, the bmp media type is acually registered as an application so I missed it as a possible option for the software.

Anyway, how are you uploading bmp files to your coppermine server?  I can upload, but they error out on the resizing so I cannot even test this.

I know exactly what the problem is... but do your bmp files have thumbnails?  You dang opened a big can of worms.  How did you upload them?
Chopper is using ImageMagick instead of GD probably...

Joachim
Logged

mrmike987

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG
« Reply #357 on: March 30, 2005, 03:17:03 am »

Question

<?php $objCpm->cpm_listMediaAddedOverLastDays(3); ?>

Aligns to the left by default.....   Is there a way to center the results?
I have tried tables ect. with no luck...
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: CpmFetch - stats/thumbnails/randoms/etc from outside CPG - New dev ver!
« Reply #358 on: March 30, 2005, 03:18:48 am »

There is an issue with that, the bmp media type is acually registered as an application so I missed it as a possible option for the software.

Anyway, how are you uploading bmp files to your coppermine server?  I can upload, but they error out on the resizing so I cannot even test this.

I know exactly what the problem is... but do your bmp files have thumbnails?  You dang opened a big can of worms.  How did you upload them?
Chopper is using ImageMagick instead of GD probably...

Joachim

Strange, I am using GD 2 and I tried to upload a BMP and it went bad...

Code: [Select]
Warning: imagecreatefrompng(): './albums/edit/mHTTP_temp_b4576570.bmp' is not a valid PNG file in /virtual/users/e11543-10019/web/photos/include/picmgmt.inc.php on line 230
So BMP's are supported in CPG?





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 - stats/thumbnails/randoms/etc from outside CPG
« Reply #359 on: March 30, 2005, 03:30:47 am »


YES

You can do it through the use of CSS setting the text-alignment for a tag and using the options array with the various css settings. (cellstyle, etc)

It generates its own table so embedding it will have no luck whatsoever



Question

<?php $objCpm->cpm_listMediaAddedOverLastDays(3); ?>

Aligns to the left by default.....   Is there a way to center the results?
I have tried tables ect. with no luck...
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
Pages: 1 ... 14 15 16 17 [18] 19 20 21 22 ... 34   Go Up
 

Page created in 0.039 seconds with 20 queries.