MyBB Community Forums

Full Version: to this mod comment
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
[Image: 2u78483.png]

how can i do this thing in my forum? that has

ALERT
INFO
WARNING
and many more things.. please help me... how to do that... is there any plugin for that?
1. Install this plugin: http://mods.mybb.com/view/modnotice-v12-mybb-14

2. Open ./inc/plugins/modnotice.php in a text editor.

3. Find:

"compatibility" => "14*",

3. Change to:

"compatibility" => "16*",
thanks bro
plus reputation.. you are so active here.. thanks
(2011-08-16, 01:08 PM)faviouz Wrote: [ -> ]1. Install this plugin: http://mods.mybb.com/view/modnotice-v12-mybb-14

2. Open ./inc/plugins/modnotice.php in a text editor.

3. Find:

"compatibility" => "14*",

3. Change to:

"compatibility" => "16*",

bro got a question... how can i put a background images just like on my screenshots?
You can edit the modnotice class in your stylesheet to fit your needs, as well as the postbit_moderator_notice template if you'd like to do add new elements.
how to add? can you give me some tutorials?
I've seen this one already, theirs MyCode Tutorial for this..
Not a plugin, in janotas site I guess

Edit:
Its MZ site, right ?
Then try to ask MAC/kdafi here Smile
yup its MZ site.. Big Grin
OK, I created a tutorial:

MyBB - MyCode Tutorial - Post Alerts - Warning on PostBit: http://www.nadlerzforum.com/thread-mybb-...2#pid43102

MyBB - MyCode Tutorial - Post Alerts Notice on PostBit: http://www.nadlerzforum.com/thread-mybb-...0#pid43100


***



Warn - MyCode

Regular Expression:
\[warn\](.*?)\[/warn\]

Replacement:
<fieldset class="warn"><legend><strong>Warning</strong></legend><br/><strong>Message</strong>: $1<br /><br /></fieldset>

Enabled: Yes

Usage:
[warn]Your warning message[/warn]

Add this to the bottom of your themes global.css :

.warn {
background:#efefef url(http://www.uploadrobot.com/images/warn.png) center left no-repeat;
width:80%;
color:#465584;
background-color:#FFC9C9;
border-left:1px solid red;
border-right:1px solid red;
border-top:1px solid red;
border-bottom:1px solid red;
margin:0 auto 4px;
padding:5px 5px 5px 60px;
-moz-border-radius:6px 6px 6px 6px;
}

Not Found

The requested URL /modnotice.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I also installed the same plugin in mybb 1.6 and i got the message given above.
MyCodes can be removed by the user if he edits the post. With the Modnotice plugin, he can not.
Pages: 1 2