Blog Retweet and Facebook code

I was playing with this code but can't get it to work does it not work for Dolphin?  Is there a way to make this work?

For the retweet button, I used this code:

<div style="float:right;padding:4px;">
<script type="text/javascript">
tweetmeme_url = '';
tweetmeme_source = 'your_twitter_user_name';
script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js">script>
div>


Mind you, I did replace the fourth line with my own twitterame, so that line became:

tweetmeme_source = 'ignatia';

But there are other types of button layouts, so check the post on bloggerplugins if you are looking for something different. Once I got the code, I followed the steps below:

How to install the Retweet Button on your blog?

1.Select any of these four retweet button styles,and copy the corresponding code into a text file.

2.Now in this code replace your_twitter_username with your actual twitter username (e.g. ignatia)

3.Now we have got the final retweet code.Now login to your blogger dashboard and navigate to Layout > Edit Html and expand the widget templates

4.Find this piece of code

and immediately after that place our retweet code(from our text file).and you are done :)

If you were unable to find this code in your template,then look for the first occurance of

 

<data:post.body/>

and immediately before that, place our retweet code(from our text file)

5.Save the template.

 

For the facebook button, I used this code:


<div style="float:right;padding:4px;">
<a expr:share_url='data:post.url' name='fb_share' rel='nofollow' type='box_count'/>
<script type="text/javascript" src="http://static.ak.fbcdn.net/connect.php/js/FB.Share"/>
</div>

Csampson
Quote · 15 May 2010

Is there an issue with this code being used in a blog post?  There is for me?  Anyone on why?

Csampson
Quote · 16 May 2010

I thought SASHE said that Javascript code was not allowed in the editor in 7.0.1. That could be the problem..

Here : http://www.boonex.com/unity/forums/topic/Javascript-code-won-t-save-in-HTML-block.htm

Although this could be just limited to HTML blocks..

Nothing to see here
Quote · 16 May 2010

Yes thank you for pointing that out I guess Houston L will have to come up with the fix........or work around........I thought ADMINS were at their own peril in 7.0.1 In other words if we screw the pooch its our fault.......I see that is not the case.  I assume the reason this is not allowed is BC of the possibility for malicious code?  If that is the case how do other Blogs allow the Java used in my post?  They just take on that responsibility?

Csampson
Quote · 16 May 2010

I'm trying to understand why you want to use this code from retwittertweettweet.com.... or whatever it is.  What is your intended goal?

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 17 May 2010

BTW... code posts just fine in blog posts.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 17 May 2010

 Ok the FB one worked but the other on cut the code apart again..........

BTW... code posts just fine in blog posts.

 can you send me a link?

All I was trying to do was make a blog with this embed code and add the FB and Twitter code to it.......

<object style="display:block;" width="100%" height="400"><param name="movie" value="http://www.getglobalexposure.com/mycommunity/flash/modules/global/app/holder_as3.swf"></param><param name="allowScriptAccess" value="always"></param><param name="allowFullScreen" value="true"></param><param name="base" value="http://www.getglobalexposure.com/mycommunity/flash/modules/video/"></param><param name="bgcolor" value="#FFFFFF"></param><param name="wmode" value="opaque"></param><param name="flashVars" value="url=http://www.getglobalexposure.com/mycommunity/flash/XML.php&amp;module=video&amp;app=player&amp;id=84&amp;user=&amp;password="></param><embed src="http://www.getglobalexposure.com/mycommunity/flash/modules/global/app/holder_as3.swf" type="application/x-shockwave-flash" width="100%" height="400" allowScriptAccess="always" allowFullScreen="true" base="http://www.getglobalexposure.com/mycommunity/flash/modules/video/" bgcolor="#FFFFFF" wmode="opaque" flashVars="url=http://www.getglobalexposure.com/mycommunity/flash/XML.php&amp;module=video&amp;app=player&amp;id=84&amp;user=&amp;password="></embed></object>

Csampson
Quote · 17 May 2010

I don't know if this forum messed up your code, but it should look like this: (script tags properly closed)

<div style="float:right;padding:4px;">
<script type="text/javascript">
tweetmeme_url = '';
tweetmeme_source = 'your_twitter_user_name';
</script>
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
<div>

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 17 May 2010

< lol

Csampson
Quote · 17 May 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.