Back to vBulletin 3.8 Template Modifications

Submission buttons ( Facebook, Twitter, Digg, Addthisto, Ect )
Mod Version: 1.00, by Q-v-n-s-Q

vB Version: 3.8.4 Rating: (1 vote - 5.00 average) Installs: 9
Released: 16 Oct 2009 Last Update: Never Downloads: 103
Not Supported Template Edits  

Update* Facebook and Twitter Added*

Display social bookmark buttons anywhere you want or:

Template: SHOWTHREAD Find:

Code:
 
<if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if> 
</tr> 
</table> 
<!-- / controls above postbits -->


Under that paste the following code:

Code:
 
<!-- submission icons -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">  
<tr> 
    <td class="thead" width="100%"> 
        <center> Submit Thread >&nbsp; 
<!-- Facebook Share -->
<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=<url>" onclick="return fbs_click()" target="_blank"><img src="http://b.static.ak.fbcdn.net/rsrc.php/zAB5S/hash/4273uaqa.gif" alt="" /></a>
<!-- Twitter Share -->
<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="$stylevar[imgdir_button]/tweet-this-small.png"  border="0" alt="Tweet This!" /'+'><'+'/a>');
</script>
<!-- Addthisto --> 
<a href="javascript:q=(document.location.href);void(open('http://www.addthisto.com/submit.php?url='+escape(q),'','resizable,location,menubar,toolbar,scrollbars,status'));">
<img class="inlineimg"src="$stylevar[imgdir_button]/addthisto.gif" alt="Submit to AddThisTo" border="0" /></a>
<!-- Clesto --> 
<!-- <a href="http://clesto.com/submit.php?phase=2&url=$vboptions[bburl]/showthread.php?t=$threadid" target="_blank"><img class="inlineimg"   
src="$stylevar[imgdir_button]/clesto.gif" alt="Submit to Clesto" border="0" /></a> -->
<!-- Digg --> 
<a href="http://digg.com/submit?phase=2&url=$vboptions[bburl]/showthread.php?t=$threadid&title=Ex-Cargo Cultist Builder required" target="_blank"><img  
class="inlineimg"  src="$stylevar[imgdir_button]/digg.gif" alt="Submit to Digg" border="0" /></a> 
<!-- Reddit --> 
<a href="http://reddit.com/submit?url=$vboptions[bburl]/showthread.php?t=$threadid" target="_blank"><img class="inlineimg"   
src="$stylevar[imgdir_button]/reddit.gif" alt="Submit to Reddit" border="0" /></a> 
<!-- Furl --> 
<a href="http://www.furl.net/storeIt.jsp?u=$vboptions[bburl]/showthread.php?t=$threadid" target="_blank"><img class="inlineimg"   
src="$stylevar[imgdir_button]/furl.gif" alt="Submit to Furl" border="0" /></a> 
<!-- Dec icio us --> 
<a href="http://del.icio.us/post?url=$vboptions[bburl]/showthread.php?t=$threadid" target="_blank"><img class="inlineimg"   
src="$stylevar[imgdir_button]/delicious.gif" alt="Submit to Del.icio.us" border="0" /></a> 
<!-- Google --> 
<a href="http://www.google.com/bookmarks/mark?op=edit&bkmk=$vboptions[bburl]/showthread.php?t=$threadid" target="_blank"><img class="inlineimg"   
src="$stylevar[imgdir_button]/google.gif" alt="Submit to Google" border="0" /></a> 
<!-- Yahoo This --> 
<a href="http://myweb2.search.yahoo.com/myresults/bookmarklet?title=$vboptions[bburl]/showthread.php?t=$threadid" target="_blank"><img class="inlineimg"   
src="$stylevar[imgdir_button]/yahoo.gif" alt="Submit to Yahoo! This" border="0" /></a> 
<!-- Live Favorites --> 
<!-- <a href="https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url=$vboptions[bburl]/showthread.php?t=$threadid" target="_blank"><img class="inlineimg"   
src="$stylevar[imgdir_button]/live.gif" alt="Submit to Live Favorites" border="0" /></a> -->
<!-- Technorati --> 
<a href="http://www.technorati.com/faves?add=$vboptions[bburl]/showthread.php?t=$threadid" target="_blank"><img class="inlineimg"   
src="$stylevar[imgdir_button]/technorati.gif" alt="Submit to Technorati" border="0" /></a> 
<!-- StumbleUpon --> 
<a href="http://www.stumbleupon.com/submit?url=$vboptions[bburl]/showthread.php?t=$threadid" target="_blank"><img class="inlineimg"   
src="$stylevar[imgdir_button]/stumbleupon.gif" alt="Submit to StumbleUpon" border="0" /></a> 
<!-- Spurl --> 
<a href="http://www.spurl.net/spurl.php?url=$vboptions[bburl]/showthread.php?t=$threadid" target="_blank"><img class="inlineimg"   
src="$stylevar[imgdir_button]/spurl.gif" alt="Submit to Spurl" border="0" /></a>
 &nbsp;< Submit Thread
</center></td> 
  </tr> 
</table>
<!-- submission icons -->
* Update with less code and faster page load.

Simple just add:

Code:
<a href="http://r6k.net/">Social Bookmark!</a>

Or pop up + buttons ( Black )


Code:
<A HREF="javascript:void(0)"
ONCLICK="open('http://r6k.net/', 'miniwin', 'toolbar=0, location=0, directories=0, status=0, menubar=0, scrollbars=0, resizable=0, width=200, height=300')"><img src="attach/images/misc/stub.png"></A>
Pop up + Buttons ( White )


Code:
<A HREF="javascript:void(0)"
ONCLICK="open('http://r6k.net/', 'miniwin', 'toolbar=0, location=0, directories=0, status=0, menubar=0, scrollbars=0, resizable=0, width=200, height=300')"><img src="http://r6k.net/images/Socialw.jpg"></A>

Download

File Type: %1$s buttons.zip (18.3 KB, 117 downloads)

Screenshots

Click image for larger version
Name:	Capture.JPG
Views:	850
Size:	12.6 KB
ID:	105401  

Similar Mods

End-User Options Submit to Twitter, Facebook and Digg vBulletin 3.8 Template Modifications
Submission buttons. eg Clesto, Digg, Del icio us. vBulletin 3.6 Template Modifications
Show Thread Enhancements Submission buttons Addthisto Clesto Digg More. vBulletin 3.6 Template Modifications

vblts.ru supports vBulletin®, 2022-2024