Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
PicLens + MediaRSS feeds for albums Details »»
PicLens + MediaRSS feeds for albums
Version: 1.0.3, by XManuX XManuX is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.0 Rating:
Released: 01-24-2009 Last Update: 02-26-2009 Installs: 38
Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

Description :
- Enhance albums with Media RSS feeds
- Adds a "View with PicLens" Button next to each album, allowing users to browse them using Cooliris's Piclens Lite.

Demo :
Website using PicLens Lite : here.
Note: this demo site is provided by the Cooliris Piclens lite website.

Prerequisites:
RSS Syndication must be turned 'on'

to verify/turn it on:
  1. Go to ACP
  2. vBulletin Options
  3. External Data Provider
  4. 'Enable RSS Syndication' must be 'Yes'

Installation:
  1. unzip
  2. upload 'piclens.png' to your IMGDIR/MISC directory
  3. 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)
  1. Edit 'Albumbit'
  2. Find the following :
    Code:
    <a href="album.php?$session[sessionurl]albumid=$album[albumid]"><strong>$album[title_html]</strong></a>
  3. Below, add:
    Code:
    &nbsp;<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 'Albumbit'
  5. Edit 'Album_list'
  6. Find the following :
    Code:
    <title>$vboptions[bbtitle] - $custompagetitle</title>
  7. Below, add:
    Code:
    <!-- CoolIris/PicLens support -->
    <script type="text/javascript" src="http://lite.piclens.com/current/piclens_optimized.js"></script>
    <!-- /CoolIris/PicLens support -->
  8. Save 'Album_list
  9. 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:

Download Now

File Type: zip MediaRSS+piclens 1.0.2.zip (4.0 KB, 80 views)
File Type: zip NEW - MediaRSS+piclens 1.0.3.zip (4.2 KB, 127 views)

Screenshots

File Type: jpg button.jpg (24.3 KB, 0 views)
File Type: jpg piclensinaction.jpg (45.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 02-27-2009, 07:55 PM
vbboarder's Avatar
vbboarder vbboarder is offline
 
Join Date: Jun 2008
Location: Silicon Valley, CA
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #23  
Old 03-09-2009, 12:34 PM
XManuX XManuX is offline
 
Join Date: Feb 2007
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated (see history for infos)

Any suggestions are welcome !
Reply With Quote
  #24  
Old 03-09-2009, 02:06 PM
BigDog56 BigDog56 is offline
 
Join Date: Jan 2007
Posts: 430
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is pretty cool! Thank you!
Reply With Quote
  #25  
Old 03-14-2009, 09:53 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #26  
Old 03-25-2009, 07:41 PM
Cees Cees is offline
 
Join Date: Dec 2006
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great! Thanks
Reply With Quote
  #27  
Old 03-28-2009, 06:12 PM
imageconstrux imageconstrux is offline
 
Join Date: Jan 2003
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #28  
Old 04-06-2009, 11:36 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #29  
Old 04-07-2009, 08:32 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Attached Files
File Type: xml product-piclens_albumfeed.xml (12.4 KB, 20 views)
Reply With Quote
  #30  
Old 05-13-2009, 03:17 PM
Coroner Coroner is offline
 
Join Date: Feb 2008
Location: Germany
Posts: 797
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vbboarder View Post
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.
Reply With Quote
  #31  
Old 03-12-2010, 12:15 PM
hotone hotone is offline
 
Join Date: May 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

excellent mod, thank you.......
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:36 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04889 seconds
  • Memory Usage 2,342KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete