well first question is what is the ubb version. Second is html includes should have a Shareaholic 'Setup Code': section not enter it in the /head tag Unless this is a older version that does not support the feature. Then you must follow the hack at ubbdev.com
Third is verify the correct api code and sometimes you need to wait a bit and refresh or clear cache for it to appear.
Last question have you modified any of the stock scripts at all. If so what?
I never tried the footer section myself.
Last edited by Ruben; 12/29/20153:52 PM.
Blue Man Group There is no such thing as stupid questions. Just stupid answers
Please note that browser security addons (such as NoScript, AdBlock, HTTPS Anywhere (which I personally have had issues with in regards to Shareaholic), etc.), Browser Privacy options, Microsoft EDGE browser in general, etc. can cause issues with 3rd party code executing within your browser (which would require one to either disable or whitelist their site). You should test various browsers before modifying code, as the code is the same bits used here and at UBBDev, which executes without issue.
UBBDev, A Gardeners Forum, UGN Security all are running on CloudFlare and using the shareaholic system without issue (and have since I wrote it for inclusion to 7.5.8, which was changed by the developer at the time to suit his needs).
You might have issues with the "Rocket Loader" item via CloudFlare, but I believe that I have that enabled on AGF and it's still operating there. You could use the "Development Mode" feature to see if it is having any issues though, it'll bypass all of the CF features and render your site directly.
Also, the tracker and privacy settings are browser specific and are not addons.
If your server isn't configured to link the referrer IP through CloudFlare (with the Apache addon) you will likely see that all of your users are using the same IP. The in development version 7.6.0 has several updates for CDN's that I've discovered quirks for; but if you run a VPS or Dedicated machine I'd recommend you install mod_cloudflare to your Linux system if you're using a CDN (this will not be a requirement in v7.6.0 as we detect various proxy headers).
Thanks Gizmo. It is a standalone server on Rackspace running Linux with Apache. The mod_cloudflare and Cloudflare Apache have been added. I did have an issue with the RocketLoader and it has been disabled.
Everything is good as the Shareaholic buttons are now displaying. Thanks of the assistance...
UBB has a Shareaholic code section that indicates that code will be placed prior to the </head> tag.
The second bit of code is html as displays the buttons (<div class='shareaholic-canvas' data-app='share_buttons' data-app-id=''></div>) and is to be placed where you want the buttons to appear.
The only place in the UBB configuration I can find for palcement is the FOOTER code section.
By adding the JS in the HEAD section of the HTML Includes, the buttons are displayed in in the FOOTER.
I have 2 installs of UBB. One (outdoorwire.com), the buttons display in the FOOTER.
On the other (4x4wire.com/forums), the buttons appear in the footer and, because I experimented with the placement options on the Shareaholic admin panel, they also appear on the left side of the screen. That works as the buttons are always visible and appear to not provide a display issue on mobile devices. With my look and feel, I may add some padding to the left so the buttons do not overlap text.
V7.5.8 and onward have their own implementation of shareaholic, which ex expanded upon in the UBBDev pages, it'll be changed in v7.6.0 to reflect the UBBDev pages.
Basically all that is needed in the UBB is the shareaholic key and setup code, then it places it's own snippet on the thread view pages; then it can be expanded with the notations on the UBBDev page.
You're more than welcome to add code manually, it'll work either way, but we cannot provide support on modifications to code on this support forum (as the 3rd party support here is generally for stock forums, whereas UBBDev is the 3rd party site for modifications and development)