2021-08-20, 06:14 PM
Recently in global.php i have added some codes that i needed , and the addition was successful. But i realise that i should fo this patches but i don't know how to use patches and i amn't so familiar with php. Please help me somebody.
The changes that i have made :-
1)
In line 472
2)In line 507
3.)in line 525
after this
please help me someone.
The changes that i have made :-
1)
In line 472
after header_welcomeblock_member, i have added
header_onlyfor_users_area,
2)In line 507
after $modcplink =
I have added $onlyforusers =
3.)in line 525
after this
if($mybb->usergroup['canmodcp'] == 1)
{
eval('$modcplink = "'.$templates->get('header_welcomeblock_member_moderator').'";');
}
i have added if($mybb->usergroup['canusercp'] == 1)
{
eval('$onlyforusers = "'.$templates->get('header_onlyfor_users_area').'";');
}
please help me someone.