PDA

View Full Version : Add-On Releases - Publish VBulletin Stuff to FaceBook


Cobra-J82
22 Feb 2009, 05:08
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).

http://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:
<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:

<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');re turn 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 :p

Chadi
22 Feb 2009, 06:27
Your install instructions are non-existent.

Sweeks
22 Feb 2009, 10:56
Theyre clear enough for me, he just doesnt use a specific example of where to place the code but he does state anywhere :) Installed
________
I Inhale (http://vaporizer.org/reviews)

hobbybox
22 Feb 2009, 13:12
what template do we add this to?

ArnyVee
22 Feb 2009, 14:14
Okay, so is this just another way to 'import' a 'feed' into Facebook? I have my RSS feed already going to my Facebook account and it comes through as a note.

What else does this do?

Cobra-J82
22 Feb 2009, 15:04
I hope I am more clear now :p
It was like 2 am when I found how to do this publish thing lol
Please read again and ask if you have a queston

ArnyVee
This is just a simple template edit which will allow your users to publish threads they like to there profile, just like in youtube.com for example, you see there is a facebook button under every video, when you click on it it will share the video on your profile.

ArnyVee
22 Feb 2009, 15:23
Ahh...gotcha Cobra. Thanks for the explanation :D

Cobra-J82
22 Feb 2009, 16:30
Okay Guys I have added a way to exclude certain forums from using the faecbook in thread, its a traditional way I know, i dont know if ther is another way lol, but its workin fine for me.
I have added:

<if condition="$forum[forumid]=='10,20,30'">
<else />

At the begining and:

</if> at the end

Cobra-J82
22 Feb 2009, 16:46
Ahh...gotcha Cobra. Thanks for the explanation :D

Welcome Arny ;)

Forum Lover
24 Feb 2009, 03:14
Tagged. How can I do the same for my vb blog? Thanks in advance. :)

Cobra-J82
24 Feb 2009, 13:02
Tagged. How can I do the same for my vb blog? Thanks in advance. :)

;)
----------------------------------------------------------------------------------------------
This will Place the Facebook Icon after you Blog Title
Steps:
1- AdminCP
2- Styles & Templates
3- Search in Templates
4- Look For blog_show_entry
5- In there look for the code
</h1>
6-Add the following code BFEFORE it
<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');re turn 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>
The GREEN Font Needs to be changed
----------------------------------------------------------------------------------------------
If you wana place it beside the icon which emails the blog entry
In the same template blog_show_entry
Look for:
<if condition="$show['emailentry']">
<a href="blog.php?$session[sessionurl]do=sendtofriend&amp;b=$bloginfo[blogid]">
<img src="$stylevar[imgdir_misc]/blog/email_go.gif" border="0" class="inlineimg" alt="$vbphrase[email_blog_entry]" />
</a>
</if>
After That add:
<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" border="0" class="inlineimg"
alt="Share on facebook" style="border-style: none"/></a>
The GREEN Font Needs to be changed
----------------------------------------------------------------------------------------------
Take Note that there is a slight difference between the code added beside the title and the one added beside the email entry.
Cheers

JohorBahru
16 Apr 2009, 04:56
hi, could I use this for 3.7.6?
thank you :)

Cobra-J82
16 Apr 2009, 12:46
hi, could I use this for 3.7.6?
thank you :)

Yes Sir :)

all-in
16 Apr 2009, 15:03
Is this the same thing that place the facebook logo at the bottom of each post and allows you to share with fb?

Cobra-J82
16 Apr 2009, 15:15
Is this the same thing that place the facebook logo at the bottom of each post and allows you to share with fb?


Exactly
Plus you can put the Facebook link whereever u want on ur Vbulletin (Blog, Video Directory, Downloads).

TNCclubman
16 Apr 2009, 17:40
Okay, so is this just another way to 'import' a 'feed' into Facebook? I have my RSS feed already going to my Facebook account and it comes through as a note.

What else does this do?

How do you do that (feed from vB into FB as a note)

all-in
16 Apr 2009, 18:44
Okay I have added the code and fb logo but nothing is showing up?

MoveOver.cc
17 Apr 2009, 19:19
is it possible so that the message will go automatically to facebook.

Thx

DobieGillis©
17 Apr 2009, 19:39
this mod works great. Installed!

nonsolofitness
12 Jun 2009, 11:00
hi, could I use this for 3.6.9?
thank you :)

Cobra-J82
11 Jul 2009, 06:11
Okay I have added the code and fb logo but nothing is showing up?

Please provide more information
Follow the steps exactly
Im sure it will work ;)

Cobra-J82
11 Jul 2009, 06:12
is it possible so that the message will go automatically to facebook.

Thx

Not in this thread, but im sure there is something out there that does what you need ;)

Cobra-J82
11 Jul 2009, 06:12
this mod works great. Installed!

Cheers :cool:

Cobra-J82
11 Jul 2009, 06:13
hi, could I use this for 3.6.9?
thank you :)

Yea you can use it on any version, it is only simple template edits ;)

vfaguilera
02 Aug 2009, 00:34
very nice, installed.

Zi55
04 Aug 2009, 23:21
allah m7yee aslak ya Cobra :D 7ababi ante w abo wadee3

Entonadoscl
11 Aug 2009, 07:15
work perfect

nice bro...

mark install ^^

realdx
07 Oct 2009, 16:39
Hi there Cobra, and thanks for the nice and clean Hack!
I've been trying without luck, so after struggling I came to you in search of help,
how do I place the lovely FB share button near the title of the video in the window border in the video directory remixed product?
I wanna try and see if the baby shares the video from the board to fb with the thumb preview!!
thanks a lot for your work, ciao from Italy!!

Cobra-J82
07 Oct 2009, 16:47
allah m7yee aslak ya Cobra :D 7ababi ante w abo wadee3

work perfect

nice bro...

mark install ^^


Cheers zi55 ;)

Welcom Entona ;)

Cobra-J82
07 Oct 2009, 16:48
Hi there Cobra, and thanks for the nice and clean Hack!
I've been trying without luck, so after struggling I came to you in search of help,
how do I place the lovely FB share button near the title of the video in the window border in the video directory remixed product?
I wanna try and see if the baby shares the video from the board to fb with the thumb preview!!
thanks a lot for your work, ciao from Italy!!


I will get back to you in an hour ;)
Ther is always a solution :)

realdx
07 Oct 2009, 17:22
Hiayaaaaa!! thanks, just tried some more, but no luck.. also another question, how do I place the button in any post of the thread and not only the first one?
I immagine the situation of an user willing to share on FB one image or video found in a post, if it's the first post, then well, but if it's #276? maybe adding the button in every post will share on fb a direct link to the thread/post with the preview of the image or video contained in that post.
that would be a massive attention getter on FB for the board..
thank you for your time! I really appreciate! :)

realdx
11 Oct 2009, 12:04
Greetings Cobra! Any news or too busy to check it out?
Whatever, thanks anyway!! :)

itsheinz
16 Oct 2009, 10:42
very nice ..thanks for this :)

realdx
26 Oct 2009, 12:10
Greetings Cobra, hate to bug, but 20 days passed by since your "I'll be back in an hour".. please dont take it bad, I really appreciate the work, and always be gratefull, more than this I have no intention to argue, I guess you have better things to do.. and I guess "whatever" is a better thing to do than this.. hehehehe but an update would be appreciated, even a negative one, so I just stop pass & pass & pass by to see if something happened.. probably is just not possible, I'm fine with it, just let me know.. thank you again! :)

edit: I was also wondering if it was possible to have the button at the top of the first post instead of having it at the end.. thx!

Cobra-J82
27 Oct 2009, 00:26
realdx man im realy sorry for all of this :(, the problem I have just started a new job and cant wait to go back hom and relax a bit, I'm realy sory as I have forgoten all about this, I usually have off on wednesday, so probably Wednesday Night I will work on ur requests I promise, please forgive me mio amico :)

Mean while please PM your msn or yahoo messenger or xifre or wat ever you use to talk to people, i think it will be easier to discuss ther as everytemplate has different design then the other ;)

realdx
28 Oct 2009, 15:45
Hi there Cobra, nice to read you back.. just take your time. no probs at all! Sorry but I dont use any chat app.. I suffer of bad tendinitis due to mouse/pc abuse and one of the first thing I had to cut were those chit-chat proggies.. :(

Brandon Sheley
28 Oct 2009, 17:21
nice mod, thanks for sharing :)

steeler7
03 Nov 2009, 20:30
I have a question about this Mod. anyone could probably help answer my question...

Does this Mod enable more than Just a link back to my message board and a small font title of the thread like the social bookmarks "share" feature? I'm looking for something that will publish perhaps entire threads or posts at Facebook, or something more than what the Social bookmark "share" feature for vbulletin does.

Thanks

pablete
19 Nov 2009, 16:04
Okay Guys I have added a way to exclude certain forums from using the faecbook in thread, its a traditional way I know, i dont know if ther is another way lol, but its workin fine for me.
I have added:

<if condition="$forum[forumid]=='10,20,30'">
<else />

At the begining and:

</if> at the end

This is not working for me.... the icon to facebook shows still in the forums that i put in the code.......

Helpppppppp XD!:D

AshMagic
10 Jan 2010, 23:13
This is a brilliant mod! Thanks

Erica1977
16 Jan 2010, 13:23
Is this the same thing that place the facebook logo at the bottom of each post and allows you to share with fb?
Can someone please direct me to this mode i would like to do this place the facebook logo at the bottom of each post i've done a search for this but couldnt find it would like to put it just like the picture here thanks.

masterross
26 Apr 2010, 10:35
Is it possible to post on the forum's facebook group instead of user's profile only?

lovegirl
30 Apr 2010, 10:48
Thx for the nice mod, but i wish i have it in every post how shall i do that ? and also it doesnt show the thread it shares the site name and description but not showing the thread name or reply weird cheers

always show like You must log in to share “#post3768“ with your friends.

djprian
14 Nov 2010, 07:44
thnx buddy nice work...

djprian
14 Nov 2010, 07:46
it doesnt show the thread it shares the site name and description but not showing the thread name or reply

please fix this ..

djprian
15 Nov 2010, 09:11
This is not working for me.... the icon to facebook shows still in the forums that i put in the code.......

Helpppppppp XD!:D

i faced the same problem and i fixed it simple this code is by the coder..
<if condition="$forum[forumid]=='10,20,30'">
<else />

At the begining and:

</if> at the end

RE-Edit code [Fixed]
<if condition="$forum[forumid]='10,20,30'">
<else />

At the begining and:

</if> at the end

Thx for the nice mod, but i wish i have it in every post how shall i do that ? and also it doesnt show the thread it shares the site name and description but not showing the thread name or reply weird cheers

always show like You must log in to share “#post3768“ with your friends.

There is one way to fix this when the popup window appear double click on the title and copy your title and paste in that field after that click on share your title will apper on your facebook..... if you still need help reply me i will post Screenshots for you.

Regards
Prian [Team IST]