To access a profilefield do i need to acess db?
#1
// This isnt working even if my profilefield ID5 has the hex color there
if($userfields['fid5'])
{
        $format = "<span style=\"{$userfields['fid5']};\">{username}</span>";
}
// It always executes this part instead of the other
else
{
        $ugroup = $groupscache[$usergroup];
        $format = $ugroup['namestyle'];
}

What do i need to do to run the first block of code?
Do i need to assign anything?
All my plugins are available for free at MyBB Extend and on my GitHub. MyBB-Plugins.com has been closed and none of my plugins are officially maintained or supported.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)