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 04-21-2012 02:08 PM

It was a lot of trial and error, I don't remember the exact changes- I know I had to edit the whole row, not just the one box-

Here is code from my current SHOWTHREAD template from juot.net- feel free to try it:

Code:

<!-- toolbar -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
        <td class="tcat" width="185">
                <div class="smallfont">
                <if condition="$show['firstunreadlink']">
                        <a href="$firstunread"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[view_first_unread]" border="0" /></a>
                        <a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
                </if>
                &nbsp;
                </div>
        <img src="clear.gif" width="185" height="1" border="0" />
        </td>
        <td class="alt1" width="100%" align="right" padding="0" style="padding-top:0px; padding-bottom:0px; padding-right:0px; background: #869BBF url(/forums/images/gradients/gradient_tcat.gif) repeat-x top left;">
        $more_share_options
        </td>
        <td class="vbmenu_control" id="threadtools" nowrap="nowrap">
                <a href="$show[nojs_link]#goto_threadtools"<if condition="is_browser('ie')"> accesskey="3"</if>>$vbphrase[thread_tools]</a>
                <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadtools"); </script></if>
        </td>
        <if condition="$show['search']">
                <td class="vbmenu_control" id="threadsearch" nowrap="nowrap">
                        <a href="$show[nojs_link]#goto_threadsearch">$vbphrase[search_this_thread]</a>
                        <if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadsearch"); </script></if>


busybeeburns 04-21-2012 03:32 PM

thanks :)

I had a quick play around and decided on the row below. I'm using Facebook Connect plugin which is causing some errors to the FB like app as per the previous posts. Is there a work around for the 3.8.x version?

BirdOPrey5 04-21-2012 05:11 PM

I've never used Facebook connect for VB 3.x- is there a specific error being returned? Can you check for a javascript error in your browser? (In Chrome right click-> View Element then click on the "Console" tab to see Javascript errors) - not sure how to do it in other browsers but I know there is a way.

B@Zzz... 04-24-2012 04:42 PM

Hello, just activated this mod and my users are happy! :)

Only one question, it doesn't show up on the vBadvancedCMPS-portal (v3.2.1)? Do I have to make any other changes? (vBulletin v3.8.1)

BirdOPrey5 04-24-2012 07:33 PM

Sorry I don't have any experience trying to get this to work on VBA CMPS.

For my own site I just put the HTML Facebook (and the other sites) give me directly into a module and use them that way.

B@Zzz... 04-25-2012 04:30 AM

Thanks for you fast reply!
You have an example of the HTML-code you used on your website?

BirdOPrey5 04-26-2012 11:18 AM

When I went to check I see I actually removed them from that page for some reason and didn't keep a copy...

For the facebook code just go here:
https://developers.facebook.com/docs.../plugins/like/

fill out the boxes and facebook will give you the code.

ChiNa 07-18-2012 12:56 PM

HI every one, I have a message to to you guys and to BOB...
I am using ur mods on my template, and all of them are clean with no errors!
I am very honored to see someone making such an incredible mod for vbulletin, there is no mod like this for vbulletin, and especially your private_policy addon, so simple and yet so easy and clean..

Thanks for your hard work for us vBulletin users, you make this worth more..
by China-Man

BirdOPrey5 07-18-2012 06:11 PM

If you are using this mod please click on "Mark as Installed" in the top-right of the first post.

pedrovazquez10 09-09-2012 04:23 PM

My forum is in spanish how can i translate the boton like and send to spanish? thanks

ok i replace en_US with es_ES thanks


All times are GMT. The time now is 11:28 AM.

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.01160 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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