We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Avatar permission [Answered] | Forum

Topic location: Forum home » Support » General Questions
Yanni P-Berlin
Yanni P-Berlin Sep 22 '15
hi,
i want to change avatar permition.
Now max avatar size is 150 for small and 250 for big, i want to be more biger. how i can change this?
thx
The Forum post is edited by Taissa Sep 29 '15
Taissa Team
Taissa Sep 24 '15
Yanislav, you can do that via Admin Area > Settings > User Settings > Avatar Settings section.
Yanni P-Berlin
Yanni P-Berlin Sep 25 '15
Yes, i know this but there maximum size is 150 and 250 i need avatar to be more bigger.
Oxwall Tips
Oxwall Tips Sep 28 '15
ow_system_plugins/admin/controllers/setting.php

 // avatar size Field
        $avatarSize = new TextField('avatarSize');
        $avatarSize->setRequired(true);
        $validator = new IntValidator(40, 150);
        $validator->setErrorMessage($language->text('admin', 'user_settings_avatar_size_error', array('max' => 150)));
        $avatarSize->addValidator($validator);
        $this->addElement($avatarSize->setLabel($language->text('admin', 'user_settings_avatar_size_label')));

        // big avatar size Field
        $bigAvatarSize = new TextField('bigAvatarSize');
        $bigAvatarSize->setRequired(true);
        $validator = new IntValidator(150, 250);
        $validator->setErrorMessage($language->text('admin', 'user_settings_big_avatar_size_error', array('max' => 250)));
        $bigAvatarSize->addValidator($validator);
        $this->addElement($bigAvatarSize->setLabel($language->text('admin', 'user_settings_big_avatar_s


There is a reason why max values are set this way. Most likely larger avatars just won't fit into look and feel of default Oxwall templates. So be aware that changing max. values might distort your website's design.
The Forum post is edited by Oxwall Tips Sep 28 '15
Yanni P-Berlin
Yanni P-Berlin Sep 28 '15
thx
Yanni P-Berlin
Yanni P-Berlin Oct 2 '15
and is possible to change the user questions permissions?

 I mean answer in the questions is maximum 31 but i need more...?!?

Taissa Team
Taissa Oct 5 '15
Yanislav, please do the search on the forum, this question has been discussed a bunch of times:
http://www.oxwall.org/forum/topic/379,
http://www.oxwall.org/forum/topic/18639,
http://www.oxwall.org/forum/topic/16895,
http://www.oxwall.org/forum/topic/15340.
Yanni P-Berlin
Yanni P-Berlin Oct 5 '15
ok, thx