MyBB Community Forums

Full Version: twitter icon every where
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[attachment=25789]
I added the code for google +1 button and twitter's follow button to the bottom of my header template (standard theme) which loads 2 javascripts:
<SCRIPT LANGUAGE="JavaScript" src="https://apis.google.com/js/plusone.js"></script>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<g:plusone size="medium" annotation="none"></g:plusone><a href="https://twitter.com/" class="twitter-follow-button" data-show-count="false" data-show-screen-name="false">Follow @</a>
And now I get this additional twitter icon in my forum. Is there a format issue with the code I got from google and twitter in placing it in the header template php page?
Are you using/have used MyBB Publisher? A quick check in Firebug shows that threads from that forum are published to twitter. Hence the icon. If you have uninstalled a plugin and moved icons etc before uninstalling then traces can be left behind.
MyBBPublishers adds the Twitter and Facebook icons on the fly, so if if uninstalled they should not be there. if you have the plugin enabled and dont want the icon related to MyBBPublisher to show, simply remove the icon path from the MyBBpublisher settings in the ACP.
Thank you guys, that's exactly what's going on, I had no idea MyBBPublisher adds icons like that. Yes it's enabled and I didn't know that's what caused it. Thank you very much! Smile +rep for both of you.