PDA

View Full Version : Show Thread Enhancements - Google Buzz, Facebook Share, Twitter On Thread


Last_Zero
02-16-2011, 10:00 PM
This Edit Took Times From Me So Plz Click Install If You Use It

First Thing Is Example

https://vborg.vbsupport.ru/attachment.php?attachmentid=126750&stc=1&d=1297913846

Demo : http://www.almsmk.com/threads/50564

Tested On : Firefox, Chrome, Safari, IE

How To Install

Open Template (( Postbit_Legacy ))

Search For

{vb:raw ad_location.thread_first_post_content}

Add Below It

<vb:if condition="THIS_SCRIPT == 'showthread'">

<div style="float: right; padding: 0px 0px 0px 0px;">
<div class="share-button buzz">
<a title="Post to Google Buzz" class="google-buzz-button" href="http://www.google.com/buzz/post" data-button-style="normal-count" data-locale="en"></a>
<script type="text/javascript" src="http://www.google.com/buzz/api/button.js"></script>
</div></div>
<div style="float: right; padding: 3px 8px 0px 0px;">
<a href="http://twitter.com/share" class="twitter-share-button" data-count="vertical" data-via="YOUR TWITTER USERNAME" data-url="{vb:raw vboptions.bburl}/showthread.php?t={vb:raw threadid}" data-counturl="{vb:raw vboptions.bburl}/showthread.php?t={vb:raw threadid}">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>
<div style="float: right; padding: 3px 8px 0px 0px;">
<div class="share-button fbit">
<a name="fb_share" type="box_count" href="http://www.facebook.com/sharer.php?u=http://YOUR SITE URL/{vb:link thread, {vb:raw thread}">Share</a>
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
</div>
<br/></div>

</vb:if>

Change Your Twitter Username To Your Username

Change Your Site Url To Your Forum Url

Now Lets Make Threads Look Better Coz It Will Wrap The Threads Content

Search For

{vb:raw post.message}

Add Before It

<br/>
<br/>
<br/>
<br/>
<br/>
<br/>

Add More Breaklines Or Delete To Make It Fit To Threads

If Anything Goes Wrong Plz Ask me I Can Fix It

Last_Zero
02-17-2011, 11:15 AM
We Can Fix Any Problem Together To make The Final Code For Our Forums

amirsyria
02-17-2011, 05:30 PM
اضافة حلوة كتير

بس شغالة على النسخة 4.1.2 ؟

جاري التجربة

يسلمووو أخي

Last_Zero
02-17-2011, 06:44 PM
اضافة حلوة كتير

بس شغالة على النسخة 4.1.2 ؟

جاري التجربة

يسلمووو أخي


I Think It Will Work Coz Its Only Template Edit

XiTCLUB
02-18-2011, 05:13 PM
Thanks Man!! good work

OldSchoolDSL
02-18-2011, 10:13 PM
Is there away to make the buzz icon smaller?
Is there away to add only the buzz icon?

(I already have Facebook & Twitter)

Merenguista
02-19-2011, 07:34 AM
شكرا أخي ..

Last_Zero
02-19-2011, 02:12 PM
Is there away to make the buzz icon smaller?
Is there away to add only the buzz icon?

(I already have Facebook & Twitter)

This Link Will Help You

http://code.google.com/apis/buzz/buttons_and_gadgets.html

lazydesis
02-20-2011, 03:53 AM
You don't really need the if condition for showthread because I believe postbit_legacy is only available on showthread

Last_Zero
02-22-2011, 02:36 AM
You don't really need the if condition for showthread because I believe postbit_legacy is only available on showthread

Yeah You Are Right :) Thanks

CrossWind
03-24-2011, 09:32 AM
Thanks good work ;

x YNWA x
04-15-2011, 02:36 PM
For me, the counters just stay at zero. Any idea why?

x YNWA x
04-15-2011, 03:00 PM
Good mod but I cant use it until the tweet counters and the like / share counters work.

thephoneclub
04-19-2011, 05:20 PM
thank you! i installed but if facebook counter=0, counter dont show zero.

https://vborg.vbsupport.ru/external/2011/04/18.png

And when you click and add the counter, if you reload the page back out hidden

thephoneclub
04-20-2011, 12:20 PM
another problem, When I try to share on Twitter, the URL does not work out

Vas a compartir http://www.xxxxxxxxxxx.net/showthread.php?t=

azzam.h
08-06-2011, 09:56 PM
thinx شكرا لك

CouponWCents
08-13-2011, 04:27 PM
Do you know how to get the tread description to come up on Facebook and not just the site name?

motorola
08-13-2011, 09:29 PM
Do you know how to get the tread description to come up on Facebook and not just the site name?

Maybe this (https://vborg.vbsupport.ru/showthread.php?t=266745) will help you ...

ptceuro
04-01-2012, 09:42 PM
very nice, thx you, I use it on my one vB forum

Budget101
07-09-2013, 01:04 PM
Google Buzz doesn't exist any longer:

https://support.google.com/mail/answer/1698228?hl=en