TBH I didnt check.@andybond Was there any error message in the browser's console when pressing the share button? If you were using OpCache, try to clear the cache before upgrading. 2.1.3 merely changed a Template Modification and 2 lines from the PHP file (ref). And those two are supposed to be cache-able by OpCache.
Ill update again at some point in the future and give you a shout back after implementing your recommendations@andybond Oh well. The most likely cause that I can think of is opcache (either Zend OpCache or anything else). If the share button wouldn't trigger the popup, then the JS file was simply not being attached to the page properly (since 2.1.2 and 2.1.3 uses the exact same JS file, so any fault with the JS can be ruled out). And the one responsible to attach it to the page were those 2 things I mentioned in my previous reply, so yeah.
- Updated popup size for Pinterest share.
- Updated Reddit share to properly use link share mode instead of text share.
- Improved compatibility with Defer JS add-on. I think.
Working perfectly nowBobbyWibowo updated [Endless Horizon] Social Share with a new update entry:
Updated to 2.1.4
Read the rest of this update entry...
It's possible actually, if you used DeferJS add-on. Otherwise it's very unlikely.Must have been the defer js thingy ?
I'd assume it'd work just fine with XFRM.
I'm not entirely sure about XFMG though
Small update. This update will make the only responsive styling in eh_socialshare.css template to only be applied if the style uses responsive design.
If you're NOT using responsive design, this update is for you. Otherwise, it's not mandatory to update (but you may still update if you want).
It's XenForo's default behavior, unfortunately. You'll have to remove these lines from share_page.css template (should be on the very bottom):Doesn't show up in via phone unless the screen is in wide mode. I'm sure this is something on my end but...
<xen:if is="@enableResponsive">
@media (max-width:@maxResponsiveNarrowWidth)
{
.Responsive .sharePage
{
display: none;
}
}
</xen:if>
I actually don't have Resource Manager and Media Gallery, but @andybond confirmed that this add-on appears to be working just fine with both of them (ref).Would be AWESOME if this showed up in XenForo Media Gallery It's beautiful in resources area.
As long as that add-on uses the built-in Share This Page template (most add-on do), this add-on will seamlessly take over.I'm trying out the Recons Team Marketplace and wow would it be awesome if this share would work for the store!
Thank you very much for the donation Honestly I was wondering where it came from after I received the email notification, lolEdit: I donated some for the work you already did, I'll donate MORE if it can work for other areas.
Removed share_page.css template dependencies. You'll no longer have to edit that template to prevent the Share This Page button from disappearing in mobile screen.
You're welcome!Amazing add-on Bobby thank you so much!
That setup will require various changes to the JavaScript file since the overlay display is being generated by the file on page's load. So yeah, it'll be somewhat too complicated (not impossible though, it'll just take some times).One question, how should I modify the template if I want to make it display as floating on the left side instead of a concrete button?
Something like this : https://www.evernote.com/l/AFqGxlgqfUNLQInE2vUj0VLJb0XaSL_R5r8
I actually planned to add this feature a while ago but too lazy to do it. However I have finished it a couple minutes ago since I had a bit of time and it didn't take long. You can try this version: https://github.com/BobbyWibowo/EH_SocialShare/releases/tag/2.1.7. I won't release this version to XenForo Community yet though. There may be small bugs. So feel free to test that version and also please post your feedback.but if it's not possible or too complicated, at least show 1 square button (with just the icon, no "share this page" text) as floating (follows the scroll).
I actually planned to add this feature a while ago but too lazy to do it. However I have finished it a couple minutes ago since I had a bit of time and it didn't take long. You can try this version: https://github.com/BobbyWibowo/EH_SocialShare/releases/tag/2.1.7. I won't release this version to XenForo Community yet though. There may be small bugs. So feel free to test that version and also please post your feedback.
We use essential cookies to make this site work, and optional cookies to enhance your experience.