firelad97
In the mean time, try adjusting the rules for the acceptable image sizes. Maybe there is a sweetspot for mobile devices.

    Just needs some auto-adjustments added for mobile viewing and it should be good.

    Is @XEngine still maintaining this?

    12 days later

    0E800 Sorry, but that wasn't how it works... My signature is fine on the web browsers, already tested on different browser sizes and the signature resizes accordingly to the viewpoint size, but not on mobile browsers.

      firelad97
      I dont notice that issue as my signature is small: (320 × 131)

      What is the dimension of your signature image?

      Images greater in size of the mobile phones resolution will either clip or take up the whole page I would think.

        0E800 My image size is close to yours: 364 x 200. It's also animated.

        Like I said earlier, the signature resizes accordingly to the viewpoint. Even a small browser that could had of fit on a phone, yet it does not on my phone.

          firelad97

          Ill try adding your signature to my own to see how it looks on my phone.

          I agree with you that it should adjust.

          firelad97
          Seems to work okay on my phone. I have a Galaxy S5.

          Its fits and was also animated.

            firelad97 I'm experiencing the same issue with mobile phones as well, but in my case my signature is pretty big, although it's always being resized on a computer. I thought it was only me due to the size of my image.

            firelad97

            So the image isn't exaxtly centered?

            I would try playing with the signature editor. Seems like it's not centered or the div that the signature is in is offsetting the image.

            Maybe try cropping the image until it looks good. This is not much of a issue IMO. Too bad this extension will soon be expired.

              0E800 Actually, it is cut off a bit there. Over here it is cut off so badly.

                firelad97

                I will see what I can do to try to find a hack around it.

                So I have the Div and Css to make a cooler signature, however I am unable to make sense how @XEngine inserts the div tags into the html.

                if (Signature) {
                vdom.children.push(m('div.SignatureWrapper', m.trust(Signature)));
                }

                Gives me a headache trying to understand what its doing. What I want to do is get it do this.

                <div class="SignatureWrapper"><p style="text-align: center;"></p><a class="tile" href="#"><img src="https://i.imgur.com/Ca9FAqzm.png">
                <div class="details"><span class="title">0E800</span><span class="info">The internet is my recyclebin.</span></div></a></div>

                I am thinking I might have better luck just making a custom Signature BBcode. Above are a few designs I have planned.

                  16 days later
                  4 months later

                  Testing the Extension Signature in Flarum v0.1.0-beta.7!

                  composer require xengine/flarum-ext-signature
                  Using version 0.1.2 for xengine/flarum-ext-signature
                  ./composer.json has been updated
                  Loading composer repositories with package information
                  Updating dependencies (including require-dev)
                  - Installing symfony/dom-crawler (v3.3.6)
                  Downloading: 100%

                  • Installing symfony/css-selector (v3.3.6)
                    Downloading: 100%

                  • Installing xengine/flarum-ext-signature (0.1.2)
                    Downloading: 100%

                  But not see the extension in the Admin area: admin#/extensions

                  The files with Composer downloading to Folder Vendor: Engine

                  i will try to export to folder Flarum and test edit withcomposer.json

                  4 months later

                  Somehow the latest version seems broken. I don't see the signature option show up at my profile and the settings are missing a description.

                    TheBluekr run php flarum cache:clear, clear your browser cache and the cloudflare one too if you use that.

                    7 months later

                    I've a dumb question, but I'm new to Flarum and still learning. What's the proper way to change the text on the user's profile from "xengine-signature.forum.buttons.signature" to something like "Edit signature"?