dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse

This website has run out of funding so feel free to contribute if you can afford it (see footer)

Author Topic: Custom Fields On Memberlist  (Read 1092 times)

Offline Chip (OP)

  • Server Admin
  • Moderator
  • Hero Member
  • ***
  • Administrator
  • *****
  • Join Date: Dec 2014
  • Location: Australia
  • Posts: 6452
  • Reputation Power: 0
  • Chip has hidden their reputation power
  • Gender: Male
  • Last Login:Today at 05:45:04 PM
  • Deeply Confused Learner
  • Profession: IT Engineer
Custom Fields On Memberlist
« on: December 02, 2019, 02:01:01 PM »

EDIT: 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 .Packages

2. I had to make the minor manual changes that failed to the existing code (and installed the rest)

3. modify install.php and removed any database code to this error:

Code: [Select]
Table 'smf209.custom_fields' doesn't exist
File: /var/www/html/Packages/temp/install.php
Line: 16

to now look like:

Code: [Select]

if (file_exists(dirname(__FILE__) . '/SSI.php') && !defined('SMF'))
$ssi true;
dirname(__FILE__) . '/SSI.php');
elseif (!
'<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):

Code: [Select]
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 !
« Last Edit: December 02, 2019, 02:41:44 PM by Chip »
I do not condone or support any illegal activities. All information is for theoretical discussion and wonder.
All activities discussed are considered fictional and hypothetical. Information of all discussion has been derived from online research and in the spirit of personal Freedom.


dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse


In no event will d&u or any person involved in creating, producing, or distributing site information be liable for any direct, indirect, incidental, punitive, special or consequential damages arising out of the use of or inability to use d&u. You agree to indemnify and hold harmless d&u, its domain founders, sponsors, maintainers, server administrators, volunteers and contributors from and against all liability, claims, damages, costs and expenses, including legal fees, that arise directly or indirectly from the use of any part of the d&u site.


Founded December 2014
SimplePortal 2.3.6 © 2008-2014, SimplePortal