priority low - disable some profile options

phorum bugs and suggestions
user avatar
phillyb™
//banned
posts: 5567
joined: 10/01/13 @ 16:06
contact:

priority low - disable some profile options

postby phillyb™ » 10/12/13 @ 02:28

remove extra shit on the profile page. we don't need a lot of this info.

this article explains how to do it - https://www.phpbb.com/community/viewtop ... 5#p9570805

remove ICQ number:, AOL Instant Messenger:, WL/MSN Messenger:, Yahoo Messenger:, Jabber address:, Occupation:, and Interests:
don't get caught
user avatar
phillyb™
//banned
posts: 5567
joined: 10/01/13 @ 16:06
contact:

Re: priority low - disable some profile options

postby phillyb™ » 10/12/13 @ 02:31

don't get caught
user avatar
phillyb™
//banned
posts: 5567
joined: 10/01/13 @ 16:06
contact:

Re: priority low - disable some profile options

postby phillyb™ » 10/25/13 @ 10:45

bump
don't get caught
user avatar
phillyb™
//banned
posts: 5567
joined: 10/01/13 @ 16:06
contact:

Re: priority low - disable some profile options

postby phillyb™ » 10/26/13 @ 18:09

hmmmm...
according to this post - https://www.phpbb.com/community/viewtop ... #p12931853

we can edit /includes/ucp/ucp_profile.php
and change some of the options there. we'll need to look at the example and change each line we want to omit...

code: select all

$data = array(
               'icq'         => request_var('icq', $user->data['user_icq']),
               'aim'         => request_var('aim', $user->data['user_aim']),
               'msn'         => request_var('msn', $user->data['user_msnm']),
               'yim'         => request_var('yim', $user->data['user_yim']),
               'jabber'      => utf8_normalize_nfc(request_var('jabber', $user->data['user_jabber'], true)),
               'website'      => request_var('website', $user->data['user_website']),
               'location'      => utf8_normalize_nfc(request_var('location', $user->data['user_from'], true)),
               'occupation'   => utf8_normalize_nfc(request_var('occupation', $user->data['user_occ'], true)),
               'interests'      => utf8_normalize_nfc(request_var('interests', $user->data['user_interests'], true)),
            );


but then we also need to...

Finally, execute this SQL statement (assuming your table prefix is phpbb_) to erase existing entries:

code: select all

UPDATE phpbb_users SET user_website= ''


and do it for the variables we're actually omitting.

fyi, i don't want to get rid of website.
don't get caught

return to “bugs, phixes, pheedback, and suggestions”

who is online

users browsing this phorum: no registered users and 2 guests