Please help Addthis code on my pages dolphin 7.1

Hello Everyone,

 

I am having issues which I can't get the "Addthis code" to work on my pages --- I read all the threats in the forums, I try everyhting i can think off

Somehow it does not display the code ( it only display the text "Addthis  and Follow")

here is the code i used. 

<p>Addthis</p>

<!-- AddThis Button BEGIN -->

<div class="addthis_toolbox addthis_default_style addthis_32x32_style"></div>

<script type="text/javascript">// <![CDATA[

var addthis_config = {"data_track_addressbar":true};

// ]]></script>

<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-51130bfb6a0c029b"></script>

<!-- AddThis Button END -->

<p>----------------------</p>

<!-- AddThis Follow BEGIN -->

<p>Follow</p>

<div class="addthis_toolbox addthis_32x32_style addthis_default_style"></div>

<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-51130bfb6a0c029b"></script>

<!-- AddThis Follow END -->

--------------------------

you can see it on my page http://guitarelements.com

please help me

Quote · 3 Mar 2013

'AddThis' and 'Follow' function you are trying to add is for social sharing?

Because if yes, there is an easier way to do so than adding code to an html block.

Quote · 3 Mar 2013

Please tell me

Quote · 3 Mar 2013

Go to sharethis.com

There you will find the needed tool with which you will create your design share plugin (very easy), and than get the code so you can add it. It will display on every page of your website on the same place so it gives your users ability to share any page from site they like :)

If you have any questions, feel free to ask. Hope I helped you:)

Quote · 3 Mar 2013

I did that but it won't work --- it used to work on 7.09 ---- my friend help to make it works on 7.1 ---- i edit the code to change Text --- then it now not working at all

Quote · 3 Mar 2013

 

I did that but it won't work --- it used to work on 7.09 ---- my friend help to make it works on 7.1 ---- i edit the code to change Text --- then it now not working at all

 Does it work without editing the code?

Also attach your _header file as well, tomorrow I will try to do the changes you did for my header and see what happens.

Quote · 3 Mar 2013

