PDA

View Full Version : End-User Options - Submit to Twitter, Facebook and Digg


ericgtr
25 Jun 2009, 17:49
I have been adding these as I go and decided to share, I am sure there are other versions out there but this is how I do it. See screenshot for example of where it goes and how it looks. Keeping up with the latest in social networking keeps traffic flowing to your site.

This can all be added at once or you may add only the one's you want. Additionally, this will probably work in any version of vB.

In the SHOWTHREAD template find:

<td class="vbmenu_control" id="threadtools" nowrap="nowrap">


Paste this ABOVE:

<!-- Facebook Share -->
<if condition="in_array($forum['forumid'], array(1,2))">
<else />
<td class="vbmenu_control" id="facebook" nowrap="nowrap">
<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><style> html .fb_share_button { display: -moz-inline-block; display:inline-block; padding:1px 20px 0 5px; height:15px; border:1px solid #d8dfea; background:url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981) no-repeat top right; } html .fb_share_button:hover { color:#fff; border-color:#295582; background:#3b5998 url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981) no-repeat top right; text-decoration:none; } </style> <a href="http://www.facebook.com/share.php?u=<url>" class="fb_share_button" onclick="return fbs_click()" target="_blank" style="text-decoration:none;">Share</a>
</td>
</if>
<!-- / Facebook Share -->
<!-- Twitter Share -->
<if condition="in_array($forum['forumid'], array(1,2))">
<else />
<td class="vbmenu_control" id="twitter" nowrap="nowrap">
<script type="text/javascript">
var twtTitle = document.title;
var twtUrl = location.href;
var maxLength = 140 - (twtUrl.length + 1);
if (twtTitle.length > maxLength) {
twtTitle = twtTitle.substr(0, (maxLength - 3))+'...';
}
var twtLink = 'http://twitter.com/home?status='+encodeURIComponent(twtTitle + ' ' + twtUrl);
document.write('<a href="'+twtLink+'" target="_blank"'+'><img src="images/tweet.png" border="0" alt="Tweet This!" /'+'><'+'/a>');
</script>
</div>
</if>
<!-- / Twitter Share -->
<!-- Digg Share -->
<if condition="in_array($forum['forumid'], array(1,2))">
<else />
<td class="vbmenu_control" id="digg" nowrap="nowrap">
<script type="text/javascript">
digg_url = 'http://www.YOURSITE.com/showthread.php?t=$thread[threadid]';
digg_title = "$threadinfo[title]";
<!-- Change color below to match your forum -->
digg_bgcolor = '#FFFFFF';
digg_skin = 'compact';
digg_window = 'new';
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</td>
</if>
<!-- / Digg Share -->


Note the bolded statements above, these are where you must make changes:

enter the forum id's of the forums where you do not want it to show
<if condition="in_array($forum['forumid'], array(1,2))">

You will also see that in the digg section there is an option to change the background color and you will need to add your site URL.

The tweet image is attached, upload to your forum and change the path in the "Twitter Share" section.

Update: This has also been updated to vB4 Beta 3 here http://www.vbulletin.org/forum/showthread.php?t=228610

saadessa
25 Jun 2009, 18:16
nice
thank you

Itchy Nips
25 Jun 2009, 19:34
thanks! One question though: what do you mean by "forumid" ?
sorry for the lack of knowledge...i'm still learning a lot of this stuff

ericgtr
25 Jun 2009, 19:46
thanks! One question though: what do you mean by "forumid" ?
sorry for the lack of knowledge...i'm still learning a lot of this stuff
No problem. :)

Each forum has a forumid number associated with it. To see which number is associated with which forum go to your Admin CP Forums & Moderators > Forum Manager and click on any forum, on the very top title bar it will give the forumid number.

If you want it visible in all forums you can simply remove the numbers, for example change:

<if condition="in_array($forum['forumid'], array(1,2))">

to

<if condition="in_array($forum['forumid'], array())">

Chimpie
25 Jun 2009, 20:14
Installed and working perfectly! Awesome mod.

Want to take it a step further? Why not make it a drop down box instead of a row of buttons.

Maybe a button or the text Share and you when you click on it a drop down box appears with all the different choices.

Thoughts?

ericgtr
25 Jun 2009, 20:23
Installed and working perfectly! Awesome mod.

