New version.
Fixed the ugly url and the title of the page.
I need some help to improve the plugin, bring it further.
I have searched how to execute my function when the topic title is changed (In the topic)
Tested both action:topic.edit
& action:post.edit
no results.
As for the group system I guess it's possible. My logic is the following :
- Get the username it's possible with the
data-original-title
on the user pic.
- Then use
User.getUidByUsername
and Groups.isMember
- If is in group classic function, if not a cleaner to avoid colored titles for non permitted groups.
My problem is that I don't know how to call these two functions, I have added the modules in my library.js but I don't figured out how to actually use them.
I don't want to release it on NPM without this feature cause it could be Armagedon really quickly when you give such power to the user.
I would also know if the current syntax #hexcodeTitle
is clear enough, on my rainbow one the title looks like this :
#ff000fR#ff0064a#ff00e5i#b100ffn#1b00ffb#009dffo#00d6ffw #00ff8cM#06ff00o#dbff00d#ff8c00e
Which is hard to get...
Anyway looking forward for your help, thanks in advace.
esiao.