The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Share this bar

View previous topic View next topic Go down

Solved Share this bar

Post by Sir. Mayo on May 30th 2013, 6:08 pm

i used sharethis.com to get a share bar for my forum it then gave me this code.

STEP 1: Copy and place where you want your egg to show.
Code:
<div id='shareThisShareEgg' class='shareEgg'></div>


Step 2:Copy and place anywhere after the code from step 1.
Code:
    <script type='text/javascript'>stlib.shareEgg.createEgg('shareThisShareEgg', ['google_translate','google_reader','facebook','twitter','email','google','googleplus'], {title:'ShareThis Rocks!!!',url:'http://www.sharethis.com',theme:'shareegg'});</script>



Step 3: Copy the script tags and place them inside and at the end of your "head" tag.
Code:
<script type="text/javascript" src="http://w.sharethis.com/gallery/shareegg/shareegg.js"></script>
    <script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
    <script type="text/javascript">stLight.options({publisher: "83d5ce4b-2558-4dc3-9dfd-5a9a94247b38", doNotHash: false, doNotCopy: false, hashAddressBar: false, onhover:false});</script>
    <link media="screen" type="text/css" rel="stylesheet" href="http://w.sharethis.com/gallery/shareegg/shareegg.css"></link>



So now where does all of this go, i cant seem to figure it out. Please help

Sir. Mayo
Forumember

Male Posts : 969
Reputation : 87
Language : English, Some french.
Location : Working 11Pm-7Am EST I will try to respond ASAP

http://sir-mayo.forumotion.com/

Back to top Go down

Solved Re: Share this bar

Post by SLGray on May 30th 2013, 6:40 pm

Where are you trying to add it on your forum?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36735
Reputation : 2447
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Share this bar

Post by Sir. Mayo on May 30th 2013, 7:04 pm

I have tried as a widget, as in java, in both the widget and java as well as in viewtopic template. none seem to work where does it all belong?

Sir. Mayo
Forumember

Male Posts : 969
Reputation : 87
Language : English, Some french.
Location : Working 11Pm-7Am EST I will try to respond ASAP

http://sir-mayo.forumotion.com/

Back to top Go down

Solved Re: Share this bar

Post by Sandara on May 30th 2013, 7:06 pm

I tried the last code in the Homepage message, and the first two in one widget. They worked, though it's not impressive ---- I have to figure out how to put it like under the navigational bar or anywhere where all the buttons can be seen since it expands on hover. Hope I have given you a little help, or clue...or whatever...

Cheers!

Sandara
Forumember

Female Posts : 106
Reputation : 5
Language : English, Filipino
Location : Somewhere over the rainbow

Back to top Go down

Solved Re: Share this bar

Post by Sir. Mayo on May 30th 2013, 7:12 pm

@Sandara wrote:I tried the last code in the Homepage message, and the first two in one widget. They worked, though it's not impressive ---- I have to figure out how to put it like under the navigational bar or anywhere where all the buttons can be seen since it expands on hover. Hope I have given you a little help, or clue...or whatever...

Cheers!

Tried that it did not work for me weird i could do this a few months ago this is really weird.



Ok so i found out how to do it the codes from step one and step two go in View topic body template right above
Code:
<!-- BEGIN switch_facebook_login -->

And the code in step three goes in a widget.

Sir. Mayo
Forumember

Male Posts : 969
Reputation : 87
Language : English, Some french.
Location : Working 11Pm-7Am EST I will try to respond ASAP

http://sir-mayo.forumotion.com/

Back to top Go down

Solved Re: Share this bar

Post by SLGray on May 30th 2013, 9:13 pm

Thanks for posting the solution.
Topic Solved & Locked


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36735
Reputation : 2447
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum