[TH] XenBlog [Deleted]

You should have an option for other members that don't have admin to post blogs... It's a request really. I know it's for admins that's why I'm posting in this thread.
 
I use the mod and *any* member can post a blog. The original mod was Admins only, but it is a full fledged multi-user blog now. :D
 
Hi, in Blog.php (/library/Borbole/AdminBlogs/AttachmentHandler)
find
Code:
protected function _canViewAttachment(array $contentData, array $viewingUser)
    {
        return ($viewingUser['user_id'] AND XenForo_Permission::hasPermission($viewingUser['permissions'], 'blog', 'viewAttachments'));
    }
replace
Code:
protected function _canViewAttachment(array $contentData, array $viewingUser)
    {
        return (XenForo_Permission::hasPermission($viewingUser['permissions'], 'blog', 'viewAttachments'));
    }


* Set permissions for guests to view attachments
Thanks for the help! This method works.
 
Back
Top Bottom