|
Require a post icon on new thread creation (or on every post)
This modification is in the archives.
Create a new phrase in the category "Front-End Error Messages" titled "noicon", with the text "You must choose a post icon before posting a new thread."
Open includes/functions_newpost.php Find: Code:
// check for subject/message
if (($post['message'] == '' AND $vboptions['postminchars'] > 0) OR ($type == 'thread' AND empty($post['title'])))
{
eval('$errors[] = "' . fetch_phrase('nosubject', PHRASETYPEID_ERROR) . '";');
}
Code:
// check for post icon
if ($type == 'thread' AND $post['iconid'] == 0)
{
eval('$errors[] = "' . fetch_phrase('noicon', PHRASETYPEID_ERROR) . '";');
}
Code:
// check for post icon
if ($post['iconid'] == 0)
{
eval('$errors[] = "' . fetch_phrase('noicon', PHRASETYPEID_ERROR) . '";');
}
Download No files for download. |
|||||||||
Similar Mods
| Mini Mods Require Post Icon | vBulletin 3.6 Add-ons |