Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
More Share Options TNG by BOP5 (Facebook, Twitter, Google +1, AddThis) Share Buttons Details »»
More Share Options TNG by BOP5 (Facebook, Twitter, Google +1, AddThis) Share Buttons
Version: 3.2, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 07-01-2011 Last Update: 07-07-2012 Installs: 800
Supported Uses Plugins Auto-Templates
Translations  

Brought to you by BirdOPrey5
www.Qapla.com


Current Version: 3.2

More Share Options The Next Generation (v 3.0) is a complete rewrite of my "More Share Options" mod. If you are looking for the old version I am keeping it attached (More Share Options for VB4 by BOP5v261.zip) but it will no longer be updated or supported.

The purpose of the mod is to add additional share "buttons" (Besides Facebook Like) to vBulletin.

Demo: Practically every page of Qapla.com has the "Gold" version enabled.

There is GOLD Version with additional features available at:
http://www.qapla.com/mods/showthread...4-by-BOP5-GOLD

The FREE Version allows sharing to the following sites:
  • Facebook (Like OR Recommend with Send Button Option, and with old style "Share" option, Dark Option, Show Faces Option)
  • Twitter (Specify "Via" Username, Related Account, default hash tags, and language- With or without counts)
  • Google +1 (With or without count, option to use built in Facebook language or specify custom language)
  • Add This (Option to input publisher ID for analytics tracking, enable/disable printing, disable duplicate sites option)

The FREE Version also has the following Style Vars for basic styling:
  • Height of Share Bar (in Pixels)
  • Padding
  • Margins

The GOLD Version has all of the above PLUS the following additional share options:
  • Pinterest (With or without count, option to specify pinned image, better Pin It sharing button in Beta available for testing)
  • Digg (With count or icon only)
  • Linked In (With or without count)
  • StumbleUpon (Several options with/without counts)
  • Reddit (Several options with/without "points")
  • Custom Buttons (Add as many additional custom buttons as you want!)

The GOLD Version also has additional Style Vars for complete control of Share Bar Styling:
  • Background
  • Border

(Both FREE and GOLD can be completely customized by CSS as well if you prefer not to use Style Vars.)

Some of the major differences between More Share Options TNG and the Original Version:
  • Share Buttons now show on ALL pages, including pages by 3rd party applications like Arcades and Media Galleries.
  • Twitter Count Now WORKS
  • Table-less design (All formatting done via CSS/Style Vars)
  • Additional built-in Facebook and Twitter options
  • New options to disable by Usergroup and/or THIS_SCRIPT value (as well as by Forum and by Style)
  • Pinterest Now Integrated (Gold version only)


As with the prior version, fast loading Asynchronous JavaScript is used everywhere possible.

IMPORTANT UPGRADE NOTICE!

If you are "upgrading" from an old version (any version less than 3.0) be aware this version (TNG) has been coded as a completely new and separate mod. It will NOT upgrade an old version.

I suggest if you run an old version of "More Share Options" you disable it via Product Manager in Admin CP.

Install and configure this new mod and make sure it works and you like it.

If you do like it then you can uninstall the old mod from Product Manager.

IMPORTANT - Some users have reported the new mod will not run until the old mod is uninstalled. If you have installed 3.0 and it is not running, please try uninstalling the old mod first.

VBSEO Compatibility:

UPDATE: It has been reported working with VBSEO!

Basically I have no idea how compatible this may be with VBSEO as I don't have access to a VBSEO enabled forum. If you use VBSEO be sure it works as designed (you can share pages.)

Test share 3 pages: The Forum Home, a Thread (showthread), and a Forum (forumdisplay) - if all 3 shares work I am confident the mod will work completely for you. I suggest you use Twitter or Facebook for your testing.

If you do run into VBSEO issues please post here and I will do my best to fix.

General Compatibility:
This has been tested as far back a VB 4.0.8 and as recent as VB 4.2.0. It is expected to work on all VB 4.x.x versions however if you have a very old version of VB please try the FREE version before purchasing the Gold to ensure compatibility. This is not compatible with VB 3.x.

As of version 3.2.0 there is a recommended manual file edit for those running VB 4.1.9 or below.

