12-08-2020, 07:26 PM
Mod Page to test.
It would either need a plugin or a core file edit to do it. As a core edit:
In ./inc/class_session.php, line 317:
After this, add:
Not tested but that should work. If you like, I can wrap that up in a small plugin for you.
Referencia:
https://community.mybb.com/thread-230506.html
It would either need a plugin or a core file edit to do it. As a core edit:
In ./inc/class_session.php, line 317:
PHP Code:
if(!$mybb->user['usertitle'])
{
$mybb->user['usertitle'] = $mybb->usergroup['usertitle'];
}
After this, add:
PHP Code:
if(!$mybb->user['usertitle'])
{
$usertitles = $cache->read('usertitles');
if(is_array($usertitles))
{
foreach($usertitles as $title)
{
if($mybb->user['postnum'] >= $title['posts'])
{
$mybb->user['usertitle'] = $title['title'];
break;
}
}
}
}
Not tested but that should work. If you like, I can wrap that up in a small plugin for you.
Referencia:
https://community.mybb.com/thread-230506.html