• Welcome to Simple Machines Community Forum. Please login or sign up.
September 25, 2021, 08:17:56 AM

News:

Wondering if this will always be free?  See why free is better.


Modbreak tag

Started by Aaron, January 10, 2007, 12:43:06 PM

Previous topic - Next topic

Kris

Quote from: Knat on January 13, 2007, 06:54:38 AM
So make it in your rules that this tag is only to be used by mods and that mods will take actions against any abuse.  ;)

Or just dont use it  :D


DaBoROE09


Tanix

Excellent mod, thank you.

And I agree with Knat and Kris: you can't and shouldn't try to code for every eventuality. A simple rule should be enough.

edi67

very useful mod and very useful if will be possible have BBC button for apply it , visible only to Staff
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

0uK^-

Hi there.

I want this mod but is only normal bbcode.

Can you do it like this mod for phpbb:

Moderation BBCode

Thanks

Farmacija

yes its needed button which is visible just for moderators and only then this mod will be completely usefull
www.farmaceuti.com
www.farmaceuti.com/tekstovi

[Lucien]

Aäron, thank you very much for this wonderfull mod, i really love it!!

Quote from: Knat on January 13, 2007, 05:38:16 AM
Just only tell your moderators about the mod. Any user dont have to know  :D

Thanks for this - i am using it and its really good.

Here is the CSS i use for this mod

.modbreak
{
   border: 1px solid #000000;
background-color: #FFFBEF;
   border-top: 1px solid #333;
   border-left: 1px solid #333;
   border-right: 1px solid #ccc;
   border-bottom: 1px solid #ccc;
   margin: 1px 11px 11px 11px;
   padding: 8px;
   font-weight: bold;
}

.modbreak legend
{
   color: #DD0000;
   font-weight: bold;
}


And thank you for posting this, i only removed the background color, it looks so cool now :D
I'm using SMF 2.0.2 and SimplePortal 2.3.4

Vinspire

Any screenshot for this mod ? Thanks :)

Tanks

screenshot is in Danish but i think you get the picture  ;)


buhaychat.com

Very useful mod, really great - I installed it ages ago but only really used it today... helpful! Thanks for it!

Farmacija

February 02, 2007, 07:10:57 AM #30 Last Edit: February 02, 2007, 07:21:28 AM by Farmacija
still button is needed

www.farmaceuti.com
www.farmaceuti.com/tekstovi

perplexed

ok so as I understand it, it adds bbc code to enable a mod to add the break thingy in a post as per screenshot, but theres no button, so you have to tell the mods what the code is, and anyone who knows the code, can use it?  I suppose that would work as people are less inclined to use something if there's no button, no one is going to use it unless they want to cause trouble right?  So a rule about misusing it should suffice.

Tanix

Quote from: perplexed on February 06, 2007, 10:21:40 AM
ok so as I understand it, it adds bbc code to enable a mod to add the break thingy in a post as per screenshot, but theres no button, so you have to tell the mods what the code is, and anyone who knows the code, can use it?  I suppose that would work as people are less inclined to use something if there's no button, no one is going to use it unless they want to cause trouble right?  So a rule about misusing it should suffice.

Got it in one - and yes, a rule should suffice. That's the way I'm using the mod.

Assistance

if (in_array('1',$GLOBALS['user_info']['groups']) || in_array('2',$GLOBALS['user_info']['groups']))
{

before the array to show only to admins mods

sure someone could do that eh
~playing poker~

Mr. Jinx

Quote from: Kris on January 14, 2007, 04:10:31 AM
Quote from: Knat on January 13, 2007, 06:54:38 AM
So make it in your rules that this tag is only to be used by mods and that mods will take actions against any abuse.  ;)

Or just dont use it  :D



Yeah rite, then my mods have to check if people are abusing this mod. What a stupid idea :o ???

perplexed

I suppose that would be easy to spot since they should be reading the posts anyway and would see if a non-mod was using it

I would still be happier if it was based on permissions

aperseghin


Aaron

I'll see what I can do regarding the feature requests for the next version. I think I'll implement the following two:

  • Usage based on permissions
  • Button in post form (only visible for users with appropriate permissions)

I can't promise an exact date, as I'm rather busy in real life, but I'll do my best. :)


detportal

you can use the BBCode Permission Mod to control which membergroups can use it.
and to change "modbreak" you edit the legend variable in subs.php



Advertisement: