1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

Thread moving and emote disabling now working

This commit is contained in:
mcfly
2008-12-17 18:48:02 +00:00
parent 0c7fb98d2e
commit 90e46f8066
7 changed files with 124 additions and 90 deletions

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/forum/forum_post.php,v $
| $Revision: 1.32 $
| $Date: 2008-12-15 00:29:20 $
| $Revision: 1.33 $
| $Date: 2008-12-17 18:48:02 $
| $Author: mcfly_e107 $
+----------------------------------------------------------------------------+
*/
@@ -242,6 +242,10 @@ if (isset($_POST['newthread']) || isset($_POST['reply']))
$postInfo['post_forum'] = $forumId;
$postInfo['post_datestamp'] = $time;
$threadInfo['thread_lastpost'] = $time;
if(isset($_POST['no_emote']))
{
$postInfo['post_options'] = serialize(array('no_emote' => 1));
}
//If we've successfully uploaded something, we'll have to edit the post_entry and post_attachments
if($uploadResult = process_upload($newPostId))