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:
priority low - disable some profile options
- phillyb™
- //banned
- posts: 5567
- joined: 10/01/13 @ 16:06
- contact:
priority low - disable some profile options
don't get caught
- phillyb™
- //banned
- posts: 5567
- joined: 10/01/13 @ 16:06
- contact:
Re: priority low - disable some profile options
also this article - https://www.phpbb.com/community/viewtop ... &t=2116697
don't get caught
- phillyb™
- //banned
- posts: 5567
- joined: 10/01/13 @ 16:06
- contact:
- phillyb™
- //banned
- posts: 5567
- joined: 10/01/13 @ 16:06
- contact:
Re: priority low - disable some profile options
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...
but then we also need to...
and do it for the variables we're actually omitting.
fyi, i don't want to get rid of website.
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