Addthis to the member menu?

Hello, is there a way to add an "addthis.com" share link to the bottom member menu? Where would the code go in order to make this possible? I attached pics to explain better. thank you.

Addhere.png · 6.1K · 302 views
AddThis.png · 113.6K · 317 views
SGeeZyyy
Quote · 9 Jan 2011

Anyone?

SGeeZyyy
Quote · 10 Jan 2011

Congratulations.  I think you may have found the one place where a sharethis button would be completely useless.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 10 Jan 2011

Try to add them via member menu builder in admin panel

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 10 Jan 2011

I suppose I could be wrong, but I don't think it's going to work there.  I guess we'll see.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 10 Jan 2011
How is it useless, it appears on every page and it's nicely placed at the bottom...
SGeeZyyy
Quote · 10 Jan 2011

There is no meta tags, descriptions, or page titles that AddThis can 'share' while its located in the member bar. But like HL said, I guess we shall see.

Nothing to see here
Quote · 10 Jan 2011

The thing is I dont know how to put it there, which is why I was asking where the code would be placed so I know if it will work or not.

SGeeZyyy
Quote · 10 Jan 2011

Problem is the member menu was designed for icons with links and other features specific to dolphin. It was not designed to just drop a script into it.

So. Try this instead. I tested on my site to see if the code would display properly on the member menu. I did not actually check to see if the thing works as it should.

Edit templates\base\extra_top_menu.html

Look for this at about line 70

</bx_if:reduce_element_bottom>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</bx_if:sub_menu>
</li>
</bx_repeat:items>


Add this after the </bx_repeat:items>

<li>
<div style="width:370px;padding-left:4px;padding-top:4px;">
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4d2b65ae0fcb42ac"></script>
<!-- AddThis Button END -->
</div>
</li>


You will then need to clear your cache.

https://www.deanbassett.com
Quote · 10 Jan 2011

 

How is it useless, it appears on every page and it's nicely placed at the bottom...

If the member menu was not aware of it's specific page location, then it would be useless.  It would not make sense to share the same url, such as extra_top_menu.html for instance, regardless of what page the user is viewing.   Sometimes, the little voices in my head tell me things like this (When they're not arguing with each other, that is)  Sometimes, the little voices are wrong, but we'll see.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 10 Jan 2011

Well I am not a programmer so I do not know if something will work which is why I am asking on a forum. I asked if it will work not that i already did it. So there is no way to put it there and have it link back to my homepage defaultly?

 

EDIT: Thank you deano it actually works however it doesnt look the way it should. It looks "likethis" rather than "untitled".

likethis.png · 5.8K · 274 views
Untitled.png · 9.6K · 295 views
SGeeZyyy
Quote · 11 Jan 2011

Have you tried Deano's suggestion?

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 11 Jan 2011

Yes I tried Deanos and it works, but its vertical rather than horizontal i attached pics..^ ^ ^

SGeeZyyy
Quote · 11 Jan 2011

I will post the code again.

<li>
<div style="width:370px;padding-left:4px;padding-top:4px;">
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4d2b65ae0fcb42ac"></script>
<!-- AddThis Button END -->
</div>
</li>


NOTE: the div with the width is very important. Without it it will do that. It's also possible it may be that you don't have any other items in the menu. I only tested it next to existing items. So see if adding at least one item to the left menu fixes it. If not, verify the code is correct. That div is very important. Try increasing the width.


https://www.deanbassett.com
Quote · 11 Jan 2011

That did it Deano! Thanks a lot. Its looks and works perfectly. Facebook seems to load slower than the other buttons, but oh well. Thanks again!

SGeeZyyy
Quote · 11 Jan 2011

One last thing, would it be possible to add a code like that to an HTML block which I will like to add to the homepage? If so how would it be done?

SGeeZyyy
Quote · 11 Jan 2011

You would just put the Addthis code into a html block.

<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4d2b65ae0fcb42ac"></script>
<!-- AddThis Button END -->

But i am not sure if dolphin will strip anything out. It might due to the javascript.

If so, then there are other ways. Editing the html block directly in phpMyAdmin, or using a PHP block inserted from Deanos Tools, or via either a HTML or PHP block inserted via my Block Tools mod.


https://www.deanbassett.com
Quote · 12 Jan 2011

Hey Deano, I just used the html tool in the block and put it in there and it works just fine. Thank you.

SGeeZyyy
Quote · 12 Jan 2011

Thanks Deano!

Quote · 19 Feb 2011

 

How is it useless, it appears on every page and it's nicely placed at the bottom...

I never thought about using ADDTHIS in this way but I know it works as a banner either on top or bottom of the page.  Whichever page you are, ADDTHIS or SHARETHIS will share the link to FB or any other method supported by either ADDTHIS or SHARETHIS.  Hmmm.  This might be worth a try.  tell me if it works. Please.

 

Respectfully,

Jeff Wink

Quote · 19 Feb 2011

Thanks deano92964  once again

Quote · 19 Feb 2011

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.