vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Show Thread Enhancements - Add Facebook to Social Bookmarks (https://vborg.vbsupport.ru/showthread.php?t=218424)

Cloud_Strife 07-11-2009 10:00 PM

Add Facebook to Social Bookmarks
 
1 Attachment(s)
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.

abdulbasitsaeed 07-12-2009 11:59 AM

Thank you VERY MUCH for this simple modification.

It worked like a charm! (v 3.8.3). :)

bigtime 07-13-2009 03:16 AM

Great. Thank you.

bmckinley 07-17-2009 03:40 AM

Thanks.

stickyslicks 07-18-2009 02:49 PM

Thank you, this is very nice!

Cloud_Strife 07-31-2009 10:52 PM

Thank you! It's easy and very useful!

SpottySocks 08-04-2009 10:23 PM

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

Nevermind, got it. =)

Saint_I_Am 08-05-2009 01:27 PM

What is the difference between this one and this one --> https://vborg.vbsupport.ru/showthread.php?t=206189

Blacura 08-06-2009 08:44 PM

Where are the icons for this ad-on??????

yamahapaul 08-16-2009 12:14 PM

The icon doesn't show, I'm on 3.8.4, maybe this is the reason?

Mobi4all 08-16-2009 01:45 PM

nice sharing

Radjedef 08-16-2009 03:42 PM

thx! great mod :)

J105C 08-18-2009 04:31 AM

Thank you very much good sir!

Verionia 08-19-2009 02:48 PM

Love it <3 3.84!

Is there any one for twitter - Tweet This Post - in the bookmark section?

dovii 08-19-2009 05:22 PM

SWEET! Thanks!

coffee 08-21-2009 11:02 AM

Thank you very much

MadtownHDJunkie 08-21-2009 06:25 PM

installed ....Thanks!

coffee 08-27-2009 01:18 AM

1 Attachment(s)
Quote:

Originally Posted by Verionia (Post 1870490)
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

zishan876 08-28-2009 12:49 AM

awesome Mod.. Thank you
http://mmaxtra.com/forum/

the_ace 09-27-2009 05:48 AM

Quote:

Originally Posted by coffee (Post 1875112)
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.

the_ace 09-27-2009 05:49 AM

The bookmark works on vb 3.8.3 even without editing the templates as shown in step 1

ndut 09-28-2009 12:46 AM

bookmarks didn't show in our forum?? why?

HondaStreetCult 10-21-2009 01:39 AM

where is the FACEBOOK icon? i dont get the upload part.. i am new at this :(

lele816 10-27-2009 12:18 PM

I have a problem. I followed the instructions but when I click on the button facebook Share disagrees and remains locked page

edit: resolved

PAUL SMITH 10-28-2009 11:16 AM

great mod
thanks

marshal_ramdev 12-13-2009 06:25 AM

thanks

yamahapaul 12-14-2009 10:30 AM

I sussed it eventually lol

Quote:

Originally Posted by coffee (Post 1875112)
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

This is a great addition, coffee thanks :up:

beddoe 09-12-2010 02:54 AM

Thanks a ton.

haytham 10-02-2010 11:02 AM

Thanks a lot for facebook and coffee for twitter.

Zacqeron 11-04-2010 01:27 AM

thanks

yamahapaul 12-07-2010 09:01 AM

Is there a way of modifying this so it is posted to a facebook page instead of your own profiles wall??

my123world 01-01-2011 04:58 AM

Very Nice and Small Work Mate... Keep More Coming!

Jay106n 01-22-2011 07:20 AM

Where is the attachment for the icon?

yamahapaul 01-22-2011 08:09 PM

Quote:

Originally Posted by Jay106n (Post 2152756)
Where is the attachment for the icon?


next to the screenshot..

dr-horrible 02-18-2011 03:31 PM

Works well!

amine13420 11-07-2011 03:51 PM

The link for tweeter don't work : http://twitter.com/home?status={TITLE}+{URL}

Exist another link ?

angeljs 07-13-2012 07:04 PM

This works great for vb4...just miss out the template modification and follow the steps below that. :)

www.nofal 09-21-2012 08:58 AM

Good Work

al2thero 12-02-2012 01:09 AM

Great. Thank you.

rockerzteam 08-11-2017 03:29 AM

I can't get anything to work with bookmarks. And i see there is a lot of threads about bookmarks not showing up..... Enabled and still nothing.


All times are GMT. The time now is 05:52 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01265 seconds
  • Memory Usage 1,779KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete