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: May 2020 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: 424
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:	503
Size:	104.1 KB
ID:	137699   Click image for larger version

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

Name:	pinterest_pin_vb4_post.jpg
Views:	1280
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.
  #76  
Old 20 May 2012, 15:02
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Please "Mark as Installed" now that it is working.

As for moving it to under the avatar should be possible but I'm not really a style person.

At a minimum you would need to go mod settings -> Button Locations in Posts -> to None.

Then manually add the template hook to the postbit(_legacy) template where you want it to appear.

In postbit_legacy you probably want to add the code directly above:

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

Then you may need to edit the postbit_pinterest_vb4 template as well to get it to display properly.
__________________
-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
  #77  
Old 22 May 2012, 02:50
juliannova juliannova is offline
 
Join Date: Feb 2008
has the album version been included yet? in version 1.01
Reply With Quote
  #78  
Old 22 May 2012, 14:05
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
no.
__________________
-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
  #79  
Old 22 May 2012, 15:51
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Real name: John
Anyone have any ideas on having a member option to exclude the pin button from their posts?
__________________
John
Reply With Quote
  #80  
Old 22 May 2012, 19:05
tpearl5's Avatar
tpearl5 tpearl5 is offline
 
Join Date: Nov 2001
Real name: John
Originally Posted by tpearl5 View Post
Anyone have any ideas on having a member option to exclude the pin button from their posts?
Actually, I figured this one out as well.

I added a new radio button user field called "Pinterest" with the description "Allow users to pin your photos on Pinterest", make sure it is not private, and put Yes No in for the selection

Since I manually added {vb:raw template_hook.postbit_bop_pinterest} to postbit, I added a conditional around it:

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

Change X to the number of your custom field. Mine is 15 so it looks like this: $post['field15']
__________________
John
Reply With Quote
  #81  
Old 22 May 2012, 21:07
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
tpearl5 is right on, that is a good way.
__________________
-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
  #82  
Old 26 May 2012, 16:13
Glenn_E Glenn_E is offline
 
Join Date: Dec 2009
Not sure I get how this will work for the entire vb site. Some forums require registration, while others are guest viewable. Does this mod allow admins to select which forums will allow the pin it button?
Reply With Quote
  #83  
Old 26 May 2012, 16:18
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Yes, the admin can set a list in the settings on what forums should not have the pin button.
__________________
-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
  #84  
Old 26 May 2012, 16:31
Glenn_E Glenn_E is offline
 
Join Date: Dec 2009
Excellent!
At my site, WestCoastGearHeads.com we post tons of automotive type photos within threads... especially from events that we cover. We share on facebook / twitter, but I'm really interested in trying pinterst. Thanks for the mod, I'll download and test when I get back from today's events
Reply With Quote
  #85  
Old 01 Jun 2012, 12:14
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Thank You All for your votes!

Official Winner of the May 2012 Mod of the Month!

Overall there were some great mods last month, more than usual- it was a tough choice, even for me.
__________________
-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
  #86  
Old 02 Jun 2012, 00:35
Sunka Sunka is offline
 
Join Date: Mar 2008
Hi BOP5

I have problem with this Mod and Thanks Mod (Dragonbyte Tech).
With newest version of they mod, when user click on button to give like/thanks for post, if pinterest icon are in that post, after click on like/thanks button Pinterest icon disappear.

I ask for help on they forum, and solution is that you integrate Pinterest mod with showpost.php

Could you please do that?
Reply With Quote
  #87  
Old 02 Jun 2012, 01:11
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Originally Posted by Sunka View Post
Hi BOP5

I have problem with this Mod and Thanks Mod (Dragonbyte Tech).
With newest version of they mod, when user click on button to give like/thanks for post, if pinterest icon are in that post, after click on like/thanks button Pinterest icon disappear.

I ask for help on they forum, and solution is that you integrate Pinterest mod with showpost.php

Could you please do that?
It works fine with Abe's Thanks mod.
Reply With Quote
  #88  
Old 02 Jun 2012, 02:28
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by Sunka View Post
Hi BOP5

I have problem with this Mod and Thanks Mod (Dragonbyte Tech).
With newest version of they mod, when user click on button to give like/thanks for post, if pinterest icon are in that post, after click on like/thanks button Pinterest icon disappear.

I ask for help on they forum, and solution is that you integrate Pinterest mod with showpost.php

Could you please do that?
That might be a simple fix. I don't have their mod though so I can't easily test it.

Could you please go to the Admin CP -> Plugins & Products -> Plugin Manager

Open/Edit the Plugin from the Pinterest mod called Auto Postbit Edit on the parse_templates hook.

Edit the first two lines from:


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

and change them to:


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

And Save the Plugin and try again.

Does that add anything to the post after you "like' it? If I'm right it should add maybe just a button without a count- just interested if it does anything at all.
__________________
-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
  #89  
Old 02 Jun 2012, 22:52
Sunka Sunka is offline
 
Join Date: Mar 2008
I change plugin code like you said.

It is half fix now.

When I click on button Like/Thanks/... Pinterest icon do not disappear like before. It just change to icon without number, like you say it would. Little problem is when you click on that icon, it is open in new tab it is not then anymore in same window like popup.
Reply With Quote
  #90  
Old 03 Jun 2012, 03:00
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by Sunka View Post
I change plugin code like you said.

It is half fix now.

When I click on button Like/Thanks/... Pinterest icon do not disappear like before. It just change to icon without number, like you say it would. Little problem is when you click on that icon, it is open in new tab it is not then anymore in same window like popup.
Good, it let me know I was on the right track. Just released 1.04 with showpost compatibility.

Let me know if it works as expected now.
__________________
-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
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 11:56.

Layout Options | Width: Wide Color: