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

Author Topic: XFeed RSS/Atom feed plugin for CPG 1.5.x  (Read 125657 times)

0 Members and 1 Guest are viewing this topic.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: XFeed RSS/Atom feed plugin for CPG 1.5.x
« Reply #40 on: January 29, 2011, 11:38:09 am »

What behavior would you expect from the default feed instead of showing the latest additions?
Sorry, bad wording. I expect that it displays the latest additions, but with working thumbnails ;)
Logged

cdeome

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: XFeed RSS/Atom feed plugin for CPG 1.5.x
« Reply #41 on: January 29, 2011, 08:16:53 pm »

Just downloaded.  I'll give it a try.  Spent most of the day fixing a permissions issue that my host screwed up.
Logged

HelloDaly

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: XFeed RSS/Atom feed plugin for CPG 1.5.x
« Reply #42 on: May 03, 2011, 06:35:10 am »

To papukaija: Sorry, and thanks.

To jayhunter: It helped. I deleted 'cpg15x_plugin_xfeeds' from MySQL tables and xfeed files and folders. Then I made a new install, and now it seems to work :)

I will report if I run into problems, thanks for your help so far, both of you, it was really great !!

 :)

I took the same steps and all is working great! Thank you so much for the plugin.

Question: how do I change or where if the file where I can change the gallery title and description that appears when I subscribe to the RSS using Live Bookmarks/in a browser like Firefox. I modified the xfeed.php and it removed the gallery title but I still cannot figure out how to change the description of the feed.

This is my page: http://cyclingphotos.hellodaly.com/
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: XFeed RSS/Atom feed plugin for CPG 1.5.x
« Reply #43 on: May 03, 2011, 10:25:30 am »

Remove/comment out the following line in xfeed.php:
Code: [Select]
print "<description>".$CONFIG['gallery_description']."</description>\n";(not tested).
Logged

HelloDaly

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: XFeed RSS/Atom feed plugin for CPG 1.5.x
« Reply #44 on: May 03, 2011, 09:51:22 pm »

Αndré, thank you for answering my question. A couple more questions and I hope they will be the last, what would the code look like if I wanted to add the gallery title back (display the gallery title)?

For the description, if I were to display it, would I put the description where it is bolded, after the ; semicolon, or between the opening and closing carrots?

print "<description>".$CONFIG['gallery_description']."</description>\n";

I really appreciate your time in responding to me. Thank you.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: XFeed RSS/Atom feed plugin for CPG 1.5.x
« Reply #45 on: May 03, 2011, 10:06:44 pm »

If you want to add a custom description, replace
Code: [Select]
".$CONFIG['gallery_description']."with your custom description.
Logged

profili

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 113
Re: XFeed RSS/Atom feed plugin for CPG 1.5.x
« Reply #46 on: August 11, 2011, 02:56:31 am »

 Any possibility to have the thumbnails in the feed too, instead of that standard thumbnail (thumb_nopic)?

Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: XFeed RSS/Atom feed plugin for CPG 1.5.x
« Reply #47 on: August 11, 2011, 09:19:23 am »

Works as expected in my gallery. Please post a link to your gallery.
Logged

profili

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 113
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: XFeed RSS/Atom feed plugin for CPG 1.5.x
« Reply #49 on: August 11, 2011, 02:53:26 pm »

If you want to find out what's wrong, you have to debug the following part in include/functions.inc.php:
Code: [Select]
        $localpath = $pic_row['filepath'] . $pic_prefix[$mode] . $pic_row['filename'];
       
        // Check here that the filename we are going to return exists
        // If it doesn't exist we return a placeholder image
        // We then log the missing file for the admin's attention
        if (file_exists($url_prefix[$pic_row['url_prefix']] . $localpath)) {
            $filepathname = $url_prefix[$pic_row['url_prefix']] . path2url($localpath);
        }
Logged

profili

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 113
Re: XFeed RSS/Atom feed plugin for CPG 1.5.x
« Reply #50 on: August 11, 2011, 03:02:06 pm »

Should I post my /functions.inc.php here or what?
Logged

jayhunter

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 29
Re: XFeed RSS/Atom feed plugin for CPG 1.5.x
« Reply #51 on: August 11, 2011, 03:10:04 pm »

Just use the version that I posted somewhere on page 2.

http://forum.coppermine-gallery.net/index.php/topic,61197.msg337765.html#msg337765

It has the thumbnail bug and some other errors fixed.

Cheers,
Tobias
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: XFeed RSS/Atom feed plugin for CPG 1.5.x
« Reply #52 on: October 07, 2011, 12:11:38 pm »

Version 1.10 attached to initial post. All users should upgrade to that plugin version immediately, as all prior verisons contain a possible SQL injection vulnerability!
Logged

cmfa

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 226
Re: XFeed RSS/Atom feed plugin for CPG 1.5.x
« Reply #53 on: December 20, 2011, 06:51:18 pm »

in google chrome are still shown no thumbnail. It appears thumb_nopic. Is there a solution?

vg
Logged

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: XFeed RSS/Atom feed plugin for CPG 1.5.x
« Reply #54 on: February 09, 2012, 03:53:29 pm »

Version 1.10 attached to initial post. All users should upgrade to that plugin version immediately, as all prior verisons contain a possible SQL injection vulnerability!
V. 1.10 doesn't feature the option to place RSS button elsewhere than in Gallery header, doesn't display thumbnails in the feed and its RSS output is broken by special characters.
Since all of these issues were solved in v. 1.9.3, what about starting from it to release a working v. 1.10? I had to reapply all 1.9.3 fixes to 1.10 files manually to get it fully functional.
Logged

Pino

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Re: XFeed RSS/Atom feed plugin for CPG 1.5.x
« Reply #55 on: February 25, 2012, 11:18:09 pm »

Errore interpretazione XML: tag corrispettivo mancante. Atteso: </p>.
Indirizzo: http://votalatop.altervista.org/index.php?file=xfeed/xfeed
Linea numero 14, colonna 12:</script></td>
-----------^


??????
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: XFeed RSS/Atom feed plugin for CPG 1.5.x
« Reply #56 on: March 05, 2012, 04:53:23 pm »

Since all of these issues were solved in v. 1.9.3, what about starting from it to release a working v. 1.10? I had to reapply all 1.9.3 fixes to 1.10 files manually to get it fully functional.
What about sharing that files with the community? I just fixed the vulnerability in our SVN. I haven't checked what has been changed here since the release of version 1.9, simply because of the missing personal interest. I'll release version 1.11 as soon as I get your files.
Logged

Ludo

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 706
    • E+GiElle
Re: XFeed RSS/Atom feed plugin for CPG 1.5.x
« Reply #57 on: March 05, 2012, 06:29:33 pm »

Here they are, I attached the whole plugin folder because I can't remember exactly which files I had to edit :)
Please review my edits to ensure I didn't overwrite any security fix  ::)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: XFeed RSS/Atom feed plugin for CPG 1.5.x
« Reply #58 on: March 07, 2012, 10:48:28 am »

Version 1.11 (attached to initial post) contains the improvements of the 1.9.x versions by jayhunter.
Logged

Mr.Marco

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: XFeed RSS/Atom feed plugin for CPG 1.5.x
« Reply #59 on: November 28, 2012, 02:44:59 pm »

Hi, I like this plugin, do you know how to move the image at the top of the page? Thanks.  :)
Logged
Pages: 1 2 [3] 4 5   Go Up
 

Page created in 0.048 seconds with 19 queries.