MyBB Community Forums

Full Version: info MyCode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Producer: SoniQuake

[Image: 1izsc8.png]

Title: info MyCode

Regular Expression:

\[info\](.*?)\[/info\]

Replacement:
<fieldset class="info"><legend><strong>Info</strong></legend><br/><strong>Message</strong>: $1<br /><br /></fieldset>

Enabled: Yes

How to use:
[info]Your warning message[/info]

and then,

Open Theme & Templates - Your theme - global.css - Advanced Mode.

Add to;

.info {
	background: #FAFCFE url(images/moderasyon.png) center left no-repeat;
	color: #465584;
	background-color: #FAFCFE;
	border-left: 4px solid #b28383;
	border-right: 1px dotted #000;
	border-top: 1px dotted #000;
	border-bottom: 1px dotted #000;
	padding: 4px;
	padding-left: 50px;
	margin: 0px auto 8px auto;
}

and upload the moderasyon.png file to the .forum/images/ folder.

[attachment=15320]
Cool...
Nice!
Nice MyCode, thanks for this Smile
Nice MyCode, thanks Big Grin
Thank you will add to mycode collection