Back to vBulletin 3.8 Add-ons

My Shelfari Bookshelf Profile Tab
Mod Version: 1.00, by Chadi

vB Version: 3.8.x Rating: (4 votes - 5.00 average) Installs: 15
Released: 24 Apr 2009 Last Update: Never Downloads: 62
Not Supported Uses Plugins External Content  

My Shelfari Bookshelf Profile Tab
(please nominate for mod of the month)

http://www.pingy.us/?v=11bm812.png

http://www.pingy.us/?v=shelfari.jpg

Should work fine on 3.6x and up

Special thank you to member Wired1 and moderator Lynne who gave me assistance in creating this.

This will add a new tab in members' profile called "My Shelfari Bookshelf" and displays that user's Shelfari bookshelf, using Shelfari's flash widget.

Example:

See screenshot.

Installation
  1. Register a free account at http://www.shelfari.com
  2. Upload plug-in attached: admincp > manage products
  3. Create a new user profile field (admincp > add new user profile field > Single-Line Text Box>
    • Title: My Shelfari Bookshelf
    • Description: What is your Shelfari.com account username?
    • Private Field: Yes
    • Field Searchable on Members List: No
    • Show on Members List: No
    • Everything else, leave as is
    • Make a note of the new field# for that new profile field
  4. Edit template memberinfo_block_shelfari
    • First line, change "fieldX" to actual field number you noted (eg. field50)
  5. Go to admincp > plugin manager and edit "My Shelfari Bookshelf" plug-in.
    • Find "fieldX" and as you did in the template, change to actual field # (eg. field50). Save.
Now, you can go to your profile > edit details and you will see the Shelfari field that says "What is your Shelfari.com account username?" If this field is left blank by the member, the My Shelfari Bookshelf tab in member profile will not show up. It will only show up if it is filled in. Test it by using my own username Shelfari username: chadi

Customize

Shelfari allows you to customize many variables such as width, height, Amazon associate ID (ethically, mine is not included in this plugin don't worry), etc. If you want to customize this, use the below *sample* as reference. You will need to edit the <embed .... </embed> portion in plugin manager to change these variables. This plugin by default will display your "own books".

Variables you can change inside the <embed>.....</embed> widget code

Variable shown in red, in parenthesis is what it displays. Change only the variable inred, parenthesis is just to explain what that variable option shows.

Variable: ListType
  • isread (I've Read)
  • nowreading (I'm Reading)
  • isowned (Books Owned)
  • top (My Favorites)
Variable: Height / Width
  • height : whatever you want
  • width: whatever you want
Variable: Amazon Associates ID

In plugin code find:
Code:
booksize=large


Add *after*
Code:
 &AmazonAssociate=yourID

(change yourID to your actual Amazon Associates ID)

Example of that code portion:
Code:
 booksize=large&AmazonAssociate=taljes-20
I use 700x700 width/height. This displays 4 columns and 3 rows nicely.

“For his invisible attributes, namely, his eternal power and divine nature, have been clearly perceived, ever since the creation of the world, in the things that have been made. So they are without excuse.”- http://www.biblegateway.com/passage/?version=47&search=Romans%201:20
Check out my other mods:
Please show your appreciation by voting and clicking install

* Please Note: No Support Provided via PM or Email, only in This Thread for those who click Install *

Download

File Type: %1$s product_shelfari.xml (2.2 KB, 68 downloads)

Screenshots

Click image for larger version
Name:	shelfari.jpg
Views:	344
Size:	94.8 KB
ID:	98264  

Similar Mods

[mini-hack] Hidden profile fields viewable by admins & mods IN profile. vBulletin 2.x Full Releases

vblts.ru supports vBulletin®, 2022-2024