![]() |
Please help me to add warning bbcode?
1 Attachment(s)
Please guide me to adding custom warning BBcode code in my forum with only mod and admin permission.
I mean only mod and admin can use the warning BBcode. Thanks..!! i want exactly like this Screenshot below |
no one here ?
|
Quote:
|
Quote:
bro this is totally different from the screenshot above.. I want exactly like this. http://www.vbulletin.com/forum/misc....bbcode#warning only i need the Replacement code.. Thanks |
well the bbcode is easy its the mod control only that's going to be hard
|
Quote:
i don't understand. add new bbcode option in ACP |
For the replacement code (taken from their page source):
HTML Code:
<div style="border: 1px solid rgb(255, 0, 0); color: rgb(0, 0, 0); background-color: rgb(245, 255, 255); padding: 5px;" class="contentnote"><span style="color: rgb(255, 0, 0); background: none repeat scroll 0% 0% transparent; font-weight: bold;">Warning:</span> {param}</div> |
Quote:
You are really helpful |
Quote:
I dont get it. seems like everyone will be able to use it |
1 Attachment(s)
yep the bbcode is correct but, it doesn't stop anyone from using it I think they wanted permissions added somehow to allow only mods and admins to use this bbcode and as you see it allows all
|
Quote:
|
Quote:
Example: [snicklefrits]warning blah blah blah..!![/snicklefrits] Description: -Empty- Use Option: No Button Image: No Remove Tag If Empty: Yes Disable BB Code Within This BB Code: No Disable Smilies Within This BB Code: No Disable Word Wrapping Within This BB Code: No |
Users will easily figure it out just by quoting. I'd just write a plugin that makes it so the bbcode doesn't get implemented unless a mod/admin uses it. So, it would just show the bbcode if someone else tried to use it. Or, actually just remove all the code if it's not a mod/admin. A couple of ways you can do it.
|
Quote:
|
I haven't looked into it at all. you'd need a few - one for processing when using the ajax Quick Reply, and others for using the Post Reply and also the New Thread.
|
If I may, this will work with one minor correction:
https://vborg.vbsupport.ru/showthread.php?t=122942 I have tested it out on admin permission then as a regular member. This being the minor correction: https://vborg.vbsupport.ru/showpost....&postcount=306 |
Quote:
|
Quote:
I tried the whole [ warning ] as a regular member and it came out just as that. |
All times are GMT. The time now is 11:01 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|