Want to take it a step further? Why not make it a drop down box instead of a row of buttons.

Maybe a button or the text Share and you when you click on it a drop down box appears with all the different choices.

Thoughts?
Thanks.

I thought about that, it wouldn't be hard but I wanted them easily noticeable.

Chimpie
25 Jun 2009, 20:51
True. Maybe make a second mod or add on to this one for those who want a drop box instead?

Or PM me with it? :cool:

F0xy
25 Jun 2009, 21:14
True. Maybe make a second mod or add on to this one for those who want a drop box instead?

Or PM me with it? :cool:

like this
http://www.vbulletin.org/forum/showthread.php?t=187190

Chimpie
25 Jun 2009, 21:51
That looks tacky (to me). I think something as simple as what you have, but with a drop down box with the different icons.

ericgtr
25 Jun 2009, 22:07
True. Maybe make a second mod or add on to this one for those who want a drop box instead?

Or PM me with it? :cool:
Okay, I've put this together for you but check out the screenshot to see what it looks like. The reason for the formatting is because the javascript automatically puts the icons where you see them.

Knowing this, if you want to add it here's what you do...

In the showthread template find:

<td class="vbmenu_control" id="threadtools" nowrap="nowrap">



Add this above it:

<!-- social networking menu setup -->
<if condition="in_array($forum['forumid'], array(1,2))">
<else />
<td class="vbmenu_control" id="share" nowrap="nowrap">
<a href="$show[nojs_link]#goto_share"<if condition="is_browser('ie')"> accesskey="3"</if>>Share</a>
<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("share"); </script></if>
</td>
</if>
<!-- social networking menu setup -->



Find:

<!-- thread tools menu -->



Add this above it:

<!-- social networking menu -->
<div class="vbmenu_popup" id="share_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Share<a name="goto_share"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite"><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><style> html .fb_share_link { padding:2px 0 0 20px; height:16px; background:url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981) no-repeat top left; }</style><a href="http://www.facebook.com/share.php?u=<url>" onclick="return fbs_click()" target="_blank" class="fb_share_link">Share on Facebook</a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="images/twitter_icon.gif" alt="Submit to Twitter" />
<script type="text/javascript">
var twtTitle = document.title;
var twtUrl = location.href;
var maxLength = 140 - (twtUrl.length + 1);
if (twtTitle.length > maxLength) {
twtTitle = twtTitle.substr(0, (maxLength - 3))+'...';
}
var twtLink = 'http://twitter.com/home?status='+encodeURIComponent(twtTitle + ' ' + twtUrl);
document.write('<a href="'+twtLink+'" target="_blank"'+'><img src="images/tweet.png" border="0" alt="Tweet This!" /'+'><'+'/a>');
</script>
</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="images/digg_icon.gif" alt="Submit to Digg" /> <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></td>
</tr>
</table>
</div>
<!-- / social networking menu -->

Chimpie
25 Jun 2009, 22:18
I think if you remove the Submit to Twitter and Submit to Digg text it will look perfect.

ericgtr
25 Jun 2009, 22:23
I think if you remove the Submit to Twitter and Submit to Digg text it will look perfect.
From what I can tell it's embedded in the javascript which is called from their servers. Take a look at the code and you'll probably see what I mean, that text is not in there.

sugresmax
26 Jun 2009, 07:00
http://www.vbulletin.org/forum/showthread.php?p=1783648#post1783648 look this

saviola8x
26 Jun 2009, 20:47
i need facebook.
Thanks ^^

Wired1
27 Jun 2009, 07:35
I'd recommend tweaking the optional dropdown a bit so that the button and the description are in different columns within the dropdown. Much cleaner that way IMHO.

Chimpie
27 Jun 2009, 17:30
I'd recommend tweaking the optional dropdown a bit so that the button and the description are in different columns within the dropdown. Much cleaner that way IMHO.

I'd say skip the description, just have the icon, and then when you hover the mouse over it then it could say "Share with ... ".

LI_Pets
28 Jun 2009, 12:34
works great, thanks

Morrus
28 Jun 2009, 23:24
Cool mod. Is there any way to get it working with vBSEO?

ericgtr
29 Jun 2009, 14:58
Cool mod. Is there any way to get it working with vBSEO?
I am using it with VBSEO on my site.

