As an instance admin on Mastodon, you can change the character limit for posts.
However, can you change the character limit for bios?🤔
If so, how do?
As an instance admin on Mastodon, you can change the character limit for posts.
However, can you change the character limit for bios?🤔
If so, how do?
@jay that's pretty neat. Always thought about migrating to glitch-soc but was unsure how straight forward it would be
@BeAware I'm using the glitch-soc version of Mastodon. Something it does is that it can let you set these character limits through environment variables easily, including for the bio specifically, the number of fields you can have in your bio and more.
@BeAware here you go:
```
sed -i "s#note_length: { maximum: 500#note_length: { maximum: 800#g" $WDIR/app/models/account.rb
sed -i "s#input_html: { maxlength: 500#input_html: { maxlength: 800#g" $WDIR/app/views/settings/profiles/show.html.haml
```
Set $WDIR to the folder where Mastodon is installed.
@cadusilva thanks a ton, friend!🙏
Some of the changes I made in my .env file for glitch-soc:
# Maximum allowed character count
MAX_TOOT_CHARS=10000
# Maximum number of pinned posts
MAX_PINNED_TOOTS=10
# Maximum allowed bio characters
MAX_BIO_CHARS=10000
# Maximim number of profile fields allowed
MAX_PROFILE_FIELDS=10
# Maximum allowed display name characters
MAX_DISPLAY_NAME_CHARS=50
# Maximum allowed poll options
MAX_POLL_OPTIONS=10
# Maximum allowed poll option characters
MAX_POLL_OPTION_CHARS=200
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.