Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Tags Required Details »»
Tags Required
Version: 1.00, by Pedro Abelino Pedro Abelino is offline
Developer Last Online: Aug 2011 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.1.2 Rating:
Released: 05-09-2011 Last Update: Never Installs: 4
Code Changes Translations  
No support by the author.

This mod, show a alert box when someone try to create a thread without put tags.

Just search on clientscript/vbulletin_textedit.js

Code:
vB_Text_Editor.prototype.prepare_submit = function(subjecttext, minchars)
{
    var returnValue;
and below add:
Code:
    if (document.vbform.taglist.value == "") {
        alert("Tags Required please add some tags");
        return false;
    }
Thats all

Screenshots

File Type: jpg captureff4.jpg (20.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-10-2011, 01:42 PM
TBforums TBforums is offline
 
Join Date: Dec 2010
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 05-13-2011, 06:55 PM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 01-13-2013, 12:26 AM
kalilo81 kalilo81 is offline
 
Join Date: Aug 2008
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need this
can I exclude some forums?
Reply With Quote
  #5  
Old 10-03-2013, 09:29 AM
slinky slinky is offline
 
Join Date: Dec 2001
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's too bad that this no longer works. I believe the text editor was changed after this and works differently.
Reply With Quote
  #6  
Old 08-04-2014, 01:18 AM
pablodip pablodip is offline
 
Join Date: Mar 2014
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vb 4.2.2?
Reply With Quote
  #7  
Old 08-04-2014, 01:21 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doubtful, the editor changed, after this mod was posted.
Reply With Quote
  #8  
Old 08-04-2014, 11:29 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:05 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
  • Page Generation 0.04240 seconds
  • Memory Usage 2,278KB
  • Queries Executed 22 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (1)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete