Vincent
Well-known member
Hello,
If you want to show this message: (There's a fix for the "Show" button too )
 )

To everyone, not just the Moderators and Administrators this can be done by editing one line of code
Go to /library/XenForo/Model/Post.php and change
	
	
	
		
to
	
	
	
		
Now, everyone will be able to see the message I posted above + they will be able to click the "Show" button and view the post. I personally don't want them to be able to view the post, so I changed, in the template post_deleted_placeholder, this line of code:
	
	
	
		
to
	
	
	
		
				
			If you want to show this message: (There's a fix for the "Show" button too
 )
 )
To everyone, not just the Moderators and Administrators this can be done by editing one line of code

Go to /library/XenForo/Model/Post.php and change
		Code:
	
	'deleted' => XenForo_Permission::hasContentPermission($nodePermissions, 'viewDeleted'),to
		Code:
	
	'deleted' => true,Now, everyone will be able to see the message I posted above + they will be able to click the "Show" button and view the post. I personally don't want them to be able to view the post, so I changed, in the template post_deleted_placeholder, this line of code:
		Code:
	
	<a href="{xen:link threads/show-posts, $thread, 'post_id={$post.post_id}'}" class="MessageLoader control item show" data-messageSelector="#post-{$post.post_id}"><span></span>{xen:phrase show}</a>to
		Code:
	
	<xen:if is="{$post.canInlineMod}"><a href="{xen:link threads/show-posts, $thread, 'post_id={$post.post_id}'}" class="MessageLoader control item show" data-messageSelector="#post-{$post.post_id}"><span></span>{xen:phrase show}</a></xen:if> 
 
		 
 
		 
 
		