Location: PHPKode > scripts > WebsiteMemberManager > members-section/html-admin/tips.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="copyright" content="www.websitemembermanager.com" />
<title>TIPS for WMM Members area configuration</title>
<style type="text/css">
<!--
BODY{font-size: 9pt; font-family: Geneva, Arial, Helvetica, sans-serif}
-->
</style>
</head>
<body leftMargin="0" topMargin="0" marginwidth="0" marginheight="0">
<br />
<div style="padding-left:3%;">
  <div id="layer" style="padding:4px; width:96%; " class="ui-widget-content ui-corner-all">
    <h1 align="center"><font color="#008000"><a href="http://www.websitemembermanager.com/"><img
    src="images/wmm-logo-small.gif"
    alt="WMM - Your automated members area for your own website" width="128" height="59" border="0" /></a>TIPS on configuration</font></h1>
    <div align="center"><center>
  <table border="0" cellpadding="5" bgcolor="#E6FFE6">
    <tr>
      <td align="left">
        <ul>
          <li><strong>Adding the login box
            to your homepage</strong> is  easy. To create a link like this: 
            <strong>
<?php 
$location = "members/"; 
include("include-login-form.php"); 
?>
            </strong>            (which displays the
            login box within your page). All you need to do is add the PHP code below to your
            homepage:<br />
            <textarea rows="4" name="textarea" cols="130" style="font-size:9pt">&lt;?php
$location = "members-section/members/";//use this setting to include the link on your homepage or any other page on your root
include("members-section/include-login-form.php");
?&gt;</textarea>
            <br />
            <br />
          </li>
          <li><strong><font color="#0000FF">*</font></strong> <font color="#000000"><strong>When testing a new member account</strong><br />
            There is no need to log off from your admin area, you can now login automatically just <a href="view.php"></a>search for a member then 
&quot;<strong>LOGIN as this member</strong>&quot;link.</font>
                          <br />
            <br />
            <br />
          </li>
          <li><font color="#000000"><strong>Creating private content</strong><br />
            (allows you to provide individual files for each member if required)<br />
            </font><br />
            <font color="#000000">To activate this all you need to do is:
            <ol>
              <ol>
                <li><strong>Your system will automatically create private
                  folders - to change this alter the </strong> <em>CREATE_PRIVATE_FOLDERS</em> constant in the
                  file: /members/constants.php <br />
                  New folders are automatically created in
                  this location: <br />
                  <strong>/members/content/Private_folders_ONLY/[username]/ </strong><br />
                  So if their username was &quot;hide@address.com&quot; it would be: <br />
                  <strong>/members/content/Private_folders_ONLY/them-at-theirdomain.com/</strong><br />
                  <br />
                  <strong><font color="#0000FF">*</font></strong> new folders are now created by replacing the  &quot;@&quot; with &quot;-at-&quot; <br />
                  (if old folders exist with the &quot;@&quot; symbol then it will still work) <br />
                  <br />
                  <br />
                  </li>
                <li>Set the folder: <br />
                  <strong>/members/content/Private_folders_ONLY/</strong><br />
                  to <em>read and write</em> - chmod to 777 (there are <a href="http://www.google.co.uk/search?q=ftp+%22how+to%22+chmod&amp;">several help pages devoted to this task here</a>) <br />
                  <br />
                  </li>
                <li>Then, each time a new member joins the files, if any
                  exist, will be copied from: <br />
                  <br />
                  <strong>/members/content/DEFAULT_specific_member_pages/</strong><br />
                  <br />
                  to the new folder automatically. </li>
              </ol>
            </ol>
          </li>
          </ul>
        <blockquote>
          <blockquote>
            <p><font color="#000000"><strong>Optional config:</strong><br />
              change the constant in the file: /php-lib/constants.php <br />
              &nbsp;&nbsp;&nbsp;&nbsp;YOUR_PERSONAL_FILES by default is set to &quot;Your personal files&quot; </font></p>
            <p><em><font color="#000000">ONLY when there are files (.html or .php)
              within a members folder will the personal menu appear.</font></em><br />
            </p>
            </blockquote>
        </blockquote>
        <ul>
          <li><strong>Display a Notice to New members </strong>- displayed to new members on first login only.<br />
          New members will be shown the file: <br />
          /members/content/NEW-member-welcome.html<br />
          <br />
          This is shown just once, on first login if the constant <em> SHOW_NEW_MEMBER_WELCOME</em>
          is set to true in the file: /members/constants.php 
          <hr />
          <p><br />
            <br />
            </p>
              </li>
          <li><strong>Integrating phpBB forum<br>
            </strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Note: You must make a separate install of <a
        href="http://www.phpbb.com/downloads.php">phpBB</a> to use the following</font></li>
        </ul>
        <div align="center"><center><table border="0" bgcolor="#FFFFFF"
    cellpadding="0" width="548">
          <tr>
            <td width="208"><p align="center"><font color="#008000"><a href="http://www.websitemembermanager.com/"><img
    src="images/wmm-logo-small.gif"
    alt="WMM - Your automated members area for your own website" width="128" height="59" border="0" /></a></font></td>
          <td width="214"><p align="center"><strong><font color="#000000"> give access to </font>&gt;&gt;</strong><br></td>
          <td width="118"><p align="center"><font color="#006699"><strong>phpBB</strong></font></td>
        </tr>
          </table>
      </center></div><blockquote>
        <p align="center"><strong><font color="#FF0000">Backup before implementing.
          &nbsp; BACKUP now, wait, someone will still not bother!&nbsp; <br>
          Backup, do not come whinging.....</font></strong></p>
        <blockquote>
          <p><font color="#000000">If you intend to use WMM as your
            authentication system (allowing automatic access to phpBB by all existing and new
            WMM members) then complete the following:</font>
          <ul>
              <li><font color="#000000">edit the file: <strong>/members/constants.php<br>
                </strong>changing the constant FORUM_ENABLED to true<br />
                <br />
                </font></li>
            <li><font color="#000000">edit the phpBB register file:<br />
              <em>/forum/styles/[style-name]/template/ucp_register.html</em><br />
              <br />
              Remove the HTML and replace with your own HTML such as: <br /> 
              </font>
              <br />
              <font color="#0000FF"><strong>Please login or register here: 
                
                <br />
                [create a link to your WMM login page]</strong></font> <strong><br />
                  </strong></li>
            </ul>
          </blockquote>
      </blockquote>
      <p align="center">&nbsp;</p>
      <blockquote>
        <blockquote>
          <p align="left"><font color="#000000"><strong>Note:</strong> you may also need to amend
            the constants: FORUM_LOCATION and FORUM_FOLDER_NAME within the <strong>/members/constants.php</strong>
            file.<br>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The default settings are for the following folder
            structure:<strong><br>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
              &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img src="images/phpbb_structure.gif"
        width="144" height="49"></strong></font><br>
            <font color="#000000">Also, for this to work correctly both
              WMM and phpBB need to be on the same domain/web space (but can use the same
              <strong>or</strong> different databases).&nbsp; When setup you will be able to access your
              phpBB forum as an administrator from the <a href="get_details.php">main menu</a> (system
              watch section).<br>
              <br>
              <strong>Creating a link to the forum</strong> - use the file:<br>
  &nbsp; &nbsp; /members/content/Forum (phpBB access).html <br>
              or just make a link to /members/phpbb/_phpbb_login.php<br>
              it is secure to link directly to this file - only if your member is logged
              in will they be logged into your forum.<br>
              <br>
              <strong>Existing phpBB members!<br>
                </strong>If existing phpBB members logs into phpBB from within WMM then it will create a new phpBB account, unless they have logged into phpBB via WMM previously.<br />
              If you have phpBB members who wish to retain their existing forum account then ask them to login to the forum as normal via the phpBB login page. <br />
              <br />
              </font><br />
            <font color="#000000"> <strong>New phpBB members</strong> <br />
              The new
              username will be the same as the WMM  username
              (trimmed to maximum length of 250 characters) with the &quot;@&quot; symbol
              replaced with &quot; - &quot; (space hyphen space), this is done to prevent spam bots
              collecting email addresses. &nbsp; </font><br>
            <br>
            <font color="#000000"><strong>Restricting access to phpBB</strong><br>
              Login as an
              administrator to phpBB and Go to Administration Panel<br>
              - then click on the permissions link on the left.<br>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For more details on this please refer to the</font> <a
        href="http://www.phpbb.com/" target="_blank">phpBB site</a>.</p>
        </blockquote>
      </blockquote>
      <blockquote>
        <blockquote>&nbsp;</blockquote>
        </blockquote>
   <ul>
        <li>
          <p align="left"><font color="#000000"><strong>Altering the Company name</strong><br>
          This can be changed by altering the value assigned to CO_NAME within the <strong>config.inc.php</strong>
          file.&nbsp; This is set when you first install the application.</font>            </p>
          <blockquote>
            <p>&nbsp;</p>
          </blockquote>
        </li>
        <li>
          <p align="left"><font color="#000000"><strong>Changing the footers<br>
          </strong>You can easily add your own html to both,<strong> see: /html-members/footer.html</strong>
          and <strong>/html-admin/footer.html</strong></font>            </p>
          <blockquote>
            <p>&nbsp;</p>
          </blockquote>
        </li>
        <li>
          <p align="left"><font color="#000000"><strong>Changing the headers<br>
          </strong>Changing the headers can result in errors as these contain PHP. &nbsp;&nbsp;
          However, you can still add your own html, but this requires a greater amount of
          care.&nbsp;</font><br />
          <font color="#000000"><strong>see: /html-members/header.html</strong> and <strong>/html-admin/header.html</strong></font><br />
              <br />
              </p>
        </li>
        <li><a name="change_inputs" id="change_inputs"></a><strong>Changing the register.html page (removing inputs, companyname, etc.) </strong><br />
          <br />
          If you take a look at the <a href="http://demo.websitemembermanager.com/members-section/members/register">demo</a> it shows how easy it is to add/remove inputs.<br />
          <br />
          EDIT: /html-members/register.html <br />
          <br />
          change the second line from: <br />
          <strong>var inputs_to_remove=[&quot;companyname&quot;, &quot;address1&quot;, &quot;address2&quot;, &quot;country&quot;, &quot;postcode&quot;, &quot;tel&quot;, &quot;mobile&quot;, &quot;comments&quot;, &quot;heardaboutusfrom&quot;]</strong><br />
          to:<br />
          <strong>var inputs_to_remove=[ &quot;country&quot;, &quot;postcode&quot;, &quot;tel&quot;, &quot;mobile&quot;, &quot;comments&quot;, &quot;heardaboutusfrom&quot;]</strong><br />
          <br />
          and it will include the the companyname, address1 and address2. <br />
          <br />
            <br />
        </li>
        <li><font color="#000000"><strong>New members - registration completed: Changing the final
              message displayed</strong><br>
              The message displayed to NEW members having just registered is either
              MANUAL_ACTIVATION_MSG or AUTO_ACTIVATE_MSG depending on if you have auto activate set to
              manual or not.&nbsp; You can change this in <strong>/members/constants..php</strong>
              file.</font>
          <blockquote>
            <p>&nbsp;</p>
            <p align="center"><strong>Help is available in the forums - but please <a href="http://members.dwalker.co.uk/forum/search.php">search</a> for your issue first, thanks. </strong></p>
          </blockquote>
        </li>
        </ul>    </td>
    </tr>
  </table>
</center></div></div></div>
Return current item: WebsiteMemberManager