mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-22 18:20:31 -05:00
@@ -223,7 +223,7 @@ class ForumController extends Controller
|
||||
$topicCreator = User::findOrFail($topic->first_post_user_id);
|
||||
|
||||
// Post To ShoutBox
|
||||
Shoutbox::create(['user' => "0", 'mentions' => "0", 'message' => "User [url=https://blutopia.xyz/" .$user->username. "." .$user->id. "]" .$user->username. "[/url] has left a reply on topic [url=https://blutopia.xyz/community/topic/" .$topic->slug. "." .$topic->id. "]" .$topic->name. "[/url]"]);
|
||||
Shoutbox::create(['user' => "1", 'mentions' => "1", 'message' => "User [url=https://blutopia.xyz/" .$user->username. "." .$user->id. "]" .$user->username. "[/url] has left a reply on topic [url=https://blutopia.xyz/community/topic/" .$topic->slug. "." .$topic->id. "]" .$topic->name. "[/url]"]);
|
||||
Cache::forget('shoutbox_messages');
|
||||
|
||||
// Mail Topic Creator Of New Reply
|
||||
@@ -314,7 +314,7 @@ class ForumController extends Controller
|
||||
$forum->save();
|
||||
|
||||
// Post To ShoutBox
|
||||
Shoutbox::create(['user' => "0", 'mentions' => "0", 'message' => "User [url=https://blutopia.xyz/" .$user->username. "." .$user->id. "]" .$user->username. "[/url] has created a new topic [url=https://blutopia.xyz/community/topic/" .$topic->slug. "." .$topic->id. "]" .$topic->name. "[/url]"]);
|
||||
Shoutbox::create(['user' => "1", 'mentions' => "1", 'message' => "User [url=https://blutopia.xyz/" .$user->username. "." .$user->id. "]" .$user->username. "[/url] has created a new topic [url=https://blutopia.xyz/community/topic/" .$topic->slug. "." .$topic->id. "]" .$topic->name. "[/url]"]);
|
||||
Cache::forget('shoutbox_messages');
|
||||
|
||||
//Achievements
|
||||
|
||||
Reference in New Issue
Block a user