View Full Version : Add-On Releases - PicLens + MediaRSS feeds for albums
XManuX
01-24-2009, 10:00 PM
Description :
- Enhance albums with Media RSS (http://en.wikipedia.org/wiki/Media_RSS) feeds
- Adds a "View with PicLens" Button next to each album, allowing users to browse them using Cooliris's Piclens Lite (http://piclens.com/lite/piclens-lite.php).
Demo :
Website using PicLens Lite : here (http://euroxsports.com/).
Note: this demo site is provided by the Cooliris Piclens lite website (http://piclens.com/lite/piclens-lite.php).
Prerequisites:
RSS Syndication must be turned 'on'
to verify/turn it on:
Go to ACP
vBulletin Options
External Data Provider
'Enable RSS Syndication' must be 'Yes'
Installation:
unzip
upload 'piclens.png' to your IMGDIR/MISC directory
import 'product-piclens_albumfeed.xml'
If you use Template Modification system, then you're done.
If you're not then you have to manually edit two templates :
Template modifications: (if not using TMS)
Edit 'Albumbit'
Find the following :
<a href="album.php?$session[sessionurl]albumid=$album[albumid]"><strong>$album[title_html]</strong></a>
Below, add:
<a href="javascript:PicLensLite.start({feedUrl:'$vboptions[bburl]/album.php?albumfeed=$album[albumid]'});"><img class="inlineimg" src="$stylevar[imgdir_misc]/piclens.png" alt="$vbphrase[view_with_piclens]" border="0"/></a>
Save 'Albumbit'
Edit 'Album_list'
Find the following :
<title>$vboptions[bbtitle] - $custompagetitle</title>
Below, add:
<!-- CoolIris/PicLens support -->
<script type="text/javascript" src="http://lite.piclens.com/current/piclens_optimized.js"></script>
<!-- /CoolIris/PicLens support -->
Save 'Album_list
Done.
No config options yet. (Ideas welcome)
History:
1.0.0 - first release,
1.0.1 - Fixed the hardcoded URL in template, added TMS template edits to the XML product file,
1.0.2 - Fixed empty albuminfo causing 'Invalid Album specified...' error message when displaying RSS feed.
1.0.3 - Added support to "All Albums" mod; Now allows piclens to be used in members profile
Screenshots:
XtremeOffroad
01-25-2009, 03:31 PM
hmmmm will check it out.
SEOvB
01-25-2009, 04:21 PM
Nice work, PicLens is my favorite FF addon by far so this will be neat to see in action
Dr. Bantham
01-25-2009, 06:38 PM
This is not working for me. I created the template edits in TMS and the icons showed up, though the instructions imply that template edits are not necessary if you have TMS installed. I receive a black module screen with no images thereafter.
I am assuming that the "'http://ladln.org/boards" portion of the following code should be replaced with the URL of your own site:
<a href="javascript:PicLensLite.start({feedUrl:'http://ladln.org/boards/album.php?albumfeed=$album[albumid]'});"><img class="inlineimg" src="$stylevar[imgdir_misc]/piclens.png" alt="$vbphrase[view_with_piclens]" border="0"/></a>
Making this revision did not fix the issue, however. Any ideas?
brockied
01-25-2009, 07:20 PM
This is also not working for me, getting blank black screen.
XManuX
01-25-2009, 07:57 PM
This is not working for me. I created the template edits in TMS and the icons showed up, though the instructions imply that template edits are not necessary if you have TMS installed. I receive a black module screen with no images thereafter.
I am assuming that the "'http://ladln.org/boards" portion of the following code should be replaced with the URL of your own site:
<a href="javascript:PicLensLite.start({feedUrl:'http://ladln.org/boards/album.php?albumfeed=$album[albumid]'});"><img class="inlineimg" src="$stylevar[imgdir_misc]/piclens.png" alt="$vbphrase[view_with_piclens]" border="0"/></a>
Making this revision did not fix the issue, however. Any ideas?
Yes you're right about the hardcoded URL, i fixed it in 1.0.1.
You can check the Media RSS feed of your album with the following URL : http://Your_Board_URL/album.php?albumfeed=Album_ID (where Album_ID is the ID of one of your albums.)
You should get some RSS feed
lasto
01-25-2009, 08:25 PM
does not work - black screen here as well
Even checking rss feed it comes up with blank page.
When i go to view album i get the black screen with url in top left hand corner but no pictures showing.
XManuX
01-25-2009, 09:37 PM
If you get a blank page instead of a RSS feed, have you checked if RSS Syndication is turned ON ?
To verify this (and to turn it on) :
Go to ACP
vBulletin Options
External Data Provider
'Enable RSS Syndication' must be 'Yes'
Dr. Bantham
01-25-2009, 10:16 PM
Yes you're right about the hardcoded URL, i fixed it in 1.0.1.
You can check the Media RSS feed of your album with the following URL : http://Your_Board_URL/album.php?albumfeed=Album_ID (where Album_ID is the ID of one of your albums.)
You should get some RSS feedI reinstalled, but still have a black screen with no images. Trying your sample link for an album feed, I receive the following message:
Invalid Album specified. If you followed a valid link, please notify the administrator
RSS Feeds are turned on as instructed and the album is public.
lasto
01-26-2009, 05:53 AM
Invalid Album specified. If you followed a valid link, please notify the administrator
RSS feeds are on.
Ive also changed the link to my board url from this one but it still dont work.
http://ladln.org/boards/
XManuX
01-26-2009, 07:33 AM
'Invalid album' error message should be gone with version 1.0.2.
lasto
01-26-2009, 07:46 AM
works fine now m8
I never even noticed u uploaded a new file :)
thanks
GlamRockTalk
01-26-2009, 11:07 AM
Sounds interesting, any demos?
XManuX
01-26-2009, 12:08 PM
Demo link added to the product's page.
-> http://euroxsports.com/ for a demo.
Dr. Bantham
01-26-2009, 09:25 PM
Everything works well now. Many thanks! This is a great looking interface.
It would be great to make this automatically compatible with the All Albums mod:
https://vborg.vbsupport.ru/showthread.php?t=172215
For now, I have applied the following template edits which seem to do the trick:
1. Edit 'album_all_albumbit'
2. Find the following :<a href="album.php?$session[sessionurl]albumid=$album[albumid]"><strong>$album[title_html]</strong></a>
3. Below, add: <a href="javascript:PicLensLite.start({feedUrl:'$vboptions[bburl]/album.php?albumfeed=$album[albumid]'});"><img class="inlineimg" src="$stylevar[imgdir_misc]/piclens.png" alt="$vbphrase[view_with_piclens]" border="0"/></a>
4. Save 'album_all_albumbit'
5. Edit 'album_all_album_list'
6. Find the following :<title>$vboptions[bbtitle] - $vbphrase[all_albums]</title>
7. Below, add:<!-- CoolIris/PicLens support -->
<script type="text/javascript" src="http://lite.piclens.com/current/piclens_optimized.js"></script>
<!-- /CoolIris/PicLens support -->
8. Save 'album_all_album_list'.
9. Done.
XManuX
01-27-2009, 07:34 AM
Thank you for your feedback, i will install the "all albums" mod and check this.
Lautaro
01-29-2009, 02:12 AM
thanks for this, its working perfectly in my forum
-marked as installes
-rated
GL
TimberFloorAu
01-29-2009, 03:16 AM
works great for me , simple and easy ! Just what the doctor ordered :)
Videx
02-13-2009, 11:51 PM
Wild. I even broke down and installed TMS. Agreed though, I could tolerate the lack of "all albums" before, but with this, it would really make things nice.
SSG.D
02-19-2009, 01:58 PM
Fantastic work!! Installed on 3.8.1 and working great!!
Request addition:
When clicking on a member profile the you have befriended, view his/her albums with piclens as well.
Nominated for MOTM
Thanks!!:up::up::up:
vbboarder
02-27-2009, 07:55 PM
Thanks for this cool mod!
Bug Report: When users have PicLens (full version) enabled in their browser, the full version can not auto detect the media RSS so the pictures are not shown in PicLens. The user must manually visit the media RSS via the browser's url before PicLens can detect the RSS and show the pictures. PicLens Lite, however, can auto detect the RSS fine. To properly test, you must enable PicLens (full version), clear the browser's cache, and restart the browser. This problem occurs in FF3 (IE7 works fine).
Features Request: Enable this mod to work in the UserCP attachments page since attachments tend to be pics. Also, show Flash videos from attachments if user has PicLens (full version) installed since the full version can also show Flash videos.
XManuX
03-09-2009, 12:34 PM
Updated (see history for infos)
Any suggestions are welcome !
BigDog56
03-09-2009, 02:06 PM
This is pretty cool! Thank you!
Videx
03-14-2009, 09:53 AM
I just installed All Albums, and 1.0.3, and I don't see the cooliris icon on all_albums.php. I assume I'm supposed to? Or is there a setting somewhere?
I do see it in the user profile.
imageconstrux
03-28-2009, 06:12 PM
Works like a charm! Nice work. Can it be made to create a feed for all albums? I'm wanting to pull a feed of all new album additions to a Wordpress blog on the same site.
Videx
04-06-2009, 11:36 PM
A couple problems. First, you forgot to update the installation instructions to edit templates for members profile and All Albums.
Second, the TMS for album_all_album_list stopped working when I updated to 3.8.2. Or at least, that's when I noticed it.
I tried changing it to search for "<title>$vboptions[bbtitle] - $vbphrase[all_albums]</title>" instead. TMS accepts this, but I still don't see any Cooliris icons on all_albums.php.
edit: A third problem. album_all_albumbit isn't being edited correctly either. From the xml, it looks like the search string and replace string are identical.
Videx
04-07-2009, 08:32 PM
Alright, using the instructions in post #15 I modified the TMS in the xml to work. Here's the one I used on my forums. Hopefully the author will return soon and tidy things up.
Coroner
05-13-2009, 03:17 PM
Thanks for this cool mod!
Bug Report: When users have PicLens (full version) enabled in their browser, the full version can not auto detect the media RSS so the pictures are not shown in PicLens. The user must manually visit the media RSS via the browser's url before PicLens can detect the RSS and show the pictures. PicLens Lite, however, can auto detect the RSS fine. To properly test, you must enable PicLens (full version), clear the browser's cache, and restart the browser. This problem occurs in FF3 (IE7 works fine).
1st I have to say, that I didn't have it installed - 'cause I didn't need it in albums.
This should be only a hint how to work this out with the Cooliris (full version).
Both versions needs an RSS feed. But to run it on the full version, you also need the images, too. A simply way is to create a hidden DIV container with a list of the images.
To get an example, go on the Cooliris HP and try the Cooliris Publisher.
After saving a few images take a look at created gallery. View sourcecode how to add those images into your page.
Remember: This is only a hint. If tried it in my gallery and works fine.
hotone
03-12-2010, 12:15 PM
excellent mod, thank you.......
chick
06-13-2010, 12:39 PM
Very cool thank you so much. This also works great on the ALL Albums modification.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.