Wasn't quite sure where to post this, but I got the ok from Wayne Luke to post this. Anyway, if you are one of the ones running 4.1.10 Beta 1 and would like to apply the latest patch to your vBulletin installation, just follow the steps below....
In /blog_post.php, find: (Line 362)
Directly above, add:
Find: (Line 437)
Replace with:
I believe all other changes made to blog_post.php were fixes applied for 4.1.10 from 4.1.9
In /blog_post.php, find: (Line 362)
PHP Code:
$bloguserid = $userinfo['userid'];
PHP Code:
if ( // VBIV-13291, Check blog posting permission.
!($userinfo['permissions']['vbblog_entry_permissions'] & $vbulletin->bf_ugp_vbblog_entry_permissions['blog_canpost'])
OR
!($userinfo['permissions']['vbblog_general_permissions'] & $vbulletin->bf_ugp_vbblog_general_permissions['blog_canviewown'] )
)
{
print_no_permission();
}
PHP Code:
/* moderation is on, usergroup permissions are following the scheme and its
not a moderator who can simply moderate */
else if (
(
$vbulletin->options['vbblog_postmoderation']
OR
!($userinfo['permissions']['vbblog_entry_permissions'] & $vbulletin->bf_ugp_vbblog_entry_permissions['blog_followpostmoderation'])
)
AND
!can_moderate_blog('canmoderateentries', $userinfo)
AND
(!$bloginfo['blogid'] OR ($bloginfo['state'] == 'draft' AND $blog['status'] != 'draft'))
)
PHP Code:
/* moderation is on, usergroup permissions are following the scheme and its
not a moderator who can simply moderate */
else if (
(
$vbulletin->options['vbblog_postmoderation']
OR
!($userinfo['permissions']['vbblog_entry_permissions'] & $vbulletin->bf_ugp_vbblog_entry_permissions['blog_followpostmoderation'])
)
AND
!can_moderate_blog('canmoderateentries', $userinfo)
AND
!$bloginfo['blogid']
)
Comment