Sep. 11th, 2024

momijizukamori: (dreamsheep | styles)
[personal profile] momijizukamori
Writing this down for future documentation purposes because I don't feel like fighting with the wiki today.

1) Create a new folder in $LJHOME/htdocs/img/mood with a short-but relevant name
2) Put all the images for the new moodtheme in the new folder. Each image filename should be in the format <emotion>.<file extension>, with the emotion in lowercase, eg, 'cheerful.png'. There is a list of valid emotion names on the wiki
3) In a commandline, run $LJHOME/bin/misc/mood-maker.pl --dir <dir name from step 1> --name "<visible title for mood theme>" --desc "<short description of mood theme>". Neither the name nor the description should contain any : characters. This will output formatted text, or error if there's a file that doesn't match one of the available preset moods.
4) Take the formatted output from (3), including the line beginning with MOODTHEME, and paste it at the end of $LJHOME/bin/upgrading/moods.dat
5) Update the database, following the regular dev maintenance update steps.

Profile

dw_dev: The word "develop" using the Swirly D logo.  (Default)
Dreamwidth Open Source Development

June 2025

S M T W T F S
1234567
89101112 1314
15161718192021
22232425262728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 5th, 2025 07:15 pm
Powered by Dreamwidth Studios