vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - More Share Options TNG by BOP5 (Facebook, Twitter, Google +1, AddThis) Share Buttons (https://vborg.vbsupport.ru/showthread.php?t=266159)

djbaxter 01-24-2017 07:52 PM

Yes, thanks. I was coming back to post that as the fix. It's working now.

Nice when there's only one file to edit so if there is an issue you can identify which file pretty fast! :)

BirdOPrey5 01-25-2017 01:37 PM

I apologize, I had setup Qapla to email me when a question was posted on a premium mod forum, but found out emails were broken due to a change by the host, I wasn't getting them. I should check in more regularly.

djbaxter 10-22-2017 12:06 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2215823)
Reserved.

The following text is not relevant to Version 3.0 or above.

Quote:

Alternate location for Share Buttons

This location has been used by VB 3.x forms and was recently suggested by someone (forget who, sorry) as a good location for the Facebook button on VB 4.x.

To do this edit the SHOWTHREAD template.

Find the code:
Code:

<vb:if condition="$show['fb_likebutton']">
{vb:raw fblikebutton}
</vb:if>

DELETE IT.

Now find the code:
Code:

<div id="thread_controls" class="thread_controls toolsmenu">
<div>

And right below it add:
Code:

<vb:if condition="$show['fb_likebutton']">
<span style="margin-left:0px; position:absolute; left:60px;
margin-top:3px;">{vb:raw fblikebutton}</span>
</vb:if>

This is for the default vBulletin 4 style. You may have to play with the style settings to get it to look right on a custom style.

This looks good on Chrome, IE9, and Firefox. The height alignments are a little off on Opera browsers but nothing too bad.


I am trying to relocate the share buttons as described above using version 3.2 of this mod.

You say this is not relevant to versions above 3.0 and as expected the instructions don't work.

How would I relocate the buttons using version 3.2?

Bestrafung 12-27-2017 03:45 PM

I'm having an issue but I'm not sure if it's with the mod or Facebook. When I Share something to Facebook the mod shows the CMS banner image but when submitted Facebook just has text. Is the image supposed to be posted to FB or not? If it is supposed to show the image how can we fix this?

BirdOPrey5 12-27-2017 06:26 PM

Facebook determines what image, if any, is available to be posted. You can give them a hint by filling out the Facebook Image URL in Facebook Options in your vBulletin Settings.

Facebook favors square or rectangular images, something around a 4:3 ratio rather than wide like a banner.

The mod has zero control over the share image.

Bestrafung 12-27-2017 07:27 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2591876)
Facebook determines what image, if any, is available to be posted. You can give them a hint by filling out the Facebook Image URL in Facebook Options in your vBulletin Settings.

Facebook favors square or rectangular images, something around a 4:3 ratio rather than wide like a banner.

The mod has zero control over the share image.

Thanks for the reply, good to know. I'll have to test a few things out to see if I can get it working.

BirdOPrey5 12-27-2017 07:57 PM

Use this link to debug the page (clear the cache and have it re-scanned) if you make a change: https://developers.facebook.com/tools/debug/

(you must be logged into facebook first to use the link)

Bodybuilder 11-02-2018 02:00 AM

Can this mod be altered in any way to support showing both social counts from http and https? Changing from http to https has caused some pages to lose social counts. Any advice?


All times are GMT. The time now is 03:26 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.02718 seconds
  • Memory Usage 1,734KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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