The Arcive of vBulletin Modifications Site. |
|
Easiest way to add Social Bookmarks on Thread Details »»
|
|||||||||||||||||||||||||||||||||||
|
Easiest way to add Social Bookmarks on Thread
Developer Last Online: Apr 2019
hi friends
You do not need to use any third party social book mark tools or facebook code to be loaded on your pages , just copy paste these few lines and have social bookmark tools easily here is the method. go to edit templates go to showthread templates edit SHOWTHREAD find this code Code:
<h1>
{vb:rawphrase thread}: <span class="threadtitle"><a href="{vb:raw thread_url}" title="{vb:rawphrase reload_this_page}">{vb:raw threadinfo.title}</a></span>
</h1>
ADD THESE LINES after the code Code:
<!-- Social Book Marks -->
<a href="https://www.facebook.com/sharer/sharer.php?u=http://www.YOURFORUMADDRESS.COM/{vb:raw thread_url}&title={vb:raw thread.title}" target=_blank><img src="FACEBOOK IMAGE PATH SOURCE"></a>
<a href=https://plus.google.com/share?url=http://www.YOURFORUMADDRESS.COM/{vb:raw thread_url} target=_blank><img src="GOOGLE PLUS IMAGE PATH SOURCE"></a>
<a href="https://twitter.com/share?url=http://www.YOURFORUMADDRESS.COM/{vb:raw thread_url}&text={vb:raw thread.title}" target=_blank><img src="TWITTER IMAGE PATH SOURCE"></a>
<!-- Social Book Marks -->
2) Replace the TWITTER FACEBOOK AND GOOGLE PLUS images sources as you upload them on your server. Screenshots
Show Your Support
|
|||||||||||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
This is a Template Mod, not an addon.
|
|
#3
|
|||
|
|||
|
Ok this is what I was looking for.
However, can it be modified so a tweet button will show up for each post in the thread? Right now all you can do is tweet the first post which is the post that started the thread. Can that be done??Jon |
|
#4
|
||||
|
||||
|
yes you can do it but modifying signature template.
|
|
#5
|
|||
|
|||
|
Could you post the template mod to do it? Would be good to have a facebook button to do the same too
|
|
#6
|
|||
|
|||
|
{vb:raw thread_url} is enough. I didn't need to add the url of my forums before that.
|
|
#7
|
|||
|
|||
|
Thank you
|
|
#8
|
||||
|
||||
|
webmaster74 , i have rechecked and found that your observation is not correct , we need to submit full url to facebook but {vb:raw thread_url} dont provide full url. thanks.
|
|
#9
|
|||
|
|||
|
this worked for me
|
|
#10
|
|||
|
|||
|
Thank you very much. I was looking for this for weeks. One question, how can i align this to the right?
|
![]() |
|
|