* show user avatar (outfit) in forum posts

* show user position (group) in forum posts
* replaced forum actions links (move, remove, edit, quote) with images
* redirect directly to the thread on user login (on new reply)
* fixed account login redirect with special chars (like '&' and '?')
This commit is contained in:
slawkens1
2018-01-06 01:46:36 +01:00
parent c2574235ea
commit 544375378f
6 changed files with 136 additions and 43 deletions

View File

@@ -181,7 +181,12 @@ if($action == 'show_board' || $action == 'show_thread')
if(!$logged)
{
header('Location: ' . BASE_URL . '?subtopic=accountmanagement&redirect=' . BASE_URL . urlencode('?subtopic=forum'));
$extra_url = '';
if($action == 'new_post' && isset($_GET['thread_id'])) {
$extra_url = '&action=new_post&thread_id=' . $_GET['thread_id'];
}
header('Location: ' . BASE_URL . '?subtopic=accountmanagement&redirect=' . BASE_URL . urlencode('?subtopic=forum' . $extra_url));
return;
}