deadlySniper
29 Jun 2009, 16:04
Pretty sweet, thanks.

rrudeboy
29 Jun 2009, 16:45
using this code for the menu, it's not showing the words "Submit to Twitter"....

<!-- social networking menu -->
<div class="vbmenu_popup" id="share_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Share<a name="goto_share"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite"><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><style> html .fb_share_link { padding:2px 0 0 20px; height:16px; background:url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981) no-repeat top left; }</style><a href="http://www.facebook.com/share.php?u=<url>" onclick="return fbs_click()" target="_blank" class="fb_share_link">Share on Facebook</a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="images/misc/twitter.jpg" alt="Submit to Twitter" />
<script type="text/javascript">
var twtTitle = document.title;
var twtUrl = location.href;
var maxLength = 140 - (twtUrl.length + 1);
if (twtTitle.length > maxLength) {
twtTitle = twtTitle.substr(0, (maxLength - 3))+'...';
}
var twtLink = 'http://twitter.com/home?status='+encodeURIComponent(twtTitle + ' ' + twtUrl);
document.write('<a href="'+twtLink+'" target="_blank"'+'><'+'/a>');
</script>
</td>
</tr>
</table>
</div>
<!-- / social networking menu -->


what's wrong with my code ?

tks.

(plus where is it getting the image for FaceBook, it's showing images from my forums like avatars :}

ericgtr
29 Jun 2009, 17:00
using this code for the menu, it's not showing the words "Submit to Twitter"....

<!-- social networking menu -->
<div class="vbmenu_popup" id="share_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">Share<a name="goto_share"></a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite"><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><style> html .fb_share_link { padding:2px 0 0 20px; height:16px; background:url(http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif?8:26981) no-repeat top left; }</style><a href="http://www.facebook.com/share.php?u=<url>" onclick="return fbs_click()" target="_blank" class="fb_share_link">Share on Facebook</a></td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="images/misc/twitter.jpg" alt="Submit to Twitter" />
<script type="text/javascript">
var twtTitle = document.title;
var twtUrl = location.href;
var maxLength = 140 - (twtUrl.length + 1);
if (twtTitle.length > maxLength) {
twtTitle = twtTitle.substr(0, (maxLength - 3))+'...';
}
var twtLink = 'http://twitter.com/home?status='+encodeURIComponent(twtTitle + ' ' + twtUrl);
document.write('<a href="'+twtLink+'" target="_blank"'+'><'+'/a>');
</script>
</td>
</tr>
</table>
</div>
<!-- / social networking menu -->


what's wrong with my code ?

tks.

(plus where is it getting the image for FaceBook, it's showing images from my forums like avatars :}
There is more code than just that, please check this post again and make sure you add all of the code as instructed http://www.vbulletin.org/forum/showpost.php?p=1837400&postcount=10

It's grabbing the images from Facebook and Digg directly from their sites, the image for Twitter needs to be uploaded to your forum.

rrudeboy
29 Jun 2009, 17:14
There is more code than just that, please check this post again and make sure you add all of the code as instructed http://www.vbulletin.org/forum/showpost.php?p=1837400&postcount=10

It's grabbing the images from Facebook and Digg directly from their sites, the image for Twitter needs to be uploaded to your forum.

i have the other code in there, but 1. see here screen shot (http://bb.roeiboot.com/ss/eb_net/Clipboard_01.gif), it's not showing the Twitter text and 2. when the Facebook screen opens it takes images out of the thread, see here: screen shot (http://bb.roeiboot.com/ss/eb_net/Clipboard_02.gif)..

ericgtr
29 Jun 2009, 17:45
i have the other code in there, but 1. see here screen shot (http://bb.roeiboot.com/ss/eb_net/Clipboard_01.gif), it's not showing the Twitter text and 2. when the Facebook screen opens it takes images out of the thread, see here: screen shot (http://bb.roeiboot.com/ss/eb_net/Clipboard_02.gif)..
It looks like you've modified the twitter code a little bit which is causing the text not to display. However, you have the link there so you can probably just manually add the text as you like.

As for Facebook taking images from the thread, it does that by default but you can check no image and it will ignore it.

rrudeboy
29 Jun 2009, 18:38
It looks like you've modified the twitter code a little bit which is causing the text not to display. However, you have the link there so you can probably just manually add the text as you like.

As for Facebook taking images from the thread, it does that by default but you can check no image and it will ignore it.

thanks, fixed the Twitter link... re. the image, well i guess it is what it is :}

emailapphost
29 Jun 2009, 18:46
Great mode. Thank you very much - sending good karma your way!

pigsy
01 Jul 2009, 16:27
Can the url automatically be shortened using one of the services that does that - I've seen a mod for wordpress that does that. I'd definitely want to use this then.

ericgtr
01 Jul 2009, 16:45
Are you referring to the Twitter section? It changes the URL automatically upon submission.

For example, when I click the twitter button in this link http://www.politicalgroove.com/news/15678-north-korean-ship-does-u-turn.html the it grabs the post title and the URL and looks like this (in the box before you submit):

north korean ship does a u-turn - PoliticalGroove Forums http://www.politicalgroove.com/news/15678-north-korean-ship-does-u-turn.html

Then after you submit, it automatically changes the URL to shorten it, like this:

http://bit.ly/OH0tU

pigsy
01 Jul 2009, 16:52
oh nice :)

N-0p3rz
01 Jul 2009, 22:15
Nice mod, using the second one. Scrapped the digg button & kept Facebook & Twitter, works like a charm after some modification to images.

Thanks

yossie3660
02 Jul 2009, 05:53
i have some error and dunno where i must fix about the code, sometimes successfull, sometimes came like this when i press the button SHARE |F| (the pop up windows came up to share to FB but cannot got the info about thread that i wanna to share) :

(Must be at least 4 characters, letters and numbers only.) Email Address: (We’ll send your password to this address, so triple-check it.)

so....error in where code? cause some times is successful in other thread when i press the button, came with the title post and image from my forum, can u tell me how to fix about this? i use the code from the Thread Starter and my forum using the VBSEO, and about the link to twitter is great, i had tried and successfull but some problem in share to FB.

regards
yossie3660

ericgtr
02 Jul 2009, 14:19
i have some error and dunno where i must fix about the code, sometimes successfull, sometimes came like this when i press the button SHARE |F| (the pop up windows came up to share to FB but cannot got the info about thread that i wanna to share) :

(Must be at least 4 characters, letters and numbers only.) Email Address: (We’ll send your password to this address, so triple-check it.)

so....error in where code? cause some times is successful in other thread when i press the button, came with the title post and image from my forum, can u tell me how to fix about this? i use the code from the Thread Starter and my forum using the VBSEO, and about the link to twitter is great, i had tried and successfull but some problem in share to FB.

regards
yossie3660
I am using VBSEO also and have not had this problem yet but the fact that it works sometimes and not others could mean that there was a problem with the facebook server. Can you duplicate the problem from the same thread every time, or is it intermittent? If it's intermittent then it's most likely on the facebook side.

AzHousePro
03 Jul 2009, 00:59
Had a user call me today and ask for something like this.

Easy to install.

Mike

VonDoom
09 Jul 2009, 00:41
Good Stuff, Always looking for ways the members can help promote. Putting this in there face may work. *Installed*

donwon
14 Jul 2009, 02:34
I read and reread and tried to place the code, but I am showing nothing. I am not sure I am placing the code in the right place. Can you lead a poor site owner to the water? LOL! Thanks.

vivoperdio
17 Jul 2009, 00:22
I would like to ask, can I move the image "http://b.static.ak.fbcdn.net/images/share/facebook_share_icon.gif" to my own host ?

wptavern
17 Jul 2009, 08:19
Great job on putting this block of code together for easily sharing the content. I know VBulletin already has Digg and StumbleUpon built in but having Twitter as part of the services to share too is key these days. I'm using the drop down menu version and it works a treat.

KevinL
17 Jul 2009, 17:06
I read and reread and tried to place the code, but I am showing nothing. I am not sure I am placing the code in the right place. Can you lead a poor site owner to the water? LOL! Thanks.

Reverse the forumid's put what forums you DON'T want it to show in the ( ) and it will work. For some reason this is what I had to do. I put which forum ID's I wanted it to show in and it didn't show in any forums. So I took the ID's out and it showed just fine. So I reversed it ;)

bposner
22 Jul 2009, 14:52
Nice Mod, installed.

I would like to see something similar someday, but be able to do an inclusive array, not an exclusive one, meaning to be able to select JUST the forums we want this to display rather than entering all the forumids where you don't want it. However I appreciate the free code and will use it and thanks for all the time you put into it. Nice work.

Jerlene
31 Jul 2009, 09:03
FaceBook doesn't have the thread URL.

ericgtr
31 Jul 2009, 15:18
FaceBook doesn't have the thread URL.
I just double checked and it looks like their code is still working, you have to be logged into FB then it should pick up the URL and some of the post as well. What displays when you click on submit?

arbfuture
01 Aug 2009, 03:05
thxx

zombietom
01 Aug 2009, 17:49
Vey Nice --Thanks for this..it's great .. It just takes me some time because i have several forums i don't want to share..but i really like it and it seems to work good.

FreeResellers
08 Aug 2009, 10:09
Installed :D

Wilfred1
16 Aug 2009, 02:37
Is there any way in the twitter part to replace the http://bit.ly/*** with a "Click Here" text

Eruantien
21 Aug 2009, 14:01
[B]How can one add a topic to what is posted? like "#vb"

jlew24asu
30 Sep 2009, 13:47
perfect mod

CPOWA
15 Oct 2009, 17:13
[B]How can one add a topic to what is posted? like "#vb"

I just installed this mod and I'm wondering the same thing.

The only way I've been able to get a hash tag IE: #vb or #tcot into a tweet is to put it in the Thread/Post Title box. It makes the thread/post titles look weird and I'm not sure how that will affect vBSEO. I think I'm going to have to uninstall for now. Otherewise, this is a nice mod!

Joseph Witchard
17 Oct 2009, 05:51
Will this mod be updated for vBulletin 4? Also, is there supposed to be a line through the box next to the social buttons that says "View First Unread"? There's a line through it on mine.

dengbej
17 Oct 2009, 10:49
thanks. i installed

ericgtr
17 Oct 2009, 15:56
I just installed this mod and I'm wondering the same thing.

The only way I've been able to get a hash tag IE: #vb or #tcot into a tweet is to put it in the Thread/Post Title box. It makes the thread/post titles look weird and I'm not sure how that will affect vBSEO. I think I'm going to have to uninstall for now. Otherewise, this is a nice mod!
I think you are right, it would have to be added manually upon submission. All this really does is setup the post for the form on their end. However, it's easy enough to change it once it's in the form.

Will this mod be updated for vBulletin 4? Also, is there supposed to be a line through the box next to the social buttons that says "View First Unread"? There's a line through it on mine.
I have no idea how vB4 is setup but I'm sure this will be easy enough to add to it.

Joseph Witchard
18 Oct 2009, 00:40
I think you are right, it would have to be added manually upon submission. All this really does is setup the post for the form on their end. However, it's easy enough to change it once it's in the form.


I have no idea how vB4 is setup but I'm sure this will be easy enough to add to it.

But you are planning on keeping it going?

shinng
25 Oct 2009, 18:05
when submitting via 'tweet this', it is not automatically shortening the url. What is the code I need to add/change?

ericgtr
25 Oct 2009, 18:45
when submitting via 'tweet this', it is not automatically shortening the url. What is the code I need to add/change?
It does, it has to be submitted before you see the shortened URL.

mykkal
05 Nov 2009, 07:22
Hey guys i run a forum using VBSEO. The urls are longer than normal vbulletin links. and usually leave me with little room to add text to the tweet.

of course twitter shortens the url. is there any way to do this automatically before the tweet is constructed?
Click here actually visit the link and you can see for yourself (http://www.mymodeltalk.com/jobs/model-castings-acting-auditions-atlanta-metro-ga/376445-final-casting-2010-calendar-shoot.html) :)

An example of a normail url on MyModelTalk is below:
http://www.mymodeltalk.com/jobs/model-castings-acting-auditions-atlanta-metro-ga/376445-final-casting-2010-calendar-shoot.html

K3MPO
21 Nov 2009, 15:48
thank you!

fatdr
21 Nov 2009, 21:16
good work.
and also you must upload twitter.png to images folder to ftp ;)

UltraFanatics
22 Nov 2009, 12:44
Facebook modification works perfect!!

The only issue I have is that when you hover on the image it all goes completley blue, where in Main CSS do I change this? You can see it here for example when you attempt to click on it http://www.mytattooforum.com/tattoo-questions-experiences/22-best-time-getting-tattooed.html

ericgtr
22 Nov 2009, 14:18
Facebook modification works perfect!!

The only issue I have is that when you hover on the image it all goes completley blue, where in Main CSS do I change this? You can see it here for example when you attempt to click on it http://www.mytattooforum.com/tattoo-questions-experiences/22-best-time-getting-tattooed.html
That's the default behavior of the javascript from FB that causes that, I'm not sure if you can change it but have a look here for some options http://www.facebook.com/facebook-widgets/share.php

marshal_ramdev
04 Dec 2009, 03:26
thank you

jiffylb1
09 Dec 2009, 01:27
I have been looking for a way to do this awsome thanks a bunch worked great

jiffylb1
09 Dec 2009, 01:32
how can i add in a myspace to this also

havard20009
14 Dec 2009, 08:34
hi
thank you about your nice mod
i think some file missing
these files:
twitter_icon.gif
digg_icon.gif

KOM
21 Dec 2009, 18:14
Installed, Awesome job

MotMann
17 Jan 2010, 12:00
Wat i must do, that the URL to my vB is shorter, and the headline is larger from the Text?

ericgtr
17 Jan 2010, 13:43
Wat i must do, that the URL to my vB is shorter, and the headline is larger from the Text?
Twitter will automatically translate the URL and make it shorter.

MotMann
17 Jan 2010, 14:59
That is the Problem:

that's the Text: Ope... http://www.xboxgamertag.de/f149-cheats-tipps-tricks-achievements/11165-operation-flashpoint-dragon-rising-codes-zusatzmissionen.html

To long the url.

scott_gersforum
22 Jan 2010, 17:09
When I submit a thread to FaceBook it's not taking the threat title - just the forum URL so people dont know what the post is about.
Seems okay on Twitter but not FaceBook.
Can this be fixed?

naz7
04 Feb 2010, 07:27
This is good mod.

But i'm having 1 problem.

i created a facebook Page, when i clicked on share on facebook, the thread will be posted to my profile, NOT my page.

How can i direct the posting to my page?

benative
19 Feb 2010, 03:52
How can i have this one on VB 4.0.1? NOT DROP DOWN one! I want this! I love how people can find this buttons easily! please help!

MotMann
25 Feb 2010, 16:09
Whar i must do, that the Post on Facebook will be shorten and a Link goes to my Board?

Now, the complete Thread will be displayed on Facebook.. thats not good für google and co.

Need help :)

cbiweb
09 Mar 2010, 12:59
Very nice mod. I have one question though, coming from a user:

When I click "Tweet This" to tweet a thread it tweets a link to the last post in the thread. Is there any way to change this, so that it tweets the link to the first post in the thread?

Also is there a way to customize the buttons further? I know they work off scripts that are on the servers of each site, but are there any other options?

Thanks.

Joseph Witchard
14 Mar 2010, 19:01
Does this work for VB 3.8.5?

cbiweb
16 Mar 2010, 12:08
A user in one of my forums has the following request regarding the Tweet This button:
I think it would be good if you add URL shortener, because when someone tweets about the thread by clicking the buttons, then most of the part of the tweet is taken by the long URLs.Is it possible to implement this?

Is it possible for the coder of this mod to reply to our posts?

rsuplido
25 Mar 2010, 02:02
Thanks for this! Any way to add Google Buzz?

cbiweb
01 Apr 2010, 13:05
A user in one of my forums has the following request regarding the Tweet This button:
I think it would be good if you add URL shortener, because when someone tweets about the thread by clicking the buttons, then most of the part of the tweet is taken by the long URLs.Is it possible to implement this?

Is it possible for the coder of this mod to reply to our posts?

Still waiting for an answer.

ericgtr
01 Apr 2010, 14:15
Still waiting for an answer.
When you tweet, it automatically shortens the URL. It may not be outwardly obvious but after submission it defaults to their tinyurl (or whatever it is they use).

cbiweb
01 Apr 2010, 15:26
Thanks for the reply, eric. :) That's good that it does that after submissions, but if the user wants to add to the default tweet, the long URL takes away from the character limit. Is there a way around this, or possible to modify this mod to help with that issue?

