We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14779
    • 256 Posts
    OK, I have started to use WebLoginPE on several occasions, but never follow through because of the work involved in editing templates. I have a client with a need, and so have decided to pursue finalizing setting this up.
    I have achieved incredible success so far, thanks to this forum! smiley

    A couple questions.

    I have custom templates for:

    Login Success
    MembersProfile
    VeiwProfile
    Users
    UserOuter

    Here is my main call:
    [!WebLoginPE? &profileTpl=`MembersProfileTpl` &successTpl=`MembersLoginSuccessTpl` &customTable=`ww4w_contacts` &customFields=`Website,Bname` !]


    Here is the second call, used to display a single category of webusers:
    [!WebLoginPE? &type=`users` &usersList=`WW4W Contacts:default:default:fullname:ASC:webgroup(contacts)` &viewProfileTpl=`MembersViewProfileTpl` &usersTpl=`MembersUserTpl` &usersOuterTpl=`MembersUserOuterTpl` !]


    Registration works great, except that when I selected a custom avatar during registration, the default pic endded up being selected, not my custom pic.

    I am also trying to incorporate two custom fields, Business Name, and Website.

    I added this to the User Profile form (there is leftover table code, table works fine, just ignore):

    <label for="wlpeUserProfileBusinessName">Business Name</td><td>
    			<input id="wlpeUserProfileBusinessName" type="text" name="Bname" value="[+user.Bname+]" />
    			</label></td></tr>
    <tr><td>
    			<label for="wlpeUserProfileWebsite">Website</td><td>
    			<input id="wlpeUserProfileWebsite" type="text" name="Website" value="[+user.Website+]" />
    			</label></td></tr></table><br />

    Then, I added this to the user template:
    <p class="wlpeUserPageAttrBusinessName"><!--<span class="wlpeViewUsersBusinessName">Age</span>: -->[+view.Bname+]</p></td>
    		<td><p class="wlpeUserPageAttrWebsite"><!--<span class="wlpeViewUsersWebsite">Current Status</span>: -->[+view.Website+]</p>


    The first snippet call listed above correctly creates the tables and columns, however, they are not populated.

    Also, and this is the biggest item, I can’t edit my user profile. I can make changes, and then click save. It just takes me back to the login success message, and when I click the profile button, none of the changes have been made.

    running php 5.3.1, modx 1.0.2, webloginPE 1.3.0

    Any and all help will be appreciated!

      PM me to find out how you can get a FREE ipad 2!