PDA

View Full Version : $show['moderatecomments'] wrong declaration


SolidSnake@GTI
Sat 5th Sep '09, 3:56am
Hello,


As you can see in all vBulletin Blog 2.0.2 files, in all "$show['moderatecomments']" declarations, it's wrong declared.

$show['moderatecomments'] = (!$vbulletin->options['blog_commentmoderation'] AND $vbulletin->userinfo['permissions']['vbblog_comment_permissions'] & $vbulletin->bf_ugp_vbblog_comment_permissions['blog_followcommentmoderation'] ? true : false);
Where there is no vBulletin option with that red name "blog_commentmoderation".

It should be as follow "vbblog_commentmoderation":

$show['moderatecomments'] = (!$vbulletin->options['vbblog_commentmoderation'] AND $vbulletin->userinfo['permissions']['vbblog_comment_permissions'] & $vbulletin->bf_ugp_vbblog_comment_permissions['blog_followcommentmoderation'] ? true : false);

Found inside: "blog_usercp.php" & "blog_post.php", I didn't check the rest files.


Best Regards
SolidSnake@GTI