AddThis - too rigid

OC2PS
OC2PS's picture

Joined: 2010-09-08
Posts: 428
Posted: Tue, 2011-09-27 09:43

Dave,

Thanks for the AddThis module. This is much desired.

I have found the following issues though:

1. The Git and Codex versions are different (codex has v2 while GIT has v1). I downloaded codex v2 via gallerymodules.com, uploaded, activated. G3 said a module was out of date. On update page it said for AddThis installed version is 1, available is 2. I clicked Update All. Then I get an error message that the update failed and I should get the new version or deactivate module.

2. This seems a very rigid, one specific implementation of AddThis. None of the options provided by AddThis seem to be available. All it says on Settings > AddThis is really that if I register on AddThis I can get Analytics. It would be nice to get something like Wordpress AddToAny plugin (see attached)

SoosKriszta
Csillamvilag.com

Bodypainting, Facepainting, Glitter, Henna
HennaLap.com

AttachmentSize
wp-addtoany.jpg181.49 KB
 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2011-09-27 13:40

There is no GIT version.
I have seen the WP implementation and find it too rigid as well so just edit the view file. Examples of code for different impementaions are on the add this website.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
OC2PS
OC2PS's picture

Joined: 2010-09-08
Posts: 428
Posted: Tue, 2011-09-27 16:00

In what way do you find WP AddToAny (not AddThis) restrictive? Based on the screenshot I attached above, it provides a lot of flexibility - which type of buttons to use, what text, where to place it on the page, and even option to add CSS.

SoosKriszta
Csillamvilag.com

Bodypainting, Facepainting, Glitter, Henna
HennaLap.com

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2011-09-28 03:07
Quote:
In what way do you find WP AddToAny (not AddThis) restrictive?

I don't want the preferred buttons that have priority,

<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>

I would prefer to be able to have a personalized set of buttons, no the top 4 buttons of their/users choosing.
A better admin interface would be:
http://www.addthis.com/personalize
but my skills are not to that level yet without spending more time than I am willing to give.

It should be easy to customize to the way you like if you have some copy/paste skills.
https://www.addthis.com/help/toolbox
should give you some ideas to add to the 'view' to change the behavior till you or somebody else make a better user interface to make it have more customization.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
OC2PS
OC2PS's picture

Joined: 2010-09-08
Posts: 428
Posted: Wed, 2011-09-28 08:37

I don't want any buttons to have priority either. Thankfully, AddToAny, as I see from the Wordpress plugin, do not have preferred buttons. The admin can choose which buttons (s)he wants:

                <p id="addtoany_services_info"><?php _e("Choose the services you want below. &nbsp;Click a chosen service again to remove. &nbsp;Reorder services by dragging and dropping as they appear above.", "add-to-any"); ?></p>
            	<ul id="addtoany_services_selectable" class="addtoany_admin_list">
            		<li id="a2a_wp_facebook_like" class="addtoany_special_service" title="Facebook Like button">
                        <span><img src="<?php echo $A2A_SHARE_SAVE_plugin_url_path.'/icons/facebook_like.png'; ?>" width="50" height="20" alt="Facebook Like" /></span>
                    </li>
					<li id="a2a_wp_twitter_tweet" class="addtoany_special_service" title="Twitter Tweet button">
                        <span><img src="<?php echo $A2A_SHARE_SAVE_plugin_url_path.'/icons/twitter_tweet.png'; ?>" width="55" height="20" alt="Twitter Tweet" /></span>
                    </li>
                    <li id="a2a_wp_google_plusone" class="addtoany_special_service" title="Google +1 button">
                        <span><img src="<?php echo $A2A_SHARE_SAVE_plugin_url_path.'/icons/google_plusone.png'; ?>" width="32" height="20" alt="Google +1" /></span>
                    </li>
				<?php
					// Show all services
					$active_services = $options['active_services'];
					if( !$active_services )
						$active_services = Array();
					
                    foreach ($A2A_SHARE_SAVE_services as $service_safe_name=>$site) { 
						if (isset($site['href']))
							$custom_service = TRUE;
						else
							$custom_service = FALSE;
						if ( ! isset($site['icon']))
							$site['icon'] = 'default';
					?>
                        <li id="a2a_wp_<?php echo $service_safe_name; ?>" title="<?php echo $site['name']; ?>">
                            <span><img src="<?php echo ($site['icon_url']) ? $site['icon_url'] : $A2A_SHARE_SAVE_plugin_url_path.'/icons/'.$site['icon'].'.png'; ?>" width="<?php echo (isset($site['icon_width'])) ? $site['icon_width'] : '16'; ?>" height="<?php echo (isset($site['icon_height'])) ? $site['icon_height'] : '16'; ?>" alt="" /><?php echo $site['name']; ?></span>
                        </li>
				<?php
                    } ?>
                </ul>

and the services come from services.php where they are simply as

<?php

$A2A_SHARE_SAVE_services = Array(

	"aim" => Array(
		"name" => "AIM",
		"icon" => "aim",
	),
	"aol_mail" => Array(
		"name" => "AOL Mail",
		"icon" => "aol",
	),
	"allvoices" => Array(
		"name" => "Allvoices",
		"icon" => "allvoices",
	),
	"amazon_wish_list" => Array(
		"name" => "Amazon Wish List",
		"icon" => "amazon",
	),
	"arto" => Array(
		"name" => "Arto",
		"icon" => "arto",
	),
	"ask_com_mystuff" => Array(
		"name" => "Ask.com MyStuff",
		"icon" => "ask",
	),
	"backflip" => Array(
		"name" => "Backflip",
		"icon" => "backflip",
	),
	"balatarin" => Array(
		"name" => "Balatarin",
		"icon" => "balatarin",
	),
	"bebo" => Array(
		"name" => "Bebo",
		"icon" => "bebo",
	),
	"bibsonomy" => Array(
		"name" => "BibSonomy",
		"icon" => "bibsonomy",
	),
...etc
);

SoosKriszta
Csillamvilag.com

Bodypainting, Facepainting, Glitter, Henna
HennaLap.com

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2011-09-28 13:48

Perhaps you can convince a WP developer to help out since WP has all you want.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
OC2PS
OC2PS's picture

Joined: 2010-09-08
Posts: 428
Posted: Wed, 2011-09-28 13:58

I don't believe I deserved the sarcasm. Since when is it inappropriate to benchmark against best practices?

SoosKriszta
Csillamvilag.com

Bodypainting, Facepainting, Glitter, Henna
HennaLap.com

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2011-09-28 17:09

I'm not being sarcastic. I'm just pointing out that the WP development community is much larger than this one. My skills are not to that level yet without spending more time than I am willing to give. So the options are obvious.
Have you tried to customize the 'view' of the module with the code suggested by add this?

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
OC2PS
OC2PS's picture

Joined: 2010-09-08
Posts: 428
Posted: Thu, 2011-09-29 11:03

Well, the AddToAny and AddThis plugins for Wordpress have been made respectively by the AddToAny and AddThis guys themselves. I already wrote to both asking about G3 plugins/support, but haven't gotten any response.

Will look at the 3 pieces of code (your G3 plugin, their WP plugins, and the codes on their websites) and see if I can come up with something.

SoosKriszta
Csillamvilag.com

Bodypainting, Facepainting, Glitter, Henna
HennaLap.com

 
undagiga

Joined: 2010-11-26
Posts: 693
Posted: Thu, 2011-09-29 13:39

I see some kind of social network plugin on your Henna site. Is that one of the WP plugins that you're referring to? Looks interesting.

U-G

 
OC2PS
OC2PS's picture

Joined: 2010-09-08
Posts: 428
Posted: Thu, 2011-09-29 13:52

Yup, that's AddToAny
http://www.addtoany.com/
http://wordpress.org/extend/plugins/add-to-any/
(code files of the WP plugin attached above)

SoosKriszta
Csillamvilag.com

Bodypainting, Facepainting, Glitter, Henna
HennaLap.com

 
undagiga

Joined: 2010-11-26
Posts: 693
Posted: Thu, 2011-09-29 14:24

If I get a chance I may have a look, but I've got a backlog or work at the moment. Don't hold your breath - could be dangerous.

 
OC2PS
OC2PS's picture

Joined: 2010-09-08
Posts: 428
Posted: Thu, 2011-09-29 17:07
undagiga wrote:
Don't hold your breath

Ok. But I'll keep my fingers crossed.

Truthfully, the killer "feature" that I am really hoping for is performance http://gallery.menalto.com/node/103743

SoosKriszta
Csillamvilag.com

Bodypainting, Facepainting, Glitter, Henna
HennaLap.com

 
undagiga

Joined: 2010-11-26
Posts: 693
Posted: Fri, 2011-09-30 00:47

It's something we all want. Have you seen this thread:

http://gallery.menalto.com/node/101616

This is the best discussion I can recall on the subject in recent times. While some of the things in inposure's list don't impact on site functionality, others require you to cut right back. Removing just one module doesn't usually make a lot of difference in my experience (hence my comments about combining facebook like and comments), but removing a lot of them can. Question is, do you want a basic site where you can't run too many modules because of budget hosting?

My own view is that if performance is really that important to you, e.g. you're making money from the site, then you need to consider your host. You don't need to pay a lot for good hosting, but perhaps a little more than budget hosting and choose wisely.

As this is slightly O-T for AddThis, perhaps you should start a new thread on performance if you want to continue.

U-G

p.s. For performance I like the GreyDragon theme. While it's a little slower than other themes in loading the page, because it does image preloading it seems faster when you are going through the resize images in sequence.