Quote:
Originally Posted by Sunka
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:
Code:
if ($vbulletin->options['bop5pin_en'] AND $vbulletin->options['bop5pin_where'] AND THIS_SCRIPT=='showthread'
AND !in_array($vbulletin->userinfo['styleid'], explode("," ,$vbulletin->options['bop5pin_styles'] )))
and change them to:
Code:
if ($vbulletin->options['bop5pin_en'] AND $vbulletin->options['bop5pin_where'] AND (THIS_SCRIPT=='showthread' OR THIS_SCRIPT=='showpost')
AND !in_array($vbulletin->userinfo['styleid'], explode("," ,$vbulletin->options['bop5pin_styles'] )))
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.