PDA

View Full Version : Mini Mods - PunchTab Enabled Social Sharing on Post/Threads


vap0r-7
01-07-2013, 11:00 PM
This was inspired by naveeid's Social Bookmarking on Post/Thread for Addthis here (https://vborg.vbsupport.ru/showthread.php?t=293699)

Adds Facebook, Google + and Twitter Buttons that register points for the Punch Tab Rewards Program

We utilize the PunchTab rewards system for contests and rewards for our community and we wanted to offer more options for social interaction with threads.


To utilize this Mod:


Set up a free account at Punchtab (http://ptab.it/gvGM)
Add Punch Tab to your site according to the directions at PuchTab
Facebook enable and configure your site in the vbulletin admin panel, settings.


Installation is simple:

Edit the facebook_likebutton Template found in the Facebook Templates

Replace the current code with:

<vb:if condition="$show['loadfbroot']">
<span id="fb-root"></span>
<script type="text/javascript" src="//connect.facebook.net/{vb:rawphrase facebook_language}/all.js#appId={vb:raw appid}&amp;xfbml=1"></script>
</vb:if>
<div align="left" >
<div class="pt-social"></div>
</div>

The Images shows a regular post and a mod that utilizes the Facebook Like Templates

Disclaimer:
This mod has been shared as is, without any warranty. Be sure to back up your site before making any modifications.

vap0r-7
01-08-2013, 12:24 PM
Reserved

vap0r-7
01-08-2013, 12:25 PM
This should work with prior versions, but tested with 4.2.0

sigh
01-28-2013, 08:40 PM
Have you enacted any hacks to support custom actions & points with PunchTab?

vap0r-7
01-28-2013, 08:51 PM
No not at this time, we have talked with a few developers and all have been very hesitant about doing it...