Change the Headings of Avatar Groupings

Post

Posted
Rating:
#7716 (In Topic #2290)
Avatar
Standard member
friendly is in the usergroup ‘Community saint’
I am in the process of repopulating the avatars images with my own set of avataars and want to know if and how the headings of Miscellaneous, General, Cartoons, Hobbies, as found in the member profile under avatar, can be changed to some other description? Has anyone come across this process?

 


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Business Art Gallery
powered by ocPortal
Online now: No Back to the top

Post

Posted
Rating:
#7718
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Hi David,

They come from the theme image subfolder. E.g. if upload a theme image with the ID of cns_default_avatars/example/foobar, it will be categorised under "Foobar".


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#7721
Avatar
Standard member
friendly is in the usergroup ‘Community saint’
I am attaching a screen shot of the members page where he can edit his profile. In the avatar grouping title I have pointed to the word Hobbies. Is what you replied previously how I can change the word Hobbies to something else. I have noticed that the images are fed to the grouping titled Hobbies but are kept at cns_default_avatars/default_set/thematic

screen shot hobbies.jpg


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Business Art Gallery
powered by ocPortal
Online now: No Back to the top

Post

Posted
Rating:
#7722
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Oh sorry what I said before wasn't really right. It applies to new avatars, not the bundled ones.

The bundled ones are localised via the language pack. Here's the code doing it:

Code

        $ret = str_replace('Default Set/cartoons', do_lang('cns:AVATARS_CARTOONS'), $ret);
        $ret = str_replace('Default Set/thematic', do_lang('cns:AVATARS_THEMATIC'), $ret);
        $ret = str_replace('Default Set', do_lang('cns:AVATARS_MISC'), $ret);
As you can possibly see, the thematic directory is actually mapped to the AVATARS_THEMATIC language string.

Here's the language strings in cns.ini:

Code

AVATARS_CARTOONS=Cartoons
AVATARS_THEMATIC=Hobbies
AVATARS_MISC=Miscellaneous

AVATARS_THEMATIC actually is labelled "Hobbies".

Go to Admin Zone > Style > Translate/rephrase Composr, select cns as the file. Change the strings as required.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#7723
Avatar
Standard member
friendly is in the usergroup ‘Community saint’
Wow! You must know where every needle is in every Composr Haystack! How amazing.

Once I found the words in translate/rephrase Composr it was simple. Thank you Chris!!


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Business Art Gallery
powered by ocPortal
Online now: No Back to the top

Post

Posted
Rating:
#7724
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Actually I do searches on the code repository a lot ;-).


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Forum statistics:
  • 2,053 topics, 7,195 posts, 10,839 members
  • Our newest member is PurplewaveIndia
Birthdays:
Back to Top