It took me some time investigating to find out that in order for DryIcons to be found, the following is needed:

  1. 1. In /icons/dryicons/ folder one should first make PNG folder, make sure on case sensitive servers you do need CAPITALS (the way it is in code but not in library!)
  2. 2. All pngs should be grouped in folders according to size and this command will help you in copying there: while you are in /icons/dryicons/PNG issue this command and change part number cp -a ../socialize-part-2-icons-set/* . and you will have all parts in PNG folder.

I think maintainer should lowercase png folder and make better explanation because people do like to use options thay are offered and it is hard (impossible) to figure this out for less inclined.

SocilaShift icons need change in $pt otherwise library won't be recognized, just this line added to end of array, 'twitter' => 'Twitter', or here is whole function:

 function socialmedia_icon_path_instantshift($platform = 'twitter', $style = NULL) {
  $style = isset($style) ? $style : '32';
  $pt = array(
    'delicious' => 'del.icio.us',
    'email' => 'mail',
    'googleplus' => 'buzz',
    'lastfm' => 'last_fm',
    'stumbleupon' => 'StumbleUpon',
    'twitter' => 'Twitter',
  );
  $path = drupal_get_path('module', 'socialmedia') . '/icons/instantshift/' . $style . '/' . ((isset($pt[$platform]))? $pt[$platform] : $platform) . '.png'; 
  return $path;
}
CommentFileSizeAuthor
#5 socialmedia-1591494-5.patch551 bytesdiscipolo
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

MacMladen’s picture

Additionally, there are some names messed up in icons themselves,

sites/all/modules/socialmedia/icons/arbent/clean/32x32 12:01:14 $ mv declicious.png delicious.png
sites/all/modules/socialmedia/icons/arbent/clean/128x128 12:02:01 $ mv delicous.png delicious.png
sites/all/modules/socialmedia/icons/arbent/grunge/32x32 12:03:01 $ mv technorait.png technorati.png
TomDude48’s picture

Status: Active » Fixed

I changed the directory sub structure. I also added more detailed installation instructions.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Carlos Miranda Levy’s picture

Version: 7.x-1.0-beta11 » 7.x-1.0-beta13
Status: Closed (fixed) » Active

I confirm that adding 'twitter' => 'Twitter', to function socialmedia_icon_path_instantshift in socialmedia.icons.inc solves the problem.

The problem remains in 7.x-1.0-beta13. It should only be marked as fixed when the fix is committed.

discipolo’s picture

Version: 7.x-1.0-beta13 » 7.x-1.x-dev
Status: Active » Needs review
FileSize
551 bytes

heres the patch

scottm316’s picture

#5 works for me.
socialmedia 7.x-1.0-beta13
Drupal 7.22

ConsciousnessGamingByproductsLLC’s picture

Awesome. Patch worked and changing the /png folder to /PNG worked to get Dryicons recognized.

C13L0’s picture

Thanks! Patch worked great for Icon Dock Vector

ailgm’s picture

'googleplus' => 'google+',
should also be added to the array in function socialmedia_icon_path_arbent_clean