2005-09-06, 12:17 AM
2005-09-06, 12:29 AM
Actually now that I turned it off then back on... it's showing up. But it still says "The usertitle you have entered is too long."
2005-09-06, 06:20 AM
On an install and upgrade the Custom Usertitles box showed up instantly without any changing needed, and I can make the custom usertitle any length without any errors in both the front end and admin end. So I hjave no idea what is wrong. Can you provide some details please?
* What is the custom title you trying to change to?
* What is your exact usergroup? Admin no doubt?
* Have you cleaned cache, cookie etc and logged back in and tried again? If not, try it and let use know if it worked.
* Can you post any screenshots so we can see whats going wrong?
* Are you using the latest copy of PR2, with the recent patch release? If not, update and see if it works then.
* What is the custom title you trying to change to?
* What is your exact usergroup? Admin no doubt?
* Have you cleaned cache, cookie etc and logged back in and tried again? If not, try it and let use know if it worked.
* Can you post any screenshots so we can see whats going wrong?
* Are you using the latest copy of PR2, with the recent patch release? If not, update and see if it works then.
2005-09-06, 05:56 PM
* What is the custom title you trying to change to? Anything. I've tried 1 letter, 2 letters, 3, etc.
* What is your exact usergroup? Admin no doubt? Admin. But all users have the same problem.
* Have you cleaned cache, cookie etc and logged back in and tried again? If not, try it and let use know if it worked. I have.
* Can you post any screenshots so we can see whats going wrong? There's nothing really to take a shot of. It wont let me enter anything in the custom title field. It says it's too long, even if I type 1 character.
* Are you using the latest copy of PR2, with the recent patch release? If not, update and see if it works then. Yes, 686.
* What is your exact usergroup? Admin no doubt? Admin. But all users have the same problem.
* Have you cleaned cache, cookie etc and logged back in and tried again? If not, try it and let use know if it worked. I have.
* Can you post any screenshots so we can see whats going wrong? There's nothing really to take a shot of. It wont let me enter anything in the custom title field. It says it's too long, even if I type 1 character.
* Are you using the latest copy of PR2, with the recent patch release? If not, update and see if it works then. Yes, 686.
2005-09-06, 07:20 PM
And I presume it is the field in User CP > Edit Profile > Custom User Title too?
2005-09-06, 07:42 PM
That would be correct, sir!
P.S. I can edit it via AdminCP, but not via UserCP.
P.S. I can edit it via AdminCP, but not via UserCP.
2005-09-06, 07:52 PM
Ok, the code is fine But try this. Open usercp.php, and find:
if($mybb->usergroup['cancustomtitle'] == "yes")
{
if(strlen($mybb->input['usertitle']) <= $mybb->settings['customtitlemaxlength'])
{
$usertitle = $mybb->input['usertitle'];
}
elseif($mybb->input['usertitle'] == $mybb->user['usertitle'])
{
$usertitle = $mybb->input['usertitle'];
}
else
{
error($lang->error_customtitle_length);
}
}
and replace withif($mybb->usergroup['cancustomtitle'] == "yes")
{
if(strlen($mybb->input['usertitle']) > $mybb->settings['customtitlemaxlength'])
{
error($lang->error_customtitle_length);
}
else
{
$usertitle = $mybb->input['usertitle'];
}
}
It just gets rid of some un-needed code, if that works, I'll commit it 2005-09-06, 10:30 PM
I'll give it a shot and let you know!
Thank you sir!
Thank you sir!
2005-09-06, 10:32 PM
Crap! No change.
2005-09-06, 10:36 PM
Here's the link: http://www.intoxikating.org/bb/
Maybe I can setup a test account so you can see for yourself?
[edit] Is there a setting that controls the length in AdminCP?
Maybe I can setup a test account so you can see for yourself?
[edit] Is there a setting that controls the length in AdminCP?