Yes you are right --- it works when i install the code for the first time. --- then i went to edit the code ( i change the text from "addthis" to "Addthis to your pages"

that is all i did and it did not work any more --- no matter if i delete the block, created a new block and put the original code from addthis 


still not working

Quote · 4 Mar 2013

 

 

Hello Everyone,

 

I am having issues which I can't get the "Addthis code" to work on my pages --- I read all the threats in the forums, I try everyhting i can think off

Somehow it does not display the code ( it only display the text "Addthis  and Follow")

here is the code i used. 

<p>Addthis</p>

<!-- AddThis Button BEGIN -->

<div class="addthis_toolbox addthis_default_style addthis_32x32_style"></div>

<script type="text/javascript">// <![CDATA[

var addthis_config = {"data_track_addressbar":true};

// ]]></script>

<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-51130bfb6a0c029b"></script>

<!-- AddThis Button END -->

<p>----------------------</p>

<!-- AddThis Follow BEGIN -->

<p>Follow</p>

<div class="addthis_toolbox addthis_32x32_style addthis_default_style"></div>

<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-51130bfb6a0c029b"></script>

<!-- AddThis Follow END -->

--------------------------

you can see it on my page http://guitarelements.com

please help me

To get it to work you need to take out the code marked in red above. It most likley was added when you edited the block. It should not be there.





https://www.deanbassett.com
Quote · 4 Mar 2013

Hello Deano

 

Thanks for helping.

I went to the block and delete the code. I went to addthis login and get new code--- I did make sure the " // <![CDATA[ and // ]]>


are not there with this new code

Now the text in the Addthis box disappear --- the addthis Icons are not there this is crazy

Quote · 4 Mar 2013

The tinymce edtor is messing up the code.

Edit it by hand. Go into phpMyAdmin. Look for that block in the table sys_page_compose and change the content there by hand. Then clear the dolphin cache.

When done it will show up. It works on my site. http://www2.deanbassett.com

https://www.deanbassett.com
Quote · 4 Mar 2013

Alright master. I guess I am screw - phpadmin - damn i am scare of this - i am going to learn and do it anyway - I just got the Cpanel Full backup last night so i am safe to try phpadmin - time to learn I guess - I will let you know how it come out Thanks

Quote · 4 Mar 2013

Hello Deano

I am not familiar with phpadmin 

I am in it and i click on the left colum link on (  sys_page_compose ) -----  you said Look for that block in the table ---- what Block???

what is the name? i never work in phpadmin - this is scary

Quote · 4 Mar 2013

You might be better off with a mod like my Block Tools that can edit html blocks without using the tinymce editor.

Or do it in a php block instead wrapping the html code in a php echo statement.

https://www.deanbassett.com
Quote · 4 Mar 2013

I don't understand what you saying.

I am in the table sys_page_compose

I click on edit

where is the place that i can paste the addthis code ???

 

i did used your php block from deao tools

i take of the _HTML BLOCK and put the php block --- look at it it is in error

Quote · 4 Mar 2013

Hi Deano

I wonder if there is an option to disable "The tinymce edtor " then insert the code to the html block. logout clear caches - if it works, go back to admin and ENable timymce ????

How much you charge me to help me to do it in phpadmin ???

thanks

Quote · 4 Mar 2013

In a php block do this.


$sCode = '
PUT YOUR ADDTHIS CODE HERE
';
echo $sCode;


https://www.deanbassett.com
Quote · 4 Mar 2013

Hi Deano

 

I am giving up - I try to put this on the php bloclk---- same thing

i went to deano tool to insert the php block on home page

i went to page builder select homepage click on new phpblock and drag it to the box --- i put the phpcode you just gave me include addthis in site

it is not working, i think i am confuse and don't know 

can you help me I pay you for help as long as i can afford your fee rate ?

thanks

Quote · 4 Mar 2013

 

Hi Deano

 

I am giving up - I try to put this on the php bloclk---- same thing

i went to deano tool to insert the php block on home page

i went to page builder select homepage click on new phpblock and drag it to the box --- i put the phpcode you just gave me include addthis in site

it is not working, i think i am confuse and don't know 

can you help me I pay you for help as long as i can afford your fee rate ?

thanks

 Send me your site info and a copy of the add this code. Looks to me like your adding php tags <?php ?> which your not suppose to do. The sample code i provided does not have them. And it does not have them for a reason.




https://www.deanbassett.com
Quote · 4 Mar 2013

I can't give you my site info login details here - may i have yout email so i can send it there?

do you need cpanel also or just site login as admin and the addthis code???

thanks

Quote · 4 Mar 2013

I sent you a PM here with my address. I will not post it in the forums.

https://www.deanbassett.com
Quote · 4 Mar 2013

Thank You Deano --- I do not know how you do it ---- i felt so dumb & ................Thank YouSmile

Quote · 4 Mar 2013

Done.

You had two blocks. One with the proper code which was not on the page. And one that was not correct which was the one you had on the page.

https://www.deanbassett.com
Quote · 4 Mar 2013

 

Thank You Deano --- I do not know how you do it ---- i felt so dumb & ................Thank YouSmile

We all start out at the same level; don't feel bad about not knowing.  I am still crawling myself Smile

Geeks, making the world a better place
Quote · 4 Mar 2013

Im wondering about how the add this should display on users page.

I have it set up in my forum section. When I share to facebook it does not say a description of what you are sharing, such as the forum topic. It just says FORUM WEBSITE NAME with forum being a link to the topic.

Is there a way for it to use the topic title?

Quote · 6 Apr 2013

 Deano, Could you please add simple instructions on how to put the 'add this' or 'share this' code on the homepage of the community? I can't seem to follow anyone's instructions on here. Thanks.

In a php block do this.


$sCode = '
PUT YOUR ADDTHIS CODE HERE
';
echo $sCode;


 

Quote · 24 Jun 2013

 

I can't seem to follow anyone's instructions on here.

 See if you can follow this.

http://www.boonex.com/forums/topic/Facebook-share-bug-with-videos.htm

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 25 Jun 2013

Thanks Michael. I was wanting to put it on the homepage only and not on individual photos or videos. I imagine I would have to create a php block for that and I'm not sure how I would code that using deanos tools... I wouldn't have a clue as to what code to put.

Quote · 25 Jun 2013

 

I wouldn't have a clue as to what code to put.

 
This is the code.

$sCode = '
PUT YOUR ADDTHIS CODE HERE
';
echo $sCode;

Replace the words PUT YOUR ADDTHIS CODE HERE with the addthis code you get from the addthis website.


https://www.deanbassett.com
Quote · 25 Jun 2013

Thanks Deano. Now I get it and it works a charm. This is the first time I've used your php block tools. I've mostly used your tools to log in as a member to try and trouble shoot any problems they might have. Me? Troubleshoot? Ha Ha!  Anyway... thank you!

 

I can't seem to center it on the block. I used the code provided by addthis (below) and played around with the width but no luck. Am I overlooking something (again)!

	<style>
div.addthis_toolbox {
  width: 242px;
  margin: 0 auto;
}
</style>
Quote · 25 Jun 2013

You will not be able to center it. The addthis code is not designed to be centered.

Best you will be able to do is to place your addthis code inside your own div like so.

<div style: margin-left: 40px;>
YOUR ADDTHIS CODE HERE
</div>

Div with a style forcing a left margin and adjust the left margin until it looks centered.  I have tried to center addthis code before, and it just does not like to be centered.


https://www.deanbassett.com
Quote · 25 Jun 2013

 Didn't work for me but at least the feature and the block are on the page. Thanks Deano.

You will not be able to center it. The addthis code is not designed to be centered.

Best you will be able to do is to place your addthis code inside your own div like so.

<div style: margin-left: 40px;>
YOUR ADDTHIS CODE HERE
</div>

Div with a style forcing a left margin and adjust the left margin until it looks centered.  I have tried to center addthis code before, and it just does not like to be centered.


 

Quote · 25 Jun 2013

 

 Didn't work for me but at least the feature and the block are on the page. Thanks Deano.

You will not be able to center it. The addthis code is not designed to be centered.

Best you will be able to do is to place your addthis code inside your own div like so.

<div style: margin-left: 40px;>
YOUR ADDTHIS CODE HERE
</div>

Div with a style forcing a left margin and adjust the left margin until it looks centered.  I have tried to center addthis code before, and it just does not like to be centered.


 

 
Probably due to a mistake in the div style. I am missing quotes so the html is not valid.  Try this.

<div style="margin-left: 40px;">
YOUR ADDTHIS CODE HERE
</div>

https://www.deanbassett.com
Quote · 25 Jun 2013

I am looking to have addthis.com and an add system like http://todaygood.us/ they have...

 

they installed it they have database for it i think how can i do that?

 

please if you could provide explanation pictures or even video would be perfect with script :) and where to insert it.

Quote · 22 Nov 2013
 
 
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.