vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - My Shelfari Bookshelf Profile Tab (https://vborg.vbsupport.ru/showthread.php?t=212050)

Chadi 04-23-2009 10:00 PM

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

http://www.pingy.us/thumbs/11bm812.png

Screenshot: click here

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 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.

Quote:

?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
Check out my other mods:
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


All times are GMT. The time now is 09:19 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01078 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete