Monday, November 11, 2013

[How to] Remove Default Profile Fields in phpBB integrated with Drupal


PART 1 : REMOVING FIELDS FROM PHPBB
  1. FTP into the web server holding the phpBB forum that you want to modify. If you have access to the server directly, you don't need to use an FTP program. Log in with your administrator name and password.
  2. Navigate to the root folder of your phpbb installation. Change to the following directory (no quotes):
    "styles/yourstyle/template/"
  3. Download the following file to your computer:
    ucp_profile_profile_info.html ( 
    Make a back up of it before editing )
  4. Open the file "ucp_profile_profile_info.html" with a text or HTML editor. If you are accessing the directory on the server, you don't need to download the file and can open it directly with a text editor or HTML editor.
  5. Scroll down the page until you see the the HTML code for the input fields on the User Control Panel. This can be identified by a series of "<label>" and "<input>" tags.
  6. For example, the code for a user to label his/her ICQ number looks like this:
    <dl>

    <dt><label for="icq">{ICQ}:</label></dt>
    <dd><input type="text" name="icq" id="icq" maxlength="255" value="{ICQ}" class="inputbox" /></dd>

    </dl>
  7. Delete the code for the profile field between the "<dl>" tags by selecting it with your cursor
  8. Save the text file as "ucp_profile_profile_info.html".
  9. Reload the file to your web server using your FTP program.
PART 2 : REMOVING FIELDS FROM DRUPAL

  1. Go to Dashboard --> Configuration --> Account Settings
  2. Click on Manage fields tab near top right corner of the page.
  3. Delete the fields which you have removed from the PhpBB using above steps.


If you enjoyed this post, make sure you subscribe to my RSS feed! Comments are encouraged !

No comments:
Write comments