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: 348

Reply to This

Replies to This Discussion

This is an excellent
Thank you

cool, nice tip!

nice tip

RSS

Latest Activity

Kos replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"They're coming.  Ning has said over and over they're working  on them.  Be…"
3 hours ago
James Hawkins replied to Alex's discussion 'More styling in the Design Studio'
"Looks like you need to adjust height here from 300 (default) to 295. .row:after…"
3 hours ago
soaringeagle replied to Alex's discussion 'More styling in the Design Studio'
"actualy when using 5 rows its still there so what is going on? ok new thoery its loading as many as…"
7 hours ago
soaringeagle replied to Alex's discussion 'More styling in the Design Studio'
"very minor bug but when u have  the profile icons rounded in the member box set to small and 2…"
7 hours ago
Margie replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"That's really good to hear about groups.  That's our site's main…"
8 hours ago
soaringeagle replied to Alex's discussion 'More styling in the Design Studio'
"sweet awesom e job tho im using text badges and have a feeling that wont look so sweet im gonna go…"
8 hours ago
Margie replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
"AGREE 100% on groups.  We are not interested in blogs.  Our groups are the main…"
8 hours ago
Thiago Santos de Moraes replied to John Bizley's discussion 'Show Your Ning 3.0 Sites'
"The green background is not good to read."
9 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service