Info/Instructions: Be sure to backup all your files prior to modifying
Disclaimer: Please backup every file that you intend to modify. If the modification modifies the database, it's a good idea to backup your database before doing so.
Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
Cool, one thing though, is there a way to limit how many spaces can be used, I would be worried that all the smart asses at my site would do this with their custom title coolllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
<br />### <br />### STEP 4: Add the following line to your /languages/editbasic.php <br />### <br /> <br />$ubbt_lang['TITLE_TOO_LONG'] = "User Title too long."; <br />
should be...
Code
<br />### <br />### STEP 4: Add the following line to your /languages/changebasic.php <br />### <br /> <br />$ubbt_lang['TITLE_TOO_LONG'] = "User Title too long."; <br />
A simple type-o that is basically whatever the installer wants to set it at, is...
Code
// ------------------------------------------------ <br />// If the title is > 15 we don't allow <br /> if ( strlen($Title) > 20) { <br /> $html -> not_right($ubbt_lang['TITLE_TOO_LONG'],$Cat); <br /> } <br />
should be...
Code
// ------------------------------------------------ <br />// If the title is > 15 we don't allow <br /> if ( strlen($Title) > 15) { <br /> $html -> not_right($ubbt_lang['TITLE_TOO_LONG'],$Cat); <br /> } <br />
and one last thing that is purely a visual technicality is...
Check your files again. IF the box doesn't appear but the text "User Title" does in the editbasic.php screen then it means that it is not populated in the changebasic.php screen. If the "User Title" string doesn't appear at all then you missed the last step which is to update the editbasic.tmpl
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.