The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Share this bar

3 posters

Go down

Solved Share this bar

Post by Sir. Mayo Thu May 30, 2013 5: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
Sir. Mayo
Forumember

Male Posts : 978
Reputation : 90
Language : English, Some french.
Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

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

Back to top Go down

Solved Re: Share this bar

Post by SLGray Thu May 30, 2013 5:40 pm

Where are you trying to add it on your forum?


Share this bar Slgray10

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

Male Posts : 51555
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Share this bar

Post by Sir. Mayo Thu May 30, 2013 6: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
Sir. Mayo
Forumember

Male Posts : 978
Reputation : 90
Language : English, Some french.
Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

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

Back to top Go down

Solved Re: Share this bar

Post by Sandara Thu May 30, 2013 6: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
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 Thu May 30, 2013 6: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
Sir. Mayo
Forumember

Male Posts : 978
Reputation : 90
Language : English, Some french.
Location : you can also reach me on snoonet's irc server. I idle in #Techsupport Username is Vault108

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

Back to top Go down

Solved Re: Share this bar

Post by SLGray Thu May 30, 2013 8:13 pm

Thanks for posting the solution.
Topic Solved & Locked


Share this bar Slgray10

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

Male Posts : 51555
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

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