Add Facebook Share and Twitter Tweet Buttons to Clip-Bucket v2

Hello,

In this article you will learn how to implement Facebook Share and Twitter Tweet buttons into your website. The modifications required are pretty much a copy-paste, so be sure you won’t struggle! Works for the whole v2 branch.

1. Open ./styles/{YOURTEMPLATE}/layout/global_header.html

2. Find

</head>

and before that, paste

{literal}
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({publisher: "ur-20c67a4-7067-33db-6f8a-22c4aaf22aa4", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>
{/literal}

3. Open ./styles/{YOURTEMPLATE}/layout/header.html (or whichever place you want this to appear in)

4. Find

{ANCHOR place='anything'}

and before that, paste

<span class='st_facebook_hcount' displayText='Facebook'></span>
<span class='st_twitter_hcount' displayText='Tweet'></span>

5. Save & Upload.

That’s it! You can now go back to your site to see these cool buttons. If for some reason you cannot get this working or you get stuck at any step, please do not hesitate to contact me!

Best Regards,

Richi

Looking for quality Clip-Bucket hosting? Try out Arvixe and you won’t be disappointed.
Tags: , , , , , , , , , , , , , , , , | Posted under ClipBucket | RSS 2.0

Author Spotlight

Richi González

Richi González

I started programming when I was 12. I'm a Developer and have been working with the Clip-Bucket script since it came out. I became a Liaison between Arvixe and Clip-Bucket, so I am here to assist you with anything you need regarding Clip-Bucket or any particular computer-related subject you need. Best Regards, Richi

2 Comments on Add Facebook Share and Twitter Tweet Buttons to Clip-Bucket v2

  1. ssahin says:

    Hi Richi,

    I wonder how to change the ”Stumble” share on a website done with clipbucket. (For recently created websites)

    I mean,

    assume I just made a youtube like website called sahintube.com with clipbucket and another facebook like website called sahinbook.com done with elgg , hosted on arvixe.

    Now, on sahintube.com when I click on the View Video, right below the video there are Stumble, Tweet, and fshare logos, lets say I click on Stumble, on a new tab Stumbleupon login page opens up, I sign in and share it on Stumbleupon page.

    So how can I change the Stumble share to sahinbook.com share? to share it on sahinbook.com after login.
    I dont know much, so if you could please explain it step by step I will be glad.

    Thank you
    ssahin

Leave a Reply

Your email address will not be published. Required fields are marked *


− 3 = 1

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>