ericgtr
01 Apr 2010, 15:37
Thanks for the reply, eric. :) That's good that it does that after submissions, but if the user wants to add to the default tweet, the long URL takes away from the character limit. Is there a way around this, or possible to modify this mod to help with that issue?
Ahh.. I see what you mean, talk about robbery! Since this is a basic template mod it's not possible, however a user can always go to http://tinyurl.com/ put in their long URL and let it shrink it down for them before they post, that would probably do the trick.

demonfatal
07 Apr 2010, 17:43
This will be usefull for the coder:

For shorten the URL:::

$tinylink=file_get_contents('http://tinyurl.com/api-create.php?url=http://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'].'');

<?php
$tinylink=file_get_contents('http://tinyurl.com/api-create.php?url=http://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'].'');
echo '<a href="http://twitter.com/home?status='.$tinylink.'>Tweet This!</a>';
?>

Please check the original link: (In french)
http://blog.infowebmaster.fr/wordpress/bouton-twitter-sur-blog-666.html

With this we will be able to share the full link...:p

Bojeunx
07 Apr 2010, 23:56
I saw that when you digg the thread the script says 1 dugg. Is it possible for to do the same thing for Facebook and Twitter. Like 3 twitts

weindians
08 Apr 2010, 20:26
u can use addthis code/ sharethis which gives a lot of socialbookmarking sites...

bluecuddle
17 Apr 2010, 18:36
Thank You it only took me a second to do!

bond010007
25 Apr 2010, 08:11
i love it so much thanks

asd_ra7la
30 Apr 2010, 06:22
i need it Automatic
رحلة (http://www.ra7la.com/)

Kirkus
05 Jun 2010, 06:04
Partially cranky post ahead...

ericgtr has written a nice little mod here (installed). It does exactly what it says it does, and it does it well.

It drives me crazy when people start asking for this addition or that change. "Can you make it do this? Can you make it do that?"

I'm not speaking for the author here. I'm speaking for myself. If you want a mod to do additional/different stuff, learn to write code yourself. Otherwise, just be happy with what others share with us... free of charge.

haytham
05 Jun 2010, 07:47
I just used the facebook part and it's working perfectly. Thank you. Installed.

Blackheart_72
19 Sep 2010, 20:06
When I submit a thread to FaceBook it's not taking the threat title - just the forum URL so people dont know what the post is about.
Seems okay on Twitter but not FaceBook.
Can this be fixed?

Same problem, although i am only using facebook.

onealien
22 Sep 2010, 15:24
installed facebook part....

works great...thanks!

A.Chakery
24 Sep 2010, 04:39
First thanks for this great mod. (installed)

I have problem with twitter and vbseo.
when I click on share on twitter it redirects me to my forum home.

twitter url is like this in my forum :

http://www.forum-name.com/http://twitter.com/home?status=The%20Apprentice%20-%20S10E02%20-%20AIO%20Boards%20-%20All%20in%20One%20Forums%20http%3A%2F%2Fwww.aioboards.com%2Ff198%2Fapprentice-s10e02-244198%2F

please help

cbiweb
15 Oct 2010, 19:30
Does anyone know what causes the Digg button to be skewed in Firefox, as seen in this screenshot (http://prntscr.com/131mr), and how to fix it?

cbiweb
18 Oct 2010, 12:05
bump :)

edie
06 May 2011, 20:31
Does this apply to adding a Twitter button to blog and article posts (like Facebook currently)
Is this for the latest VBulletin 4?

Thank you.
- Edith Williams

pewa
21 Jul 2011, 01:18
I really like this mod and currently using it for Facebook sharing.

Sometimes when you try to share a forum thread, and you for example clicked "show last post in thread", the Facebook link looks odd.

Example good link: http://www.url.com/forum/showthread.php?p=54575
Example bad link: http://www.url.com/forum/showthread.php?p=54575#post54575

Is there a way to get the mod to only take the basic url, and not the last part (#post54575)

Thanks!

pewa
01 Sep 2011, 22:31
Bump..

viper357
01 Oct 2011, 08:31
Anybody know how to add google+1 to this mod? Thanks.