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 2 3 4 5 [6]   Go Down

Author Topic: Easy RSS feed & PicLens  (Read 119325 times)

0 Members and 1 Guest are viewing this topic.

zigy_dk

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Athentication
« Reply #100 on: March 01, 2009, 06:57:43 pm »

This is a great add-on. But if you like me are running a strictly privat gallery, you will need to have the rss.php file check if the user is actually logged in.
Just paste this chunk of code that came from the index.php file, just after require init.php line
------------
Code: [Select]
if (!USER_ID && $CONFIG['allow_unlogged_access'] == 0) {
        $redirect = $redirect . "login.php";
        header("Location: $redirect");
        exit();
    }
-----------
Then users will be rediected to the login page.
Logged

andiwe

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 25
    • Nordschleifenbilder.de
Re: Easy RSS feed & PicLens
« Reply #101 on: March 02, 2009, 04:28:59 pm »

Thanks zigy_dk, your fix will be included in next release.  :)
Thanks csmwww for your briliant install tutorial.

I will post an update this week - stay tuned.
Logged
Andi

--- for Cooliris Piclens CPG Plugin (Easy RSS Mod) check out my Website Link ---

andiwe

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 25
    • Nordschleifenbilder.de
Re: Easy RSS feed & PicLens
« Reply #102 on: March 05, 2009, 07:52:41 pm »

Hi volks,

latest beta is online now (b018).  ;D
(see my website link)

Please review Readme.txt for instructions.
You have to replace all files included in package and reinstall the plugin in cpg.

Thanks to all of you helping me.
Please report all bugs you encounter e.g. per PM, Mail (cooliris [at] nordschleifenbilder [dot] de) or in this thread.
Logged
Andi

--- for Cooliris Piclens CPG Plugin (Easy RSS Mod) check out my Website Link ---

romank

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 3
    • Kornfeld u. Palicka Fotos
Re: Easy RSS feed & PicLens
« Reply #103 on: March 12, 2009, 08:56:59 pm »

Hab mal ein bisschen gespielt um mit dem genialen Plugin von andiwe auch FLV-Videos anzeigen zu können.

Es waren nur ein paar kleinere Änderungen am Code nötig.

In diesem rss.php wird der Mime-Typ richtig gesetzt.
Code: [Select]
$mime_content = cpg_get_type($full_url);
$mimetype = $mime_content['mime'];
Es werden die Thumbnails von Coppermine verwendet.
d.h. Wenn es für einen Filetype kein Thumb gibt (videos), wird das Thumb aus dem images folder genommen.
(wie zum Beispiel thumb_mov.jpg)
Code: [Select]
$thumb_url  = "".get_pic_url($picture,'thumb');Dann noch folgende 2 Änderungen
Code: [Select]
// $item .= '<media:content url="'.$gallery_home_url.$normal_url.'" type="image/jpeg" />';
  $item .= '<media:content url="'.$gallery_home_url.$normal_url.'" type="' . $mimetype . '" />';
Code: [Select]
// $item .= '<media:content url="'.$gallery_home_url.$full_url.'" type="image/jpeg" />';
$item .= '<media:content url="'.$gallery_home_url.$full_url.'" type="' . $mimetype . '" />';

Zuvor sollte man allerdings nach dieser Anleitung den FLV Player einbinden.
http://forum.coppermine-gallery.net/index.php/topic,34182.0.html
Wobei video/x-shockwave-flash statt application/x-shockwave-flash verwendet werden sollte.
Sonst hat bei mir Cooliris die FLV-Videos nicht abspielen können.
Logged

romank

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 3
    • Kornfeld u. Palicka Fotos
Re: Easy RSS feed & PicLens
« Reply #104 on: March 12, 2009, 09:15:36 pm »

Hab mal ein bisschen gespielt um mit dem genialen Plugin von andiwe auch FLV-Videos anzeigen zu können.

Es waren nur ein paar kleinere Änderungen am Code nötig.

In diesem rss.php wird der Mime-Typ richtig gesetzt.
Code: [Select]
$mime_content = cpg_get_type($full_url);
$mimetype = $mime_content['mime'];
Es werden die Thumbnails von Coppermine verwendet.
d.h. Wenn es für einen Filetype kein Thumb gibt (videos), wird das Thumb aus dem images folder genommen.
(wie zum Beispiel thumb_mov.jpg)
Code: [Select]
$thumb_url  = "".get_pic_url($picture,'thumb');Dann noch folgende 2 Änderungen
Code: [Select]
// $item .= '<media:content url="'.$gallery_home_url.$normal_url.'" type="image/jpeg" />';
  $item .= '<media:content url="'.$gallery_home_url.$normal_url.'" type="' . $mimetype . '" />';
Code: [Select]
// $item .= '<media:content url="'.$gallery_home_url.$full_url.'" type="image/jpeg" />';
$item .= '<media:content url="'.$gallery_home_url.$full_url.'" type="' . $mimetype . '" />';

Zuvor sollte man allerdings nach dieser Anleitung den FLV Player einbinden.
http://forum.coppermine-gallery.net/index.php/topic,34182.0.html
Wobei video/x-shockwave-flash statt application/x-shockwave-flash verwendet werden sollte.
Sonst hat bei mir Cooliris die FLV-Videos nicht abspielen können.


Sorry did recognize that this is an english Forum.
So once again in english.

Tried to show in Cooliris also FLV-Videos
Only small modification where necessary for that.

in this rss.php i set the Mime-Type correct
Code: [Select]
$mime_content = cpg_get_type($full_url);
$mimetype = $mime_content['mime'];
The thumbnails from Coppermine will be used. If no thumnail is available for some extensions (like videos) it uses from the images folder thumbs like
thumb_mov.jpg
Code: [Select]
$thumb_url  = "".get_pic_url($picture,'thumb');Then 2 small changes
Code: [Select]
// $item .= '<media:content url="'.$gallery_home_url.$normal_url.'" type="image/jpeg" />';
  $item .= '<media:content url="'.$gallery_home_url.$normal_url.'" type="' . $mimetype . '" />';
Code: [Select]
// $item .= '<media:content url="'.$gallery_home_url.$full_url.'" type="image/jpeg" />';
$item .= '<media:content url="'.$gallery_home_url.$full_url.'" type="' . $mimetype . '" />';

Bevor use this mod to show FLV-Files in Coppermine
http://forum.coppermine-gallery.net/index.php/topic,34182.0.html
Only use "video/x-shockwave-flash" instead of "application/x-shockwave-flash"
otherwise Cooliris does not play the FLV-File at my site.
Logged

smartbyte

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Easy RSS feed & PicLens
« Reply #105 on: May 07, 2010, 06:43:25 am »


Hi guys,

sorry this might be a stupid question, but is there any chance that this plugin gets updated to the 1.5 version?

I am running 1.5.3 and I got it working (raw DB edits, etc.) But in the end it showed me a lot of pitures, but not the ones for the specific album I was in, so I assume, that it cannot be that hard to update this plugin, but as I am not a developer, and I don't know the differences between 1.4 and 1.5 (even not plugin wise), I haven't got a clue how much work it is...

But yeah an answer would be appreciated, if someone of the developers is working on this, or had a look how much work it would be...

Thanks, Joern.
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Easy RSS feed & PicLens
« Reply #106 on: May 07, 2010, 07:57:04 am »

As I am sure you are aware, many plugins are user contributions so if the community come up with a version for 1.5.x then it will be done. If you have the ability give it a go, everyone can feel free to try. Otherwise all you can do is wait an hope that someone finds this plugin useful enough for them to put in the effort and upgrade it.

Sorry if that is not the answer you wanted, that is just how it is.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

smartbyte

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Easy RSS feed & PicLens
« Reply #108 on: May 07, 2010, 09:52:58 am »


Thanks for this advice. The thread you send is very interesting, because it implies, that everyone who is on this board has to be able to program PHP, so "normal" user experience or wishes are ignored.

Just think of these cases:
You need a lawyer and he tells you, that if you are not knowing all the laws you are just stupid, and should just forget about your case and paid the money, or
you need a medical advice or did something unusual to your body and the doctor tells you, that this is your body you have to know him best...

Man I was just asking, IF anybody has upgraded this Module or might be working on it.

No offense!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Easy RSS feed & PicLens
« Reply #109 on: May 07, 2010, 09:58:01 am »

...and we don't want this thread to get cluttered with requests for this plugin to be ported, can't you understand that? If you're not a programmer and need it badly, then start a thread of your own and request it or hire someone to code it for you, but stop cluttering the thread that deals with exactly one thing: the plugin "Easy RSS feed & PicLens" for cpg1.4.x. There is no use in arguing about board rules and support policies. You haven't paid attention to board rules at all although you agreed to respect them when signing up. They even get displayed at the top of this screen when you compose a posting. Stop breaking the rules, will you?
Logged
Pages: 1 2 3 4 5 [6]   Go Up
 

Page created in 0.026 seconds with 20 queries.