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
Add Facebook to Social Bookmarks Details »»
Add Facebook to Social Bookmarks
Version: 1.00, by Cloud_Strife Cloud_Strife is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.x Rating:
Released: 07-11-2009 Last Update: Never Installs: 106
Re-useable Code Code Changes Additional Files Translations  
No support by the author.

Hello. This is my first official template modification release.

What is it?
This template modification will allow you to add Facebook to your site Social Bookmarks. This will help your users to publish threads to Facebook and expand your forums to Facebook Users.

Installation Time?
~ Approximately 2 Minutes

Installation Wizard:
Step 1:
Go to Styles & Templates -> Style Manager ->Edit Templates -> Show Thread Templates -> showthread_bookmarksite

Replace the existing content with:
Code:
<li class="smallfont" style="width:20%; min-width:160px; float:$stylevar[left]; margin-top:$stylevar[cellpadding]px">
    <if condition="$bookmarksite['iconpath']">
        <a href="$bookmarksite[link]" target="socialbookmark"><img src="$stylevar[imgdir_misc]/$bookmarksite[iconpath]" border="0" alt="<phrase 1="$bookmarksite[title]">$vbphrase[submit_thread_to_x]</phrase>" class="inlineimg" /></a>
    </if>
    <a href="$bookmarksite[link]" target="socialbookmark" style="text-decoration:none">$bookmarksite[title]</a>
</li>
(In red color the modification)

Step 2:
Go to vBulletin Options -> Social Bookmarking Manager -> Add New Social Bookmarking Site
Title: Facebook
Icon: bookmarksite_facebook.gif
Link: http://www.facebook.com/sharer.php?u={URL}&amp;title={TITLE}
Display Order: The Number You Want
Active: Yes (To have this enabled)

Step 3:

Upload icon (Icon in attachment):
If you use vBulletin default Style -> Upload it to: images/misc
If you use non-vBulletin default Style -> Upload it to: template_root/misc

It's Done! You can share your threads through Facebook with million of online people.
Thank you.

Screenshots

File Type: jpg Untitled-1.jpg (11.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
andro140

Comments
  #12  
Old 08-16-2009, 01:45 PM
Mobi4all Mobi4all is offline
 
Join Date: Aug 2009
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice sharing
Reply With Quote
  #13  
Old 08-16-2009, 03:42 PM
Radjedef Radjedef is offline
 
Join Date: Apr 2009
Location: Switzerland
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx! great mod
Reply With Quote
  #14  
Old 08-18-2009, 04:31 AM
J105C J105C is offline
 
Join Date: Mar 2008
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much good sir!
Reply With Quote
  #15  
Old 08-19-2009, 02:48 PM
Verionia Verionia is offline
 
Join Date: Jul 2009
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Love it <3 3.84!

Is there any one for twitter - Tweet This Post - in the bookmark section?
Reply With Quote
  #16  
Old 08-19-2009, 05:22 PM
dovii dovii is offline
 
Join Date: Apr 2009
Location: Cape Fear NC
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

SWEET! Thanks!
Reply With Quote
  #17  
Old 08-21-2009, 11:02 AM
coffee's Avatar
coffee coffee is offline
 
Join Date: Oct 2002
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much
Reply With Quote
  #18  
Old 08-21-2009, 06:25 PM
MadtownHDJunkie MadtownHDJunkie is offline
 
Join Date: Feb 2009
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed ....Thanks!
Reply With Quote
  #19  
Old 08-27-2009, 01:18 AM
coffee's Avatar
coffee coffee is offline
 
Join Date: Oct 2002
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Verionia View Post
Is there any one for twitter - Tweet This Post - in the bookmark section?
Title: Twitter
Icon: bookmarksite_twitter.gif (Place attachment in images/misc)
Link: http://twitter.com/home?status={TITLE}+{URL}
Order: 5 (Any order)
Active: Yes
Reply With Quote
  #20  
Old 08-28-2009, 12:49 AM
zishan876 zishan876 is offline
 
Join Date: Aug 2009
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome Mod.. Thank you
http://mmaxtra.com/forum/
Reply With Quote
  #21  
Old 09-27-2009, 05:48 AM
the_ace the_ace is offline
 
Join Date: Jul 2007
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by coffee View Post
Title: Twitter
Icon: bookmarksite_twitter.gif (Place attachment in images/misc)
Link: http://twitter.com/home?status={TITLE}+{URL}
Order: 5 (Any order)
Active: Yes
Thanks for this.
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 02:56 AM.


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.04843 seconds
  • Memory Usage 2,331KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete