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
  #2  
Old 07-12-2009, 11:59 AM
abdulbasitsaeed's Avatar
abdulbasitsaeed abdulbasitsaeed is offline
 
Join Date: Mar 2009
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you VERY MUCH for this simple modification.

It worked like a charm! (v 3.8.3).
Reply With Quote
  #3  
Old 07-13-2009, 03:16 AM
bigtime bigtime is offline
 
Join Date: Jun 2002
Location: Houston, Texas
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great. Thank you.
Reply With Quote
  #4  
Old 07-17-2009, 03:40 AM
bmckinley's Avatar
bmckinley bmckinley is offline
 
Join Date: Jun 2009
Location: Texas
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks.
Reply With Quote
  #5  
Old 07-18-2009, 02:49 PM
stickyslicks stickyslicks is offline
 
Join Date: Jul 2009
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, this is very nice!
Reply With Quote
  #6  
Old 07-31-2009, 10:52 PM
Cloud_Strife Cloud_Strife is offline
 
Join Date: Nov 2008
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you! It's easy and very useful!
Reply With Quote
  #7  
Old 08-04-2009, 10:23 PM
SpottySocks SpottySocks is offline
 
Join Date: Jun 2008
Location: UK
Posts: 127
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod, would love to use it but where's the icon? =/

Nevermind, got it. =)
Reply With Quote
  #8  
Old 08-05-2009, 01:27 PM
Saint_I_Am Saint_I_Am is offline
 
Join Date: Aug 2008
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is the difference between this one and this one --> https://vborg.vbsupport.ru/showthread.php?t=206189
Reply With Quote
  #9  
Old 08-06-2009, 08:44 PM
Blacura Blacura is offline
 
Join Date: Aug 2007
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where are the icons for this ad-on??????
Reply With Quote
  #10  
Old 08-16-2009, 12:14 PM
yamahapaul's Avatar
yamahapaul yamahapaul is offline
 
Join Date: Aug 2008
Location: UK
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The icon doesn't show, I'm on 3.8.4, maybe this is the reason?
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 03:14 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.04688 seconds
  • Memory Usage 2,310KB
  • Queries Executed 24 (?)
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
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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