Decoration Store 社区装饰店

A Flarum extension. Add decoration store to the forum where user can purchase avatar frame, profile background, username color etc.
一个Flarum扩展。加入社区装饰店,用户可以在这里购买头像挂件,用户卡背景,用户名颜色等。

This extension could be useful for forum that want more interactive elements. With this extension users can customize their appearance to make them look unique in the forum. It may also motivates users to keep active, in order to gain more community money to purchase decorative items.

Required Extension

Hightlight Features

  • Allow users to purchase avatar frame, profile background and username color to decorate their appearance in the forum. More decorations (such as post decoration) will be added in future update.
  • More than 100 ready to use decorative resources.
  • Three different types of purchase which are: one time purchase, monthly subscription and yearly subscription.
  • Optimized for mobile view.

Compatibility

  • Compatible with Profile Cover extension. But it will override the user's profile cover if he is using a profile background decorate.
  • Compatiable with Anonymous Posting extension.
  • Compatible with all flarum core extensions.
  • Third party extensions need to use the export function avatarWithFrame and usernameWithColor from this extension to display user's avatar frame and username color.

Installation

You need subscribe this extension at Extiverse. Once subscribed, follow the instructions at Extiverse to configure composer, and then run the following command to install this extension.

该扩展为付费扩展,请到这里来订阅。
无法在Extiverse上支付的用户,可以加我的QQ 2091714527后通过微信或支付宝来支付。
订阅后,请参照这篇文章来设置你的composer,之后执行下面的命令来安装。

Install with composer:

composer require ziiven/flarum-decoration-store

Extra Configuration

To use the subscription and item discount countdown feature, you need to add cron job to your crontab:
run crontab -e in the server terminal
Then add * * * * * cd /path-to-your-project && php flarum schedule:run

Updating

composer update ziiven/flarum-decoration-store
php flarum migrate
php flarum assets:publish
php flarum cache:clear

Links

Please also check my other works 😃
Premium Decoration Store 社区装饰店
Premium Raffle Ticket 刮刮乐
Premium Pay To See 付费可见内容
Free Daily Check In 每日签到
Free Post Number 帖子楼层
Free View History 浏览历史
Free Money Transfer 社区转账
Free Money Leaderboard 社区资金排行榜
Free Fireworks 烟花

ScreenShot


Store page

This is the page where user can browse your store items.

image


Decoration page

User can "equip" his purchased decoration item in the decoration page.

image


Purchase history page

List all the purchased items with details. User can also unsubscribe/resubscribe items in this page.

image


Discussion page

The avatar frame and username color in discussion.

image


User card

This is what the user card looks like.

image


Settings page

You can manage your store items in ACP.

1678007646799

Build-in images
image

    Fantastic idea!
    Can admins design their own decorations as well?

      6 days later

      Version 1.0.5

      • Fixed a bug that cause avatar frame did not display properly when add/edit a post
      • Now compatiable with Anonymous Posting extension

      Updating

      composer update ziiven/flarum-decoration-store

        This is really great!! I've been thinking about something exactly like this for a long time.

        a month later

        If the extension can beautify the title of the top post or any post, that's perfect, I'll buy it right away
        In addition to looking good, it has practical significance

        Ziven

        6 days later

        I'm curious, is someone from Discuss went and bought the extension? I would love to see some implementations before pulling the trigger.

          Are you considering adding a feature to manually give decorations? (Similar to User Badges)
          您是否考虑添加手动授予装饰的功能呢?(类似徽章

          13 days later

          In a forum, decorating the discussion title is more important than decorating the avatar

          6 months later
          9 months later

          More decorations (such as post decoration) will be added in future update.

          I'm thinking of buying this extension, has any of this been added?

          Ziven

          😃Woah! Awesome!

          I'd wondered whether a Flarum version of an in-forum shop had been developed yet. I'm glad someone has already achieved it.
          Thank you for creating this extension.
          I'll definitely be considering it in the very near future for sure.


          •Edit, to add: I'm thinking the 'Decoration Store' may be somewhat similar to the DragonByteTechnologies 'Shop' add-on for Xenforo, is this a reasonable assessment?
          (*note: Imo the DBTech 'Shop' is pretty cool, so I'm currently under the impression 'Decoration Store' is potentially comparably cool as well.)

            User31 I bought this extension yesterday. Everything works as it should. Of the nuances: on a dark theme, the text is blue, I would like white. Product cards are boring, I would like to add a fill of cards instead of thin frames

              Capybara

              😎Top show, Capybara!
              Do you think Ziven's 'Deco Store' would make for solid foundation to build a full blown marketplace?

              I'm a little embarrassed to admit how much I wasted early last year the DBTech - 'Shop' & 'Credits' add-ons for my first ever forum admin adventure.

              The initial intention was basically throw cash wads at a dev to customize the absolute nards outta the two add-ons + the forum. Coz to me, I saw/& still do see great potential—which is as yet unrealized imo.

              Fortunately....lol, I ended up hiring this "freelance dev/technician" dude to basically sort out the niggly technical stuff and to develop all my eccentric forum ideas...

              ...however, barely three weeks after hiring the dude...😂 I was around 5k out of pocket, unbeknownst to me I had an unlicensed DBTech 'Shop' & 'Credits'—both of which weren't even set-up right.
              Funnier still is on the morning of the day I finally discovered all this, I also found another cool surprise....the "tech" had apparently led a mutiny, convincing all the Mods & the co-Addy that I wasn't the real me, and with their full support subsequently booting me out of my own forum...🤣

              Anyways the point is, I dunno. I eventually gave up on XF altogether.
              I'm here on Flarum by chance, and I don't mind throwing funds at meaningful causes aye. Recently I've been thinking about directing my aim towards Flarum & several extension devs. Maybe Ziven too.

                User31
                Answering the question, it all depends on the motivation of developers to support the creations. I know some great extensions that are abandoned and unsupported, even though they have more than 1000 downloads. I hope that this store will be updated.

                An interesting story. Now you have learned from experience how to work in a team😅

                  Capybara

                  Nah wasn't nothin' to do with teamwork.
                  The guy straight up deceived everyone by surreptitiously installing an XF add-on called 'LAU2'—before we knew anything about it—which he specifically used to masquerade as me, the co-admin, the mods & numerous others—all while greedily helping his-self to the allocated forum development funds I'd set aside for us.
                  So what I actually learned was that even if a dev/tech is a prominent freelancer for a well known commercial brand like XF, it's still no guarantee the freelancer ain't just another predatory criminal and nor is it guaranteed that upon learning of criminal conduct occuring, some commercial brands apparently have no problem covering up known crimes, while subsequently then actively protecting the criminal as well as trying to silence the victim thereof.

                  Nevertheless, regarding Zivek's 'Decoration Store' extension.
                  😎Hopefully they are motivated by $$$$, because (a) I may have it in abundance, (b) I may be exceedingly generous, and (c) as imo an optionally available, well established, comprehensive and reliable ifcs/e-commerce system is a substantially beneficial addition to a forum brand's ecosystem as a whole, thus therefore arguably also should be a priority necessity for any commercial forum systems brand.
                  Although this is just my personal opinion of course.

                    User31 I agree. I hope Zivek reads this thread. From your story, we can conclude that it is better to conduct business only with the most trusted people. Or alone