vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Share Buttons Bar by BOP5 (Facebook Like, Twitter, Google+1, and more share options) (https://vborg.vbsupport.ru/showthread.php?t=268967)

BirdOPrey5 08-22-2011 10:00 PM

Share Buttons Bar by BOP5 (Facebook Like, Twitter, Google+1, and more share options)
 
1 Attachment(s)
This is the VB 3.8 version of my very popular "More Share Options" for VB4.

Since VB4 already had Facebook built in the mod was called "More Share Options." But since VB 3.8 (and earlier) do not have any share options built in the mod is called "Share Buttons Bar." but they do very much the same thing.

This mod will automatically add a bar to your navbar with many popular dedicated share buttons available including:
  • Facebook (Like/Recommend/Send)
  • Twitter Tweet
  • Digg
  • Google +1
  • Linked In
  • Stumble Upon
  • Add This (which contains hundreds of more sites!)

There are no other mods available on vBulletin.org with as many share options, nor a simple install-able product with no manual edits needed in most cases.

In the event you want to make manual template edits instructions are included on how to do so.

I am using this mod on my forum, http://www.juot.net/forums/ but only in threads and I have manually included it in my SHOWTHREAD template only. For a better idea of what this mod really looks like see the screenshot.

This mod will allow you to share any page of your forum including forumhome, forumdisplay, threads, social groups, calendars, albums, pictures, arcade games, blogs- any page that has the navbar on it can be shared. In this respect it is actually far more useful than my 4.x version.

All Share Buttons are set to load JavaScript Asynchronously so it will never slow down a page load!

https://vborg.vbsupport.ru/external/2011/08/1.gif

------------------------------------------------------

Please "Mark as Installed" if you use this. :)
Donations always appreciated. :up:
Nominate MOTM if you LOVE it! ;)

BirdOPrey5 08-23-2011 01:00 AM

Reserved.

EddyMaxx 08-23-2011 02:55 PM

Joe,

Where can I add a <center> </center> tag? I'm only using a few and would look better if I had those particular ones centered.

Thanks.

BirdOPrey5 08-23-2011 03:08 PM

In the template more_share_options

Directly under the line: (near the top)
Code:

<td class="alt1" width="100%">
Add the line:
Code:

<div align="center">
Then near the bottom directly above the line
Code:

</td></tr></table>
add the line:
Code:

</div>
and Please Mark as Installed if you do use this.

Max Taxable 08-23-2011 03:55 PM

Installed.

Morrus 08-23-2011 04:10 PM

One issue I often have with these types of mods - especially with vBSEO or something running, is that Twitter shares usually have URLs too long to be much use on Twitter with its 140 character limit. You often get a few characters of the thread title and then a long URL, when what you need is the full thread title and a short URL.

Does or can this mod incorporate URL shortening such as bit.ly or similar?

BirdOPrey5 08-23-2011 04:29 PM

Quote:

Originally Posted by Morrus (Post 2237060)
One issue I often have with these types of mods - especially with vBSEO or something running, is that Twitter shares usually have URLs too long to be much use on Twitter with its 140 character limit. You often get a few characters of the thread title and then a long URL, when what you need is the full thread title and a short URL.

Does or can this mod incorporate URL shortening such as bit.ly or similar?

Twitter will auto shorten any URL... once you tweet it you will see the URL is really a "short URL."

Morrus 08-23-2011 05:06 PM

1 Attachment(s)
Quote:

Originally Posted by BirdOPrey5 (Post 2237078)
Twitter will auto shorten any URL... once you tweet it you will see the URL is really a "short URL."

Not quite. Twitter does shorten the URL, but only AFTER it's composed the tweet.

See the following image - this is from the current Tweet mod we have installed after it's gone through to Twitter. As you can see, the thread title is cut off and a long URL is shown. Twitter shortens the URL after this, not before.


So you do end up with a shortened URL, but you still have a cut-off thread title, resulting in this:


Therefore, URL shortening would need to take place BEFORE the info is sent to Twitter.

Mishima 08-24-2011 10:25 AM

Installed. But not working :(

Do I have to update any counters in "Maintenance"?

Under vBulletin Options I have enabled the Mod and various Social sites but nothing is appearing. Any ideas?

BirdOPrey5 08-24-2011 10:34 AM

Quote:

Originally Posted by Mishima (Post 2237363)
Installed. But not working :(

Do I have to update any counters in "Maintenance"?

Under vBulletin Options I have enabled the Mod and various Social sites but nothing is appearing. Any ideas?

If you have a customized style the auto-template edit might not work. Check your navbar template.

The mod looks for this exact line of code:
Code:

<!-- / nav buttons bar -->
If it's not there the auto-template edit will fail. In that case you should manually add the code:
Code:

$more_share_options
to your navbar template anywhere you want the button bar to show.

Then in the mod options you can turn off the option for the auto-template edit since it's not needed.


All times are GMT. The time now is 09: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.01144 seconds
  • Memory Usage 1,748KB
  • 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
  • (6)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete