• June 21, 2017, 11:16 p.m.

    One thing that's different about Misago when compared to other solutions was lack of way for forum users to share something about themselves with interested parties. Other software let your users to enter their homepage's address, specify gender, perhaps enter their Skype name. This was impossible with Misago that provided only single mean of expression for their users aside of avatar: signatures... but user signatures are gone from Misago starting with 0.6, and still waiting for their comeback (don't worry, they will be back)!

    I'm happy to announce that I've just deployed profile fields on those forums, allowing everyone to share little about themselves on their profiles, as well as for me to have early test run to see how those will work.

    Wondering how those look like? Well, here are mine. They may be changed by going to details page on your profile and clicking "edit" button, or going to your options page.

    I'll be sharing more on those fields as time comes, but here's quick breakdown:

    • fields are implemented in database as hstore field on user model.
    • each field is implemented as python class inheriting from ProfileField type that defines how field should be edited, searched in admin as well as displayed. Misago comes with few higher-level profile field types to make it fast to create custom profile fields that are textareas, text fields, choice fields or url inputs.

    There's quite a bit on todo before this feature will be released (most likely as Misago 0.8), but feature itself is functional now.

  • bookmark

    Thread has been pinned globally.

  • June 26, 2017, 12:14 a.m.

    I've deployed latest version of the feature on our forums. This version has implementation that I am pleased with, tests coverage, documentation, some nice default fields and marks debut of misago.* logger.

    If you are wondering, I'm using free sentry.io package to log errors and events happening on Misago. Here's list of events filtered to show only misago.users.ProfileFields events, marking user changing his/her profile details:

    Zrzut ekranu 2017-06-26 o 00.08.19.png

    Sentry lets me gather and display plenty of extra data to use:

    Zrzut ekranu 2017-06-26 o 00.12.46.png

    Misago logs old and new profile fields contents for site staff to see what changed:

    Zrzut ekranu 2017-06-26 o 00.13.31.png

    Overall, quite nice. I'll propably experiment some more about how those edits are logged, and then move on to adding few bugfixes and tweaks before releasing Misago 0.8 in week or two.

    Zrzut ekranu 2017-06-26 o 00.13.31.png

    PNG, 195.7 KB, uploaded by rafalp on June 26, 2017.

    Zrzut ekranu 2017-06-26 o 00.12.46.png

    PNG, 228.0 KB, uploaded by rafalp on June 26, 2017.

    Zrzut ekranu 2017-06-26 o 00.08.19.png

    PNG, 152.7 KB, uploaded by rafalp on June 26, 2017.

  • panorama_fish_eye

    Thread has been unpinned.