see
https://www.simplemachines.org/community/index.php?topic=570634.msg4039107#msg4039107EDIT: I
did not get this working on Dev 2.0.15 (still have an issue with the config formatting though) by:
1. I had to unzip the mod into it's own directory in
.Packages2. I had to make the minor manual changes that
failed to the existing code (and installed the rest)
3. modify i
nstall.php and removed any database code to this error:
Table 'smf209.custom_fields' doesn't exist
File: /var/www/html/Packages/temp/install.php
Line: 16
to now look like:
<?php
if (file_exists(dirname(__FILE__) . '/SSI.php') && !defined('SMF'))
{
$ssi = true;
require_once(dirname(__FILE__) . '/SSI.php');
}
elseif (!defined('SMF'))
exit('<b>Error:</b> Cannot install - please verify you put this in the same place as SMF\'s index.php.');
?>
4. add the column into the table (your db and table name may vary):
USE smf209;
ALTER TABLE smf209_custom_fields
ADD show_mlist tinyint(3)
;
5. check the box to display on memberlist in
Admin -> Features and Options -> Profile Fields > Profession (that i added)
My files affected by that mod end with "-new" in the Sources and Themes subdirs.
Post Merged: December 02, 2019, 02:34:02 PM
forget all that - the Profession displays in Topics once the Profession field is added anyway.i gave up as I still can't see it it the memberlist though !