Log in

View Full Version : Mini Mods - Tags Required


Pedro Abelino
05-09-2011, 10:00 PM
This mod, show a alert box when someone try to create a thread without put tags.

Just search on clientscript/vbulletin_textedit.js


vB_Text_Editor.prototype.prepare_submit = function(subjecttext, minchars)
{
var returnValue;


and below add:

if (document.vbform.taglist.value == "") {
alert("Tags Required please add some tags");
return false;
}


Thats all

:D

TBforums
05-10-2011, 01:42 PM
I think installing the mod that automatically inserts the correct tags would be more suitable instead of forcing members to manually insert tags. It could get annoying for your members.

Videx
05-13-2011, 06:55 PM
Annoying is the word! My members would just quickly learn to type a space or a nonsense phrase in there, so what I would end up with would be worse than no tags at all.

kalilo81
01-13-2013, 12:26 AM
I need this
can I exclude some forums?

slinky
10-03-2013, 09:29 AM
It's too bad that this no longer works. I believe the text editor was changed after this and works differently.

pablodip
08-04-2014, 01:18 AM
vb 4.2.2?

ozzy47
08-04-2014, 01:21 AM
Doubtful, the editor changed, after this mod was posted.

ozzy47
08-04-2014, 11:29 PM
For anyone wishing to use this sort of mod, I did one here:

vB4.x https://vborg.vbsupport.ru/showthread.php?t=313456

vB3.8.x https://vborg.vbsupport.ru/showthread.php?t=313455

vB3.7.x https://vborg.vbsupport.ru/showthread.php?t=313454

vB3.6.x https://vborg.vbsupport.ru/showthread.php?t=313453