Back to vBulletin 3.8 Template Modifications

Publish VBulletin Stuff to FaceBook
Mod Version: 1.00, by Cobra-J82

vB Version: 3.8.1 Rating: (3 votes - 3.67 average) Installs: 40
Released: 22 Feb 2009 Last Update: Never Downloads: 9
Not Supported Template Edits  

I found this share link on facebook that will help your users and urself share threads, posts (Basically where ever you put this code on the VB page they will be able to send it to there Facebook Profile).

https://www.facebook.com/share_partners.php
Click this link and you will know what to do
Just Copy the Code and Put it anywhere on your Vbulletin Page

---------------------------------------------------------------------------------

Here is How to Publish a Thread to FaceBook Keeping the Facebook Publish Button on a First Post of a Thread Only (Follow Steps):-

1-AdminCP
2- Styles & Templates
3- Search in Templates
4- Look for Postbit_legacy or Postbit (Which Ever one you Use)
5- In there look for the code:
Code:
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false">
<img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" />
</a>
</if>
6- Then Add this Code below it:
Code:
<if condition="$forum[forumid]=='10,20,30'">
<else />
<if condition="$post[postcount] == 1">
<script>function fbs_click() {u=location.href;t=document.title;window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)
+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');return false;}</script><a href="http://www.facebook.com/share.php?u=
<http://www.YOURSITE.com>" onclick="return fbs_click()" target="_blank">
<img src="http://www.YOURSITE.com/FaceBookIMAGEPATH" alt="Share on facebook" style="border-style: none"/>
</a>
</if>
</if>
The RED Font Indicates the Forums You wish to EXCLUDE
(lol traditional way I dont know if there is any other way)
The GREEN Font Needs to be changed too
Save and you are done.

My photoshop knowledge is limited but I would be happy to help you create one, just send me how you want it to be and I will try to create one for you

In the Screenshot you can see how the facebook button is after the quickreply button now.

---------------------------------------------------------------------------------

My forum has VB 3.8.1 on it.
Have a Good Day
Mark AS Installed would be Nice

Download

No files for download.

Screenshots

Click image for larger version
Name:	copy.JPG
Views:	2581
Size:	16.6 KB
ID:	95332   Click image for larger version
Name:	screen.JPG
Views:	2570
Size:	81.1 KB
ID:	95333  


vblts.ru supports vBulletin®, 2022-2024