The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
<a href="http://www.vbulletin.com/forum/showthread.php?360671-Preventing-posts-that-have-forbidden-content" target="_blank">http://www.vbulletin.com/forum/showt...bidden-content</a>
1- When a forum member posting a message, i want to check the content of the message and prevent posting if the message contains forbidden words and warn the poster about that Simon from vbulletin.com gave me a plugin. it sends the message to moderation queue if message contains forbidden words. But i want to prevent posting and warn user. 2- I want to restrict posting with code block. i modified the bbcode_code. original bbcode_code template: <div style="margin:20px; margin-top:5px"> <div class="smallfont" style="margin-bottom:2px">$vbphrase[code]:</div> <pre class="alt2" dir="ltr" style=" margin: 0px; padding: $stylevar[cellpadding]px; border: 1px inset; width: $stylevar[codeblockwidth]; height: {$blockheight}px; text-align: left; overflow: auto">$code</pre> </div> i modified it like that and it acted like a normal hyperlink: <a href="$code">$code</a> that worked perfect for the single links in the code block but multiple links gone wild. These 2 thing is big troubles for me which i can't solve. Any ideas pls? |
#2
|
|||
|
|||
![]()
Or can i modify links as clickable in CODE block?
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|