News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

[FREE] Colors in post square

Started by ameo, May 15, 2015, 01:21:28 PM

Previous topic - Next topic

ameo

Could anyone make a mod that would allow users to post colors to forum:


for example, user types [color]#639[/color]
and instead it appears little square which would contain that color.
antechinus:
QuoteIf you are dying for a solution it may be wise to seek medical attention.
Get some Awesome Smileys for your forum

|±(ಠ_ಠ
)±|

Gluz

[color] tag is already used to change the color of the text but can be done using other tag, [colorbox] for example.

If I learn how to make a mod and submit it I'll be glad to do it, I just get the idea how to do it and I tested in my test forum, and it shows a painted 16px by 16px square inline with the text.

This code result in the attachment image:
Text then [colorbox]#FF5555[/colorbox] and then text again

If you have any recommendation for the square (size, border maybe), all are wellcome.

ameo

Well this is great. Maybe you could tell us how to make manual modifications?

Also, I think it would be good to have 1 or 2 px solid black border around it.
antechinus:
QuoteIf you are dying for a solution it may be wise to seek medical attention.
Get some Awesome Smileys for your forum

|±(ಠ_ಠ
)±|

Gluz

#3
Well, I submited the mod days ago but no response about it.

If you really want it, I attached to this post, just be warned that is not approved by the SMF team (yet).

ameo

I forgot to mention most important part - that this should really have some kind of tooltip with the color code when one hovers over it. :/
antechinus:
QuoteIf you are dying for a solution it may be wise to seek medical attention.
Get some Awesome Smileys for your forum

|±(ಠ_ಠ
)±|

Gluz


Steve

Since your previous post was edited and the attachment removed, it looks like the support team doesn't want unapproved mods posted.
DO NOT pm me for support!

ameo

antechinus:
QuoteIf you are dying for a solution it may be wise to seek medical attention.
Get some Awesome Smileys for your forum

|±(ಠ_ಠ
)±|

margarett

Quote from: Steve on May 20, 2015, 09:25:43 AM
Since your previous post was edited and the attachment removed, it looks like the support team doesn't want unapproved mods posted.
No, the user requested himself the attachment to be removed via report to moderator.
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Steve

Ah, okay. Good to know the policy. Thanks for that. :)
DO NOT pm me for support!

Advertisement: