PDA

View Full Version : Add-On Releases - My Shelfari Bookshelf Profile Tab


Chadi
04-23-2009, 10:00 PM
My Shelfari Bookshelf Profile Tab
(please nominate for mod of the month)

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

Screenshot: click here (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

Register a free account at www.shelfari.com (http://www.shelfari.com)

Upload plug-in attached: admincp > manage products
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

Edit template memberinfo_block_shelfari
First line, change "fieldX" to actual field number you noted (eg. field50)
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:
booksize=large

Add *after*
&AmazonAssociate=yourID
(change yourID to your actual Amazon Associates ID)

Example of that code portion:
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.?- Romans 1:20 (http://www.biblegateway.com/passage/?version=47&search=Romans%201:20)
Check out my other mods:

Mods
Thread Listing by Letter with ABC Navigation Menu (https://vborg.vbsupport.ru/showthread.php?t=211939)
Text Background Highlight (https://vborg.vbsupport.ru/showthread.php?t=211940)
ESV Bible Verse with Audio (https://vborg.vbsupport.ru/showthread.php?t=211936)
My Shelfari Bookshelf Profile Tab (https://vborg.vbsupport.ru/showthread.php?t=212050)
Postbit Mini Box: Member Info Icons (https://vborg.vbsupport.ru/showthread.php?t=212052)
MixPod Playlist MP3 Player in Profile (https://vborg.vbsupport.ru/showthread.php?p=1801014)
Styles
Green Earth Admin Style (https://vborg.vbsupport.ru/showthread.php?p=1801526)
Purple Element Admin Style (https://vborg.vbsupport.ru/showthread.php?t=212035) Please show your appreciation by voting and clicking install :up:

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

RedeemedWarrior
04-24-2009, 06:31 AM
awesome job brother :D Godbless and keep making these great mods!

<<><

Chadi
04-24-2009, 02:02 PM
Glad you like it :)

vixt0ria
11-04-2009, 02:48 PM
Hello! As far as troubleshooting goes - I have it all installed, and it works with *your* Shelfari userID but not with mine. There is clearly something I'm doing wrong but I can't figure out what. Are you able to think of any reasons why my account isn't being picked up in my forum? I have activated an account, the account has books in it. I just don't get it.

kalisekj
11-10-2009, 08:15 PM
USERNAME DOES NOT WORK!
Go To www.Shelfari.com and Create a Account. Click on HOME Then PUBLIC PROFILE & Input Here your Public Profile Number from URL. Ex: http://www.shelfari.com/o1514442072 (Enter The Number after / which Would Be o1514442072.

kalisekj
11-10-2009, 08:32 PM
Installed and working Great! Suggestion though, Would be Awesome to Show Books Read on Top Shelf, Now Reading 2nd Shelf, Favorites 3rd Shelf.

kersti
11-17-2010, 08:58 AM
Doesn't seem to work with 4.0.8