How i can add new buttons for moderators?
it is needed to show some text in posts after moderator clik on certain button, like warninig members for offtopick, posting warez , etc etc?
It wont be an easy task. I take it you want to add new buttons next to the 'modify, split, delete, etc' mod buttons, that only appear to those that can moderate. That once clicked insert specific responses into a thread.
Now I know there is a javascript the forum uses to perform the insert of quote button, but I'm unsure if it can be adapted to meet your needs. You would need to create extra buttons arrays in the appropriate places and call a JS to insert specific text.
Ok, should it be feature request then?
That would be the best option, or the Help Wanted section.
Could you move this topic to appropriate forum?
--
would this help http://docs.simplemachines.org/index.php?topic=347 ?
Ok I've moved it to requests :)
I don't think that would help. That is only for changing the post icon that is displayed next to the posts subject line and is accessible to all. But doesn't insert anything special into a message after use.
:-X :P
ok i thought that is icon similiar to those which exist in replaz box such as bold, center text etc :-\
Well if you want that kind of thing, you can try:
Custom BBCode (http://custom.simplemachines.org/mods/index.php?mod=621)
i've already have it but that won't add text by pressing that button/icon...
Hmm you should be able to make a button that returns anything you want. Then have it return text in the format you require.
are u sure?
that would add just certain look for text that u would write in post, for example red boz around tex which u put between certain tags?
Well I'm under the impression you can create whatever code to display via that mod, though it would be best to contact the mod's creator.
So create a bbcode & button that returns a string of text in a format you like should be possible.
i just in html box in admin section for custom bbc put the text i want, specify tag name and it works!
thanx rumbaar ::)
So I take it you've got it all worked out now then?
so far , yes. :)