• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Loại bỏ trang thông báo sau khi post bài trong phpbb3x

Admin

Well-Known Member
Staff member
Administrator
Loại bỏ trang thông báo sau khi post bài trong phpBB3 bạn làm như sau
Mở posting.php tìm:

Code:
          // If the post need approval we will wait a lot longer.
          if ($post_need_approval)
          {
           meta_refresh(10, $redirect_url);
           $message = ($mode == 'edit') ? $user->lang['POST_EDITED_MOD'] : $user->lang['POST_STORED_MOD'];
           $message .= (($user->data['user_id'] == ANONYMOUS) ? '' : ' '. $user->lang['POST_APPROVAL_NOTIFY']);
          }
          else
          {
           meta_refresh(3, $redirect_url);

           $message = ($mode == 'edit') ? 'POST_EDITED' : 'POST_STORED';
           $message = $user->lang[$message] . '<br /><br />' . sprintf($user->lang['VIEW_MESSAGE'], '<a href="' . $redirect_url . '">', '</a>');
          }

          $message .= '<br /><br />' . sprintf($user->lang['RETURN_FORUM'], '<a href="' . append_sid("{$phpbb_root_path}viewforum.$phpEx", 'f=' . $data['forum_id']) . '">', '</a>');
          trigger_error($message);

Thay bằng:
Code:
redirect($redirect_url);
 

Facebook Comments

New posts New threads New resources

Back
Top