Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Pinterest Sharing System by BOP5 for VB 3.8 & VB 4.x! (Pinterest Pin Button Mod) Details »
Pinterest Sharing System by BOP5 for VB 3.8 & VB 4.x! (Pinterest Pin Button Mod)
Mod Version: 1.04, by BirdOPrey5 (IB Staff) BirdOPrey5 is offline
Developer Last Online: Dec 2019 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (16 votes - 4.94 average) Installs: 103
Released: 12 Apr 2012 Last Update: 03 Jun 2012 Downloads: 422
Not Supported Uses Plugins Auto-Template Translations External Content  

Brought to you by BirdOPrey5
www.Qapla.com


A BIG Thank You to all for voting this May 2012 Mod of the Month!

Version 1.04 - Added showpost compatibility
Version 1.01 - Compatibility fix for dbtech Advanced Thanks/Like mod
Version 1.0 - Initial (Non-Beta) Release

This mod is compatible with all VB 3.8 and 4.x versions released to date. It has been tested on VB 3.8.7, VB 4.1.11, and VB 4.2.0 and should work on older and newer versions as well.

Live Demos:
VB4 Demo: Pinterest Share Demo at Qapla.com
VB3 Demo: Pinterest Share Demo Thread - JUOT - Joe's Ultimate Off Topic

Pinterest is the next big thing in Social Media. It offers a very intuitive and friendly interface for users to share the things they like, use, and appreciate.

Unlike with Facebook or Twitter Pinterest absolutely requires some sort of visual representation of what you are sharing- this takes the form of a thumbnail image of a larger image or a thumbnail of a video.

Previously even if you could incorporate the Pinterest Pin button code into vBulletin there was no way to associate a unique image with every post.

This mod will search east post for any of the following. Priority is given to higher ranked items. The first instance of the first item type found will become the thumbnail sent to Pinterest. Each item can be enabled or disabled from the mod settings.

1) First it will look for YouTube videos. (Either embedded with [VIDEO] BBCode OR regular YouTube links OR YouTube videos embedded with the AME mod.

2) If no YouTube video is found it will next look for links to any external images. These are images that use the [IMG] BBCode.

3) If no external images are found it will look for any inline attachments. In the settings you can specify whether it should share the full sized attached image or only the thumbnail. Guests must have permission to download attachments or to see thumbnails for this option to work.

4) If none of the above find anything the mod can use this option will use avatar of the poster as the thumbnail sent to Pinterest.

5) If the user has no avatar as a last resort you can specify a link to a default forum image (perhaps the forum logo?) that will be submitted as the thumbnail.

Pinterest will not accept any Pins that do not contain a valid, guest accessible, image thumbnail.

You can choose the default description text. You can take text from the post itself, the thread title, or the forum META description. In any case the user always has the option to edit the description before submitting it to Pinterest.

The mod also contains a number of settings that allow you to choose how you want the Pinterest button to look, where you want it, and other basics such as what forums, styles, or usergroups to disable but button for or in.

The mod uses auto template edits for basic use however power-users will want to opt for the manual template edits (explained below) for even better customization and positioning of the Pinterest Pin Button.

Known Issues:
Using the recommended locations and settings the mod is working well on VB 3.8 and VB 4.x as you can see in the demo links above. However adding the Pinterest button causes some visual changes in some browsers.

For example in VB 4 with Chrome browser if you quick-edit a post with the Pinterest button the editor toolbar is pushed down lower than normal. Everything works it's just different than you are used to. In Firefox however the editor toolbar looks fine.

In VB 3 in the post message area location the "numbers" from the pin button are outside the border of the main table. This is somewhat on purpose- I think having the count outside the box draws more attention to them. Unfortunately if you don't like that all I can suggest is to disable the count completely because I am not a style expert. You are free however to do the manual template edit including in the instructions (and below) to find the perfect spot for your Pin button on your style(s).

Please Mark as Installed if you use this.
Donations Always Appreciated.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	pinterest_pin_settings_free.jpg
Views:	502
Size:	104.1 KB
ID:	137699   Click image for larger version

Name:	pinterest_pin_vb3_post.jpg
Views:	1918
Size:	123.6 KB
ID:	137700   Click image for larger version

Name:	pinterest_pin_vb4_post.jpg
Views:	1276
Size:	91.4 KB
ID:	137701  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #121  
Old 24 Oct 2012, 19:10
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
It would be completely useless to use this mod on an album page- there would be nothing in common- the code here is getting it's info from the $post array which is only created for posts.

I understand how it would be useful for an albums page but I think you'd be better off starting with just the basic Pinterest button code available from Pinterest itself- it would actually be a lot easier to make it by picture for albums because you would have access to the actual image URL on each page.

NOTE: This will only work if your albums are visible to guests- if they aren't don't bother trying.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #122  
Old 15 Nov 2012, 18:15
turbosatan turbosatan is offline
 
Join Date: Jul 2007
was just wondering if it might be able to pickup page name or album owner name instead of post title info.

would that be easy enough for me to modify in your code?
Reply With Quote
  #123  
Old 18 Nov 2012, 21:16
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
I can't answer if it's easy or not, depends what is easy for you.

There is no "title" supplied by this mod- perhaps you mean the description?

It's created in the plugin Pin Button in Posts

It's commented in the code where it does this.

But this is the snippet...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You can erase all that and just set $boppin['desc'] = to whatever you want. If you can figure out how to get what you want in that plugin.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #124  
Old 10 Dec 2012, 17:50
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Real name: Gemma
Installed again, had to do some changes to get it to display where I wanted.

http://www.arcadejunkies.org/f31/eve...bie-kill-1782/
__________________
Reply With Quote
  #125  
Old 26 Dec 2012, 06:44
justicechick's Avatar
justicechick justicechick is offline
 
Join Date: Oct 2012
Awesome! Was looking for something I didnt have to manually manipulate the templates! Thanks

Last edited by justicechick; 05 Jan 2013 at 07:20.
Reply With Quote
  #126  
Old 25 Feb 2013, 00:35
Gamelobby's Avatar
Gamelobby Gamelobby is offline
 
Join Date: Jul 2007
Originally Posted by BirdOPrey5 View Post
It would be completely useless to use this mod on an album page- there would be nothing in common- the code here is getting it's info from the $post array which is only created for posts.

I understand how it would be useful for an albums page but I think you'd be better off starting with just the basic Pinterest button code available from Pinterest itself- it would actually be a lot easier to make it by picture for albums because you would have access to the actual image URL on each page.

NOTE: This will only work if your albums are visible to guests- if they aren't don't bother trying.
Can anyone point us in the right direction as to where the Pinterest button code (default from pinterest) might go for other places besides forums.? (video/media, photos/pics, etc)

Also, I see their button code includes a placement code & another script code that needs to go somewhere.?
Where would the 2nd code go.? (header/footer.?)

Thanks

Last edited by Gamelobby; 25 Feb 2013 at 00:41.
Reply With Quote
  #127  
Old 03 Mar 2013, 13:17
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by Gamelobby View Post
Can anyone point us in the right direction as to where the Pinterest button code (default from pinterest) might go for other places besides forums.? (video/media, photos/pics, etc)

Also, I see their button code includes a placement code & another script code that needs to go somewhere.?
Where would the 2nd code go.? (header/footer.?)

Thanks
Since that discussion is unrelated to this mod please make sure it takes place in a separate thread. This thread is for discussion of this mod only.

Thank You.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #128  
Old 13 Apr 2013, 21:11
fcbsportscards fcbsportscards is offline
 
Join Date: Jul 2011
Hey Bop5 great mod! I am having an issue where pintrest does not pick up the image if it's an attachment. I have combed the comments here and I see someone else having the issue, but I did not see a solution. I set my settings to attachment only and I have made that attachments are viewable to guests. You got any ideas as to what is wrong?
Reply With Quote
  #129  
Old 13 Apr 2013, 21:26
fcbsportscards fcbsportscards is offline
 
Join Date: Jul 2011
Did some more digging Bop5 and I figured it out myself. It was a permissions issue and your mod works great. Thanks for making it.
Reply With Quote
  #130  
Old 14 May 2013, 19:13
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Real name: John
Any ideas for putting the pin button in the lower left of the image?
__________________
John
Reply With Quote
  #131  
Old 15 May 2013, 14:37
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by tpearl5 View Post
Any ideas for putting the pin button in the lower left of the image?
Interesting... not off hand but will think about it.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #132  
Old 15 May 2013, 14:49
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Real name: John
Originally Posted by BirdOPrey5 View Post
Interesting... not off hand but will think about it.
Thanks. Or lower right, that would probably be better. I noticed that with a pin button in the image it is more likely to be clicked.
FYI, I just haven't done this on my photo site yet because I haven't figured out how to exclude the pin button per image (I have with this mod, just not with in image pin code) - I know you have to put a nopin = 'nopin' in the img tag, but in my case this is dependent on a custom user field setting.
__________________
John
Reply With Quote
  #133  
Old 07 Aug 2013, 04:57
GONUMBER6's Avatar
GONUMBER6 GONUMBER6 is offline
 
Join Date: Jan 2010
Real name: Lisa
I cannot get this to work on one of my forums... not heavily customized either... works good on my other forum.... help?

http://petscantalktoo.com
Reply With Quote
  #134  
Old 17 Aug 2013, 14:04
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
See if it works if you use the default style.
__________________
-Joe
Former vb.org Moderator. Retired.

@BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic
Note - I no longer making new VB mods, sorry.
Reply With Quote
  #135  
Old 19 Aug 2013, 23:31
GONUMBER6's Avatar
GONUMBER6 GONUMBER6 is offline
 
Join Date: Jan 2010
Real name: Lisa
Originally Posted by BirdOPrey5 View Post
See if it works if you use the default style.
Not there either. Weird....
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 10:17.

Layout Options | Width: Wide Color: