![]() |
Quote:
|
Quote:
Quote:
If you manually edit the postbit or postbit_legacy template you can put the template hook *anywhere* you want. |
Quote:
sooo.... how to manually edit the postbit template to put the hook there? (yes, i am an idiot) |
Go to Admin CP - > Styles & Templates -> Style Manager -> [Choose your style] -> Choose "Edit Templates" from the drop down menu -> Postbit Templates (double click to expand this group.)
Now find either [B]postbit[/B ]or postbit_legacy depending on the one you use and double click on it to open it in the template editor. Paste in this code wherever you want the Pinterest button to appear: Code:
{vb:raw template_hook.postbit_bop_pinterest} Now check how it looks. It will probably need some adjusting. You will also need to edit the template postbit_pinterest_vb4 to make additional adjustments as needed. Sorry but that is as much detail as I'm willing to go into making these edits. Quite frankly I don't suggest people try these if they don't already know what they are doing. |
so I can't use this hook or code for the album by manual putting it in....it won't work?
|
There is no easy way of just dropping this code into a different hook, no.
|
1 Attachment(s)
We would like to support multiple languages.
Thank you |
I will see what I can do about the description issue. I'm thinking I can't do much except offer a "blank" description option so the user has to type out their own.
|
If a user pins a post that has an image, but that image is linked from another site...will a user be directed to your forum or the site that the image is actually hosted on if they click on it in Pinterest?
Thanks, Brandon |
It will always redirect to your forum.
|
Awesome, thx. Installed.
Also installed Facebook mod. |
Nice mod. But why doesn't the Pin image show up when images are attached to a thread rather than posted via the IMG tag? I've enabled viewing and downloading of attached images for guests, as explained in the installation file, but still there's no Pin image.
|
Are they inline attachments?
This version only looks for inline attachments. I am working on an update to take a any image attachment. |
Works great..thanks
|
would be possible to monitor custom BB codes with the PinInterest plugin ?
e.g. add text field for variable into Admin CP options of the plugin where these can be set let say i have SoundCloud BB codes [sc] , so i would define it to be pin-able :) |
another suggestion , would be possible to offer ability to enable / disable for user in his user profile settings ? and if enabled then he could set if allow / not allow javascript variant?
|
I am confused on one point. If a post has an Avatar, a pic posted, a pic in the sig line, and maybe a video, how do you choose which one to PIN.
|
None the less, MOTM. I think it is a good one and is a little ahead of the curve with the growing interest in that pinterest stuff. My wife plays with that site all the time.
So when it is pinned the pinned item is linked back to my site? If so that is great. MORE EXPOSURE! |
Quote:
It is a good idea I will try to implement but I'm afraid it may not work on soundcloud. Quote:
Quote:
If no video is found it looks for the first external image in the post. If no external image is found it looks for an inline image attachment in the post... If none of the above it looks for an avatar If no avatar it looks to see if you defined a fallback image in settings (like a logo.) It doesn't look in signatures at all. Quote:
|
So one can not choose which thing to PIN if there are multi things in a post?
|
That is correct, it only pulls the first found element.
I am experimenting with code to choose an image via javascript but it is nowhere near ready, not sure it ever will be. I can't get it to work with the counts... So far it is only working with the static image button. |
The button is showing on every post even with no images or videos. I suspect this should not be the case. What would cause this?
|
If you enabled the option to use avatars or you specified a logo URL those would both cause the Pin button to show on every post.
|
Quote:
|
The URL is there only if the Admin wants to allow sharing of EVERY post, even if there is no image. It's up to you.
|
Yay. Voted for MOTM. I hope you win! The mod is just what I needed!
|
Great mod thanks!
|
Thank you for making it vB3.8 compatible! I had some minor formatting issues from some members when using the Postbit placement, but it works great in the post controls area. Voted for MOTM.
|
Voted. Pinterest is a cracking wee tool and so is this mod :)
|
Voted for MOTM! This is one of my favs. Thank you for taking the time to create such awesome mods.
|
I love this but have been unsuccessful trying to get an invite. Can anyone send me an invite please?
Thanks, Rich |
Works great on 4.1.10. Thanks BOP5. Another awesome mod
|
I cannot get the mod to show on my threads. Tried the manual template fix and the default instal with nothing showing. Manually tried puting the script in bot the POSTBIT and POSTBIT_LEGACY templates and nothing happens. Do you think this mod is compatiable with the Sidebar Everywhere plugin?
www.caneinsider.com/forum |
I'd imagine it should be... Please put everything back to normal first, I can't troubleshoot if you've "put the script in the POSBIT" - I don't even know what you mean by that to be honest.
Then give me a ink to a post with an image or video in it so I can see what is going on. |
Quote:
Is there a way to move this into the post bit area under the avatar? With the sidebar everywhere plugin installed it prevents videos from being shown all the way. Thanks for all the help and great mods! |
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: Code:
{vb:raw template_hook.postbit_userinfo_right} |
has the album version been included yet? in version 1.01
|
no.
|
Anyone have any ideas on having a member option to exclude the pin button from their posts?
|
Quote:
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: HTML Code:
<vb:if condition="$post['fieldX'] != 'No'">{vb:raw template_hook.postbit_bop_pinterest}</vb:if> |
All times are GMT. The time now is 02:27 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|