Omnimaga
Omnimaga => Site Feedback and Questions => Topic started by: ClrDraw on May 07, 2014, 12:12:35 pm
-
I'd like to include the Google +1 button for my website:
<!-- Place this tag where you want the +1 button to render. -->
<div class="g-plusone" data-annotation="none" data-href="http://clrdraw.weebly.com/"><>
<!-- Place this tag after the last +1 button tag. -->
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/platform.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
But html is blocked in the signature :/ Any way around that?
-
HTML is blocked for security, else you'd be able to put custom javascript all over the place and easily hack other peoples accounts, and thus there is no way around it, sorry.
Nothing stops you from putting a link to a google plus button in your sig, though ;)
-
You can use URL links on images, so you should be able to use the +1 image directly tied to a link in your sig.
-
The thing about the buttons those social sites give you is that they all use JavaScript :P
-
And it's pretty obvious this one is using it too. :P A way around it would be to ask the admins to add a bb tag for it. Not sure it's gonna happen though. :P
-
It probably won't happen.
-
Yeah I was sure about that actually. :P
-
You can use URL links on images, so you should be able to use the +1 image directly tied to a link in your sig.
I like that idea, I'm gonna try it!
-
The thing about the buttons those social sites give you is that they all use JavaScript :P
I think Twitter has an URL that allows you to make people instantly follow you if they click an external link. It can be hard to grab, though, and might not be a good idea since it might make some people upset (since they might not like to follow accounts without knowing).
-
That's true. I wish the +1 button worked like that though.
I fixed my sig to have the button but it only directs to my website because there isn't a url for the button itself :/
-
You could try something along the lines of [url=javascript:<blah blah blah>]+1 Me![/url].
-
I don't think Javascript will work with URL tags, at least not for regular members nor editors.
-
You could try something along the lines of [url=javascript:<blah blah blah>]+1 Me![/url].
I'm pretty sure this won't work. Plus the js code is also used to render the button.
-
I got it with just a url:
(http://img.ourl.ca/%2B1.png) (https://plus.google.com/share?url=http%3A%2F%2Fclrdraw.weebly.com)
[url=https://plus.google.com/share?url=http%3A%2F%2Fclrdraw.weebly.com][img]http://img.ourl.ca/%2B1.png[/img][/url]
If anyone else is interested in this, just replace "clrdraw.weebly.com" with your url and "http://img.ourl.ca/%2B1.png" with your image.