My idea came to me because I'm Russian)) The fact is, that the translation of messages  of the lastest activity on the Russian looks very ugly: unmet gender, distort the cases. So we decided to use pictures instead of the words. It looks very nice. I hope this idea will prove useful to someone and outside Russia.

To replace the messages of the lastest activity by pictures is very simple . This is done with the Language editor. Replace the lines like:

$a['Y_AND_X_MEMBERS_COMMENTED_ON_TOPIC_Y1']['1'] = '%2$s <a %5$s>replied</a> to <a %7$s>%6$s\'s</a> discussion \'%4$s\'';

with lines like:

$a['Y_AND_X_MEMBERS_COMMENTED_ON_TOPIC_Y1']['1'] = '%2$s <a %5$s><img src="http://api.ning.com:80/files/ECB*cAWqEkiyjxTeZHfGQxffFTZ5z*tr9RsMsmkSFKmGuwJzjCtsfLmWyHD48iDH3rVJpIpzf1VWOi03uSYaTJem9kFM0zkr/comment_edit2.png" alt="" width="16" /></a> «%4$s»';

Of course, you must first upload an image, using any input form on your network.

 On our site, for example, we use these images:

 

- somebody joined a group.

 


- <...> and <...> are now friends

Etc.

When I did this, I wanted to change the pictures for the number of comments and adding to favorites. This can be done through the advanced CSS settings in the Design studio. For exapmle:

a.like-link {background: transparent url(http://api.ning.com:80/files/yzr918DXGYRY*-dHnzc0KAPIX7nMwe39FX45VnMMiXH2JJ79ed2ZtfNtgqOIiUeZe85QoeXPuwGI1bm44SnuAevwLjGeZwsF/bookmark_toolbar.png) no-repeat;}
a.xg_sprite-comment {background: transparent url(http://api.ning.com:80/files/ECB*cAWqEkiyjxTeZHfGQxffFTZ5z*tr9RsMsmkSFKmGuwJzjCtsfLmWyHD48iDH3rVJpIpzf1VWOi03uSYaTJem9kFM0zkr/comment_edit2.png) no-repeat;}

_

If you insert this code, you will have these pictures:

 

If you wish to change the view of the Like-button, then add the following code:

.like-button a.xg_sprite {background: transparent url(http://api.ning.com:80/files/yzr918DXGYRY*-dHnzc0KAPIX7nMwe39FX45VnMMiXH2JJ79ed2ZtfNtgqOIiUeZe85QoeXPuwGI1bm44SnuAevwLjGeZwsF/bookmark_toolbar.png) no-repeat;}

_

You can see that by my icons are no words "Replies" and "Favorite". I removed them because of their Russian translation looks silly and because the numbers and icons is enough to understand. If anyone wants to also remove the words, it's easy to do so:

.likes-number .details {display:none;}
.reactions .details {display:none;}

Finally, if you want to see how this works, I talked about the site http://seminarnia.ru/

It is in Russian, but the pictures are clear and so))

Sorry for my English and thanks Google for help with translation :-)

Views: 350

Reply to This

Replies to This Discussion

This is an excellent
Thank you

nice tip

RSS

Latest Activity

Rosas † Negras favorited George H. Compton IV's profile
1 minute ago
Profile IconMarco Medaglia and deedee gauzot joined md's group
Thumbnail

Templates, Codes, Scripts and Tweeks

This group is for the Ning guru's who help us regular folks out with all the TCS & T we need to…See More
35 minutes ago
Jelena replied to John Bizley's discussion 'New Adjustments For Your Video Player To Make It Stand Out From The Site Background'
"WOW nice  and great work John."
2 hours ago
Thiago Santos de Moraes replied to Elshara Silverheart's discussion 'More Feature Requests'
"I'm asking Ning about this on Twitter."
4 hours ago
deedee gauzot favorited Michael Goebel's group Creators Suggestions for Ning
5 hours ago
deedee gauzot joined Michael Goebel's group
Thumbnail

Creators Suggestions for Ning

A place for Creators and Ning design staff to get together and discuss ideas to enhance and improve…See More
5 hours ago
deedee gauzot favorited SweetPotato's group Theme Designs
5 hours ago
deedee gauzot joined SweetPotato's group
Thumbnail

Theme Designs

A group for Creators and Designers to share, buy and sell, and discuss their Ning Design Studio…See More
5 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service