The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hello everyone,
I moved my vbulletin to a new server, and for some reason the auto Make Tags from threads feature in the admincp isn't working; I click on it and an empty page loads in the main frame, I will troubleshoot this on my own, but it gave me an idea. How can we make the THREAD TAG field when creating a new Thread "required" for anyone making a new discussion? I don't see it deterring most people from posting at all, but will certainly make tags more efficient if the author tags it him or herself, potentially. Thanks! ![]() |
#2
|
|||
|
|||
![]()
I haven't tested it much, but you could try this: create a new plugin using hook location newpost_process and this code:
PHP Code:
|
#3
|
|||
|
|||
![]()
Hey kh99,
What was the code for VB4? |
#4
|
|||
|
|||
![]()
Hmm... I guess it would have been a good idea to leave the original code there, because now I can't remember what was there. But maybe something like this:
Code:
if ($type == 'thread') { require_once(DIR . '/includes/class_taggablecontent.php'); $checktags = vB_Taggable_Content_Item::split_tag_list($post['taglist']); if (!count($checktags)) $errors[] = "At least one tag is required."; } |
#5
|
|||
|
|||
![]()
No, doesn't work. Too bad..
|
#6
|
|||
|
|||
![]()
I just tried it an it seems to work. I created a new plugin using hook newpost_process and I copied and pasted the above code, and when I try to create a new thread I get an error if the tags field is blank.
|
#7
|
|||
|
|||
![]()
You are right! It does work..I am sorry. Confused with something else.
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|