Admin CP Full Screen Shot: http://www.qapla.com/mods/ss/msotng_admincp_free.jpg

VB 3.8 Version Here.

Please Mark as Installed if you use this.
Donations always appreciated. :up:

To be clear the New (TNG) Version is: More Share Options TNG FREE (v 3.2) by BOP5.zip

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

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

Download Now

File Type: zip More Share Options for VB4 by BOP5v261.zip (17.6 KB, 2423 views)
File Type: zip More Share Options TNG FREE (v 3.2) by BOP5.zip (15.9 KB, 1466 views)

Screenshots

File Type: jpg msotng_forumhome_free.jpg (98.0 KB, 0 views)
File Type: jpg msotng_stylevars_free.jpg (95.0 KB, 0 views)
File Type: jpg msotng_thread_free.jpg (112.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #552  
Old 03-16-2012, 10:47 AM
monkeyboy1916's Avatar
monkeyboy1916 monkeyboy1916 is offline
 
Join Date: Nov 2006
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've had to disable this modification unfortunately. I'm unsure why, but it seems to be causing 50+ extra queries on all pages. The specific plugin causing this to happen to me is:

Plugin: Add Share Options to Templates
Hook: process_templates_complete

After removing the following from the plugin, the 50+ extra queries disappear:
Code:
require_once(DIR . '/includes/adminfunctions_template.php');
Any ideas? It could possibly be my setup, but I'm not too sure about that.

Thanks!

Edit: I should note, this only started after updating to vBulletin 4.1.11. Previously my Forum was running 4.1.7 with no issues, or extra queries.
Reply With Quote
  #553  
Old 03-16-2012, 11:58 AM
Vick98 Vick98 is offline
 
Join Date: Nov 2010
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work properly for version 4.1.11?
Reply With Quote
  #554  
Old 03-16-2012, 12:43 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Monkeyboy,

I believe it is a side effect of this bug in 4.1.11: http://tracker.vbulletin.com/browse/VBIV-14446

It is set to be fixed in 4.1.12.

The main issue with this bug is it doesn't allow translated phases to be used on some situations and kh99 provided a fix for that part: https://vborg.vbsupport.ru/showpost....60&postcount=4

But it does not appear to help the query situation much. I saw mine from 76 to 72 on a 1 post thread.

I will investigate the issue further.

Does the mod still work for you with the "require" statement removed? It was used only for adding share buttons to albums, pictures, and member profiles. I'm curious if these areas still work with it removed.


Quote:
Originally Posted by Vick98 View Post
Does this work properly for version 4.1.11?
It does work on 4.1.11 except for the extra queries due to the bug described above.
Reply With Quote
  #555  
Old 03-18-2012, 11:24 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK I believe I have a fix for the extra 50 query issue.

I have posted it in JIRA for comment: http://tracker.vbulletin.com/browse/VBIV-14451

I know it solves the query issue on the front end, the only discussion is if it will still fix the bug that brought about this edit to begin with.

The bug only involved exporting styles when using a language other than the master language so if you don't ever do that you can use the fix without issue.

It has reduced query usage on my forum for a post from 77 to 27.

This mod is not the only one that uses adminfunctions_template.php but this fix will fix the query issue for all of them.

The fix is to edit adminfunctions_template.php in the /includes/ direcotry.'

There's a big block of code starting at line 5855 we want to put in an if condition.

So change:
PHP Code:
$only = array
(
  
// phrased groups
  
'buddylist'      => fetch_phrase('group_buddy_list''style'''falsefalse$languageid),
  
'calendar'       => fetch_phrase('group_calendar''style'''falsefalse$languageid),
  
'faq'            => fetch_phrase('group_faq''style'''falsefalse$languageid),
  
'reputation'     => fetch_phrase('group_user_reputation''style'''falsefalse$languageid),
  
'poll'           => fetch_phrase('group_poll''style'''falsefalse$languageid),
  
'pm'             => fetch_phrase('group_private_message''style'''falsefalse$languageid),
  
'register'       => fetch_phrase('group_registration''style'''falsefalse$languageid),
  
'search'         => fetch_phrase('group_search''style'''falsefalse$languageid),
  
'usercp'         => fetch_phrase('group_user_control_panel''style'''falsefalse$languageid),
  
'usernote'       => fetch_phrase('group_user_note''style'''falsefalse$languageid),
  
'whosonline'     => fetch_phrase('group_whos_online''style'''falsefalse$languageid),
  
'showgroup'      => fetch_phrase('group_show_groups''style'''falsefalse$languageid),
  
'posticon'       => fetch_phrase('group_post_icon''style'''falsefalse$languageid),
  
'userfield'      => fetch_phrase('group_user_profile_field''style'''falsefalse$languageid),
  
'bbcode'         => fetch_phrase('group_bb_code_layout''style'''falsefalse$languageid),
  
'help'           => fetch_phrase('group_help''style'''falsefalse$languageid),
  
'editor'         => fetch_phrase('group_editor''style'''falsefalse$languageid),
  
'forumdisplay'   => fetch_phrase('group_forum_display''style'''falsefalse$languageid),
  
'forumhome'      => fetch_phrase('group_forum_home''style'''falsefalse$languageid),
  
'pagenav'        => fetch_phrase('group_page_navigation''style'''falsefalse$languageid),
  
'postbit'        => fetch_phrase('group_postbit''style'''falsefalse$languageid),
  
'posthistory'    => fetch_phrase('group_posthistory''style'''falsefalse$languageid),
  
'threadbit'      => fetch_phrase('group_threadbit''style'''falsefalse$languageid),
  
'im_'            => fetch_phrase('group_instant_messaging''style'''falsefalse$languageid),
  
'memberinfo'     => fetch_phrase('group_member_info''style'''falsefalse$languageid),
  
'memberlist'     => fetch_phrase('group_members_list''style'''falsefalse$languageid),
  
'moderation'     => fetch_phrase('group_moderation''style'''falsefalse$languageid),
  
'modify'         => fetch_phrase('group_modify_user_option''style'''falsefalse$languageid),
  
'new'            => fetch_phrase('group_new_posting''style'''falsefalse$languageid),
  
'showthread'     => fetch_phrase('group_show_thread''style'''falsefalse$languageid),
  
'smiliepopup'    => fetch_phrase('group_smilie_popup''style'''falsefalse$languageid),
  
'subscribe'      => fetch_phrase('group_subscribed_thread''style'''falsefalse$languageid),
  
'whoposted'      => fetch_phrase('group_who_posted''style'''falsefalse$languageid),
  
'threadadmin'    => fetch_phrase('group_thread_administration''style'''falsefalse$languageid),
  
'navbar'         => fetch_phrase('group_navigation_breadcrumb''style'''falsefalse$languageid),
  
'printthread'    => fetch_phrase('group_printable_thread''style'''falsefalse$languageid),
  
'attachmentlist' => fetch_phrase('group_attachment_list''style'''falsefalse$languageid),
  
'userinfraction' => fetch_phrase('group_user_infraction''style'''falsefalse$languageid),
  
'subscription'   => fetch_phrase('group_paid_subscriptions''style'''falsefalse$languageid),
  
'announcement'   => fetch_phrase('announcement''global'''falsefalse$languageid),
  
'visitormessage' => fetch_phrase('group_visitor_message''style'''falsefalse$languageid),
  
'humanverify'    => fetch_phrase('group_human_verification''style'''falsefalse$languageid),
  
'socialgroups'     => fetch_phrase('group_socialgroups''style'''falsefalse$languageid),
  
'picture'        => fetch_phrase('group_picture_comment''style'''falsefalse$languageid),
  
'ad_'            => fetch_phrase('group_ad_location''style'''falsefalse$languageid),
  
'album'          => fetch_phrase('group_album''style'''falsefalse$languageid),
  
'tag'            => fetch_phrase('tag''global'''falsefalse$languageid),
  
'assetmanager'   => fetch_phrase('group_asset_manager''style'''falsefalse$languageid),
  
'css'            => fetch_phrase('group_css''style'''falsefalse$languageid),
  
'block'          => fetch_phrase('group_block''style'''falsefalse$languageid),
  
'facebook'           => fetch_phrase('group_facebook''global'''falsefalse$languageid),
  
'aaa'            => 'AAA Old Backup'
); 
to

PHP Code:
if (THIS_SCRIPT == "")  //Check if being run from front end or back end. Admincp-template.php has no script defined
{
  
$only = array
  (
    
// phrased groups
    
'buddylist'      => fetch_phrase('group_buddy_list''style'''falsefalse$languageid),
    
'calendar'       => fetch_phrase('group_calendar''style'''falsefalse$languageid),
    
'faq'            => fetch_phrase('group_faq''style'''falsefalse$languageid),
    
'reputation'     => fetch_phrase('group_user_reputation''style'''falsefalse$languageid),
    
'poll'           => fetch_phrase('group_poll''style'''falsefalse$languageid),
    
'pm'             => fetch_phrase('group_private_message''style'''falsefalse$languageid),
    
'register'       => fetch_phrase('group_registration''style'''falsefalse$languageid),
    
'search'         => fetch_phrase('group_search''style'''falsefalse$languageid),
    
'usercp'         => fetch_phrase('group_user_control_panel''style'''falsefalse$languageid),
    
'usernote'       => fetch_phrase('group_user_note''style'''falsefalse$languageid),
    
'whosonline'     => fetch_phrase('group_whos_online''style'''falsefalse$languageid),
    
'showgroup'      => fetch_phrase('group_show_groups''style'''falsefalse$languageid),
    
'posticon'       => fetch_phrase('group_post_icon''style'''falsefalse$languageid),
    
'userfield'      => fetch_phrase('group_user_profile_field''style'''falsefalse$languageid),
    
'bbcode'         => fetch_phrase('group_bb_code_layout''style'''falsefalse$languageid),
    
'help'           => fetch_phrase('group_help''style'''falsefalse$languageid),
    
'editor'         => fetch_phrase('group_editor''style'''falsefalse$languageid),
    
'forumdisplay'   => fetch_phrase('group_forum_display''style'''falsefalse$languageid),
    
'forumhome'      => fetch_phrase('group_forum_home''style'''falsefalse$languageid),
    
'pagenav'        => fetch_phrase('group_page_navigation''style'''falsefalse$languageid),
    
'postbit'        => fetch_phrase('group_postbit''style'''falsefalse$languageid),
    
'posthistory'    => fetch_phrase('group_posthistory''style'''falsefalse$languageid),
    
'threadbit'      => fetch_phrase('group_threadbit''style'''falsefalse$languageid),
    
'im_'            => fetch_phrase('group_instant_messaging''style'''falsefalse$languageid),
    
'memberinfo'     => fetch_phrase('group_member_info''style'''falsefalse$languageid),
    
'memberlist'     => fetch_phrase('group_members_list''style'''falsefalse$languageid),
    
'moderation'     => fetch_phrase('group_moderation''style'''falsefalse$languageid),
    
'modify'         => fetch_phrase('group_modify_user_option''style'''falsefalse$languageid),
    
'new'            => fetch_phrase('group_new_posting''style'''falsefalse$languageid),
    
'showthread'     => fetch_phrase('group_show_thread''style'''falsefalse$languageid),
    
'smiliepopup'    => fetch_phrase('group_smilie_popup''style'''falsefalse$languageid),
    
'subscribe'      => fetch_phrase('group_subscribed_thread''style'''falsefalse$languageid),
    
'whoposted'      => fetch_phrase('group_who_posted''style'''falsefalse$languageid),
    
'threadadmin'    => fetch_phrase('group_thread_administration''style'''falsefalse$languageid),
    
'navbar'         => fetch_phrase('group_navigation_breadcrumb''style'''falsefalse$languageid),
    
'printthread'    => fetch_phrase('group_printable_thread''style'''falsefalse$languageid),
    
'attachmentlist' => fetch_phrase('group_attachment_list''style'''falsefalse$languageid),
    
'userinfraction' => fetch_phrase('group_user_infraction''style'''falsefalse$languageid),
    
'subscription'   => fetch_phrase('group_paid_subscriptions''style'''falsefalse$languageid),
    
'announcement'   => fetch_phrase('announcement''global'''falsefalse$languageid),
    
'visitormessage' => fetch_phrase('group_visitor_message''style'''falsefalse$languageid),
    
'humanverify'    => fetch_phrase('group_human_verification''style'''falsefalse$languageid),
    
'socialgroups'     => fetch_phrase('group_socialgroups''style'''falsefalse$languageid),
    
'picture'        => fetch_phrase('group_picture_comment''style'''falsefalse$languageid),
    
'ad_'            => fetch_phrase('group_ad_location''style'''falsefalse$languageid),
    
'album'          => fetch_phrase('group_album''style'''falsefalse$languageid),
    
'tag'            => fetch_phrase('tag''global'''falsefalse$languageid),
    
'assetmanager'   => fetch_phrase('group_asset_manager''style'''falsefalse$languageid),
    
'css'            => fetch_phrase('group_css''style'''falsefalse$languageid),
    
'block'          => fetch_phrase('group_block''style'''falsefalse$languageid),
    
'facebook'           => fetch_phrase('group_facebook''global'''falsefalse$languageid),
    
'aaa'            => 'AAA Old Backup'
  
);
}
else 
//Used in the front end, use the less-query version
{
  
$only = array
  (
    
// phrased groups
    
'buddylist'      => $vbphrase['group_buddy_list'],
    
'calendar'       => $vbphrase['group_calendar'],
    
'faq'            => $vbphrase['group_faq'],
    
'reputation'     => $vbphrase['group_user_reputation'],
    
'poll'           => $vbphrase['group_poll'],
    
'pm'             => $vbphrase['group_private_message'],
    
'register'       => $vbphrase['group_registration'],
    
'search'         => $vbphrase['group_search'],
    
'usercp'         => $vbphrase['group_user_control_panel'],
    
'usernote'       => $vbphrase['group_user_note'],
    
'whosonline'     => $vbphrase['group_whos_online'],
    
'showgroup'      => $vbphrase['group_show_groups'],
    
'posticon'       => $vbphrase['group_post_icon'],
    
'userfield'      => $vbphrase['group_user_profile_field'],
    
'bbcode'         => $vbphrase['group_bb_code_layout'],
    
'help'           => $vbphrase['group_help'],
    
'editor'         => $vbphrase['group_editor'],
    
'forumdisplay'   => $vbphrase['group_forum_display'],
    
'forumhome'      => $vbphrase['group_forum_home'],
    
'pagenav'        => $vbphrase['group_page_navigation'],
    
'postbit'        => $vbphrase['group_postbit'],
    
'posthistory'    => $vbphrase['group_posthistory'],
    
'threadbit'      => $vbphrase['group_threadbit'],
    
'im_'            => $vbphrase['group_instant_messaging'],
    
'memberinfo'     => $vbphrase['group_member_info'],
    
'memberlist'     => $vbphrase['group_members_list'],
    
'moderation'     => $vbphrase['group_moderation'],
    
'modify'         => $vbphrase['group_modify_user_option'],
    
'new'            => $vbphrase['group_new_posting'],
    
'showthread'     => $vbphrase['group_show_thread'],
    
'smiliepopup'    => $vbphrase['group_smilie_popup'],
    
'subscribe'      => $vbphrase['group_subscribed_thread'],
    
'whoposted'      => $vbphrase['group_who_posted'],
    
'threadadmin'    => $vbphrase['group_thread_administration'],
    
'navbar'         => $vbphrase['group_navigation_breadcrumb'],
    
'printthread'    => $vbphrase['group_printable_thread'],
    
'attachmentlist' => $vbphrase['group_attachment_list'],
    
'userinfraction' => $vbphrase['group_user_infraction'],
    
'subscription'   => $vbphrase['group_paid_subscriptions'],
    
'announcement'   => $vbphrase['announcement'],
    
'visitormessage' => $vbphrase['group_visitor_message'],
    
'humanverify'    => $vbphrase['group_human_verification'],
    
'socialgroups'     => $vbphrase['group_socialgroups'],
    
'picture'        => $vbphrase['group_picture_comment'],
    
'ad_'            => $vbphrase['group_ad_location'],
    
'album'          => $vbphrase['group_album'],
    
'tag'            => $vbphrase['tag'],
    
'assetmanager'   => $vbphrase['group_asset_manager'],
    
'css'            => $vbphrase['group_css'],
    
'block'          => $vbphrase['group_block'],
    
'facebook'           => $vbphrase['group_facebook']
  );

Reply With Quote
  #556  
Old 03-25-2012, 02:39 PM
satlazone satlazone is offline
 
Join Date: Mar 2008
Location: Israel
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and if i want to just use addthis for analytics?
Reply With Quote
  #557  
Old 03-25-2012, 04:50 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you go to addthis.com you can get your own addthis userid and add it to the mod. This will allow you to use basic analytics (you will get a report in email with recent shares and such.)

If you want to use their advanced tracking features then don't use this mod.
Reply With Quote
  #558  
Old 03-25-2012, 07:59 PM
Naijasite's Avatar
Naijasite Naijasite is offline
 
Join Date: Mar 2012
Posts: 281
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wooo it works well on http://www.naijafinder.com/forum.php
Reply With Quote
Благодарность от:
BirdOPrey5
  #559  
Old 03-26-2012, 10:54 AM
Emeralda's Avatar
Emeralda Emeralda is offline
 
Join Date: Oct 2011
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
To edit the the image (the "thumbs up") easiest way would be to replace (overwrite) the image "share_like.png" (in images/misc/) with one you do want to use.

If you have to do more specific editing the code is not in a template, I never intended it to be edited- but if you want to try you need to go to the Plugin on the "parse_templates" hook and find the line:

PHP Code:
         $template_hook['forumhome_wgo_pos5'] .= '<div id="wgo_bopshare" class="wgo_subblock section"><h3 class="blocksubhead"><img src="'.$vbulletin->stylevars['imgdir_misc']['imagedir'].'/share_like.png" alt="Share" />'.$vbphrase['bop5_share_this_forum'].'</h3><div>'$moreshare '</div></div>'
Rawr, thanks, I somehow skipped this reply before >.<

Before: http://prntscr.com/7f8t4
After: http://prntscr.com/7f8tz

But I think the way I try to insert the code is somehow wrong, because before there was this nice space on the lower part: http://prntscr.com/7f8u9 but now there's none: http://prntscr.com/7f8wh

Here's how I've inserted the image:

PHP Code:
$template_hook['forumhome_wgo_pos5'] .= '<div id="wgo_bopshare" class="wgo_subblock section"><img src="images/misc/konata4.gif" alt="" style="float:left; margin: 3px 10px 3px 3px" /><h3 class="blocksubhead"><img src="'.$vbulletin->stylevars['imgdir_misc']['imagedir'].'/share_like.png" alt="Share" />'.$vbphrase['bop5_share_this_forum'].'</h3><div>'$moreshare '</div></div>'
Reply With Quote
  #560  
Old 03-26-2012, 11:26 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure what is causing the space to be removed but you can force it back with this code:

Code:
$template_hook['forumhome_wgo_pos5'] .= '<div id="wgo_bopshare" class="wgo_subblock section"><img src="images/misc/konata4.gif" alt="" style="float:left; margin: 3px 10px 3px 3px" /><h3 class="blocksubhead"><img src="'.$vbulletin->stylevars['imgdir_misc']['imagedir'].'/share_like.png" alt="Share" />'.$vbphrase['bop5_share_this_forum'].'</h3><div>&nbsp;&nbsp;&nbsp;'. $moreshare . '</div></div>';
Reply With Quote
  #561  
Old 03-26-2012, 11:32 AM
Emeralda's Avatar
Emeralda Emeralda is offline
 
Join Date: Oct 2011
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesn't seem to be it, it put the buttons lower, instead of more to the right:

Before: http://prntscr.com/7f9tw
After: http://prntscr.com/7f9to
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 12:38 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.06276 seconds
  • Memory Usage 2,596KB
  • 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
  • (2)bbcode_code
  • (4)bbcode_php
  • (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
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (40)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)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