lily143
08-21-2005, 12:41 PM
File edits:
In includes/functions_newpost.php find:
PHP Code:
eval('$errors[] = "' . fetch_phrase('toomanyimages', PHRASETYPEID_ERROR) . '";');
}
Add after:
PHP Code:
$errors = array_merge($errors, verify_message_urls($post['message']));
Find:
PHP Code:
return sizeof($errors);
}
Add after (making sure you change REPLACE_NUMBER_OF_POSTS_HERE to the number of posts a user must have before being able to post/pm URLS):
PHP Code:
function verify_message_urls($pagetext) {
global $vboptions, $vbphrase, $bbuserinfo;
credit: vb.org
In includes/functions_newpost.php find:
PHP Code:
eval('$errors[] = "' . fetch_phrase('toomanyimages', PHRASETYPEID_ERROR) . '";');
}
Add after:
PHP Code:
$errors = array_merge($errors, verify_message_urls($post['message']));
Find:
PHP Code:
return sizeof($errors);
}
Add after (making sure you change REPLACE_NUMBER_OF_POSTS_HERE to the number of posts a user must have before being able to post/pm URLS):
PHP Code:
function verify_message_urls($pagetext) {
global $vboptions, $vbphrase, $bbuserinfo;
credit: vb.org

