mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-03 00:40:12 -05:00
Add the page number and post ID to system messages
This commit is contained in:
@@ -224,7 +224,7 @@ class ForumController extends Controller
|
||||
|
||||
// Post To ShoutBox
|
||||
$appurl = config('app.url');
|
||||
Shoutbox::create(['user' => "1", 'mentions' => "1", 'message' => "User [url={$appurl}/" . $user->username . "." . $user->id . "]" . $user->username . "[/url] has left a reply on topic [url={$appurl}/community/topic/" . $topic->slug . "." . $topic->id . "]" . $topic->name . "[/url]"]);
|
||||
Shoutbox::create(['user' => "1", 'mentions' => "1", 'message' => "User [url={$appurl}/" . $user->username . "." . $user->id . "]" . $user->username . "[/url] has left a reply on topic [url={$appurl}/community/topic/" . $topic->slug . "." . $topic->id . "?page={$post->getPageNumber()}#post-{$post->id}" . "]" . $topic->name . "[/url]"]);
|
||||
Cache::forget('shoutbox_messages');
|
||||
|
||||
// Mail Topic Creator Of New Reply
|
||||
|
||||
Reference in New Issue
Block a user