Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Submission buttons ( Facebook, Twitter, Digg, Addthisto, Ect ) Details »»
Submission buttons ( Facebook, Twitter, Digg, Addthisto, Ect )
Version: 1.00, by Q-v-n-s-Q Q-v-n-s-Q is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.4 Rating:
Released: 10-15-2009 Last Update: Never Installs: 9
Template Edits
 
No support by the author.

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="http://r6k.net/images/socialb.jpg"></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 Now

File Type: zip buttons.zip (18.3 KB, 115 views)

Screenshots

File Type: jpg Capture.JPG (12.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 12-02-2012, 01:03 AM
al2thero al2thero is offline
 
Join Date: Aug 2008
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:33 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03779 seconds
  • Memory Usage 2,232KB
  • Queries Executed 18 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (1)postbit
  • (2)postbit_attachment
  • (2)postbit_onlinestatus
  • (2)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete