vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Integration with vBulletin - Pinterest Sharing System by BOP5 for VB 3.8 & VB 4.x! (Pinterest Pin Button Mod) (https://vborg.vbsupport.ru/showthread.php?t=281444)

BirdOPrey5 10-24-2012 05:10 PM

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.

turbosatan 11-15-2012 05:15 PM

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?

BirdOPrey5 11-18-2012 08:16 PM

I can't answer if it's easy or not, depends what is easy for you. :p

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

Code:

    //Get Description
    if ($vbulletin->options['bop5pin_desc'] == 0)
      $boppin['desc'] = trim(urlencode(trim($vbulletin->options['description'])));
    elseif ($vbulletin->options['bop5pin_desc'] == 1)
      $boppin['desc'] = trim(urlencode($thread['title']));
    else // ($vbulletin->options['bop5pin_desc'] == 2)
      $boppin['desc'] = trim(urlencode(strip_tags(trim($post['message']))));

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.

Gemma 12-10-2012 04:50 PM

Installed again, had to do some changes to get it to display where I wanted.

http://www.arcadejunkies.org/f31/eve...bie-kill-1782/

justicechick 12-26-2012 05:44 AM

Awesome! Was looking for something I didnt have to manually manipulate the templates! Thanks

Gamelobby 02-24-2013 11:35 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2375691)
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

BirdOPrey5 03-03-2013 12:17 PM

Quote:

Originally Posted by Gamelobby (Post 2406083)
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.

fcbsportscards 04-13-2013 07:11 PM

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?

fcbsportscards 04-13-2013 07:26 PM

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.

tpearl5 05-14-2013 05:13 PM

Any ideas for putting the pin button in the lower left of the image?

BirdOPrey5 05-15-2013 12:37 PM

Quote:

Originally Posted by tpearl5 (Post 2422033)
Any ideas for putting the pin button in the lower left of the image?

Interesting... not off hand but will think about it.

tpearl5 05-15-2013 12:49 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2422205)
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.

GONUMBER6 08-07-2013 02:57 AM

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

BirdOPrey5 08-17-2013 12:04 PM

See if it works if you use the default style.

GONUMBER6 08-19-2013 09:31 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2439317)
See if it works if you use the default style.

Not there either. Weird.... :confused:

GONUMBER6 08-19-2013 10:17 PM

Seems to be somehow connected to another modificaiton, postbit collapser. But I have this mod on the other site so I don't know why it's being stubborn.

alvin_mx 08-24-2013 07:42 AM

Great mod!

gremrock 08-29-2013 07:45 PM

Thanks

Dabbi 10-12-2013 08:45 PM

Thank you! At first it wasn't working right even with it enabled but once I read here about the permissions needing to be set right and got the user and forum permissions set to yes for guests it worked perfectly.

RichieBoy67 10-26-2013 04:04 AM

This mod and the share mod do not work on 4.2.2.. also I do not see them working on your demo site.

RichieBoy67 10-26-2013 06:46 AM

I fixed the PInterst issue by adding a Pinterest image locally instead of pulling it from Pinterest. :) Working now.

Just search your templates for
PHP Code:

//assets.pinterest.com/images/PinExt.png 

and replace the path with your own Pinterst button.

Actually ther only issue I have been having for some time now is that when submitting an image the page does not redirect to the site and instead leads me to a blank page. The image still gets posted but it used to always redirect back to the site.

ikymbo 11-11-2013 03:51 PM

dont work on my site :(

http://www.worldgamez.net/f78/rakion...ce-zahii-7959/

DemOnstar 11-11-2013 04:45 PM

BOP5 is quite busy at the moment, please be patient for the author to make his post..

There are 2 quality advisers around currently and they are very active. Hopefully they will pass by and help with most queries...

sjim 11-30-2013 04:05 PM

Pin interest offers this script to implement for a hover feature. I wonder if its possible to incorporate this feature into the mod rather than a fixed icon in the upper right of each post.

see here


To activate On Hover Pin It buttons on your page, just add the data-pin-hover attribute to the SCRIPT tag on your page that calls pinit.js.

<script type="text/javascript" src="//assets.pinterest.com/js/pinit.js"
data-pin-hover="true"
></script>

thx. great mod

Melinda Orr 12-14-2013 05:49 PM

This is working great on most of my forum posts. I have run into a snag here:
These are Panjo Marketplace listings in my forum:
Example:
http://www.artisanwhimsy.net/forums/...stings/773.htm
http://www.artisanwhimsy.net/forums/...stings/773.htm

It's pulling the first image with link ~ which I understand. How do I have it not choose the first "buy now" image and choose the second image or give the option to choose the image I prefer?
Thanks for any help! Outside of this issue it's working good! Melinda

Running 4.2.1 and this plugin: Integrated Classifieds Plugin - by Panjo https://vborg.vbsupport.ru/showthread.php?t=285283
:confused:

Wajow-community 12-21-2013 08:56 PM

Very nice!! Butt i got a problem, i upload my images in the vbulletin forum butt when i click on pin it i get: This is not a valid image.

What i can do now to can pin it the images that i have uploaded in my forum?

john7911 12-21-2013 10:08 PM

Thank you :)

Wajow-community 12-21-2013 10:25 PM

Quote:

Originally Posted by Wajow-community (Post 2469878)
Very nice!! Butt i got a problem, i upload my images in the vbulletin forum butt when i click on pin it i get: This is not a valid image.

What i can do now to can pin it the images that i have uploaded in my forum?

who can help me with it?

GeorgeB85 12-30-2013 02:58 PM

This was working the other day, and no, it is no longer displaying? Any ideas as to why?

GeorgeB85 01-05-2014 03:51 AM

Does anyone have any ideas why it is no longer showing on my site http://www.kgbeale.com. It was working just fine, and now nothing?

blackberry 01-05-2014 04:53 PM

Quote:

Originally Posted by Wajow-community (Post 2469894)
who can help me with it?

please make sure attachments are shown to guests/unregistered if not .. allow them for guests and it will work

blackberry 01-05-2014 04:57 PM

Quote:

Originally Posted by GeorgeB85 (Post 2472321)
Does anyone have any ideas why it is no longer showing on my site http://www.kgbeale.com. It was working just fine, and now nothing?

thread/post link please :-s

Wajow-community 01-08-2014 04:31 PM

Quote:

Originally Posted by blackberry (Post 2472411)
please make sure attachments are shown to guests/unregistered if not .. allow them for guests and it will work

Yes thnx for helping!

GeorgeB85 01-16-2014 06:40 PM

Quote:

Originally Posted by blackberry (Post 2472414)
thread/post link please :-s

http://www.kgbeale.com

GeorgeB85 03-24-2014 02:34 AM

can anyone help?

Wajow-community 06-04-2014 08:24 PM

I have installed for 5month´s its work good butt today i dont see the pin button why?? Evrything work good butt not show now?

Wajow-community 06-05-2014 09:02 AM

can someone help with it?

Wajow-community 06-07-2014 10:06 PM

???????

ozzy47 06-07-2014 11:22 PM

BOP5 is quite busy at the moment, please be patient for the author to answer your question.

Wajow-community 06-08-2014 10:45 AM

Quote:

Originally Posted by ozzy47 (Post 2501081)
BOP5 is quite busy at the moment, please be patient for the author to answer your question.


Hii Ozzy,

Ok i wait for the help...


All times are GMT. The time now is 01:47 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.01736 seconds
  • Memory Usage 1,821KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete