MyBB Community Forums

Full Version: Underage content warning my code [ua][/ua]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
If you want a good impressive looks then you have to install Wildcard's Mention Me plugin....

paste this css code in your global.css

#ua a:visited {
	color: #f7861b !important;;
	text-decoration: none;
}

#ua a:link {
	color: #f7861b !important;;
	text-decoration: none;
}

#ua a:active {
	color: #f7861b !important;;
	text-decoration: none;
}

in My code add new my code...

Title :- Underage content warning

Short description :- An usefull tool for mods to warn on underage contents.

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

Replacement :- 

<table><tr><td colspan="10" align="center" style="color:black;text-align:center;border: 4px #ff8503 solid;border-radius: 7px; background: #f5f5ff;"><strong><dt style="height:30%; text-align: center;">
Do not post and request ANY Underage materials (especially of children) on {your website name} that show minor in sexual / non - sexual act either nude or non-nude. That includes Videos, Full length movies, Pics, Stories, porn etc. Doing so will result in warnings and permanent bans. See this for more information.

If you have any questions regarding this, please open a new thread in <span id="ua"><a href="your askt staff forum url">  Ask Staff</a></span> Thanks .</dt>

<br />@$1<br>
</strong></td></tr></table>

Enabled :- Yes

preview :- [Image: Screenshot-2021-02-22-09-49-09-386-com-a...chrome.jpg]

or alternatively you can use this method...

save this css code in global.css

.bbwrapper
{
	// This approach is needed to normalize browser differences that normalize.css won't handle within BB code/rich text
	// sections. You may need higher specificity to override some situations because of this.

	ol:not(.is-structureList),
	ul:not(.is-structureList)
	{
		margin-top: 1em;
		margin-bottom: 1em;
		overflow: hidden;
	}

	ol:not(.is-structureList) ol:not(.is-structureList),
	ol:not(.is-structureList) ul:not(.is-structureList),
	ul:not(.is-structureList) ol:not(.is-structureList),
	ul:not(.is-structureList) ul:not(.is-structureList)
	{
		margin-top: 0;
		margin-bottom: 0;
	}
}
/* bbwrapper **/

#ua a:visited {
	color: #f7861b !important;;
	text-decoration: none;
}

#ua a:link {
	color: #f7861b !important;;
	text-decoration: none;
}

#ua a:active {
	color: #f7861b !important;;
	text-decoration: none;
}

in My code add new my code...
Title :- Underage content warning
Short description :- An usefull tool for mods to warn on underage contents.
Regular Expression :- 
\[UA\](.*?)\[/UA\]

Replacement :- 
<div id="ua" class="bbWrapper" style="text-align: center;"><div style="background-color: #F5F5FF;border: 4px solid #2978ad;color: black;padding: 5px;font: 10pt; font-weight: bold;border-radius: 6px;">
Do not post and request ANY Underage materials (especially of children) on {your website name} that show minor in sexual / non - sexual act either nude or non-nude. That includes Videos, Full length movies, Pics, Stories, porn etc. Doing so will result in warnings and permanent bans. See this for more information.
If you have any questions regarding this, please open a new thread in <span id="ua"><a href="your askt staff forum url">  Ask Staff</a></span> Thanks .<br />
<br /><center>
regards<br />@$1</center>

</div></div>

Enabled :- Yes