We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10076
    • 1,024 Posts
    Hi

    Just a small question.
    All seems to be running fine exept for the register form. I get a
    Unknown column ’lastname’ in ’field list’ »
    SQL: INSERT INTO `nedver_nedver`.`web_user_attributes`
    error. Probably "web_user_attibutes" should be "web_user_attibutes_extended"?

    I cant see the mistake, so here’ s my call and registerTpl:

    [!WebLoginPE? &type=`register` &registerTpl=`registerTpl` &groups=`leden`  &customFields=`street,number,firstname,lastname` &regType=`verify`  &registerSuccessTpl=`registerSuccessTpl` &notifyTpl=`notifyTpl` &notify=`[email protected]`!] 


    [+wlpe.message+]
    <div id="wlpeRegister">
    	<form id="wlpeRegisterForm" name="wlpeRegisterForm" action="[~[*id*]~]" method="POST">
    		<fieldset id="wlpeRegisterFieldset">
    			<p class="wlpeRegisterInfo">Om lid te worden dient u onderstaand formulier in te vullen.</p>
    			<p class="wlpeRegisterInfo">U krijgt per email gegevens toegestuurd om uw het account te activeren.</p>
    			<ol>
    			<li>
    			<label for="wlpeRegisterFirstName">Voornaam*
    			<input type="text" class="pefield" id="wlpeRegisterFirstName" name="firstname" />
    			</label>
    			</li>
    <li>
    			<label for="wlpeRegisterLastName">Achternaam*
    			<input type="text" class="pefield" id="wlpeRegisterLastName" name="lastname" />
    			</label>
    			</li>
    
    <li>
    			<label for="wlpeRegisterStreet">Straatnaam*
    			<input type="text" class="pefield" id="wlpeRegisterStreet" name="street" />
    			</label>
    			</li>
    
    
    			<li>
    			<label for="wlpeRegisterNumber">Huisnummer*
    			<input type="text" class="pefield" id="wlpeRegisterNumber" name="number" />
    			</label>
    </li>
    <li>
    			<label for="wlpeRegisterZip">Postcode
    			<input id="wlpeRegisterZip" class="pefield"type="text" name="zip" />
    			</label>
    </li>
    
    <li>
    			<label for="wlpeRegisterDob">Geboorte datum <span class="info">(MM-DD-YYYY)</span>
    </li>
    <li>
    			<input id="wlpeRegisterDob" type="text" class="pefield" name="dob" />
    			</label>
    </li>
    
    <li>
    			<label for="wlpeRegisterEmail">Email Adres*
    			<input type="text" class="pefield"  id="wlpeRegisterEmail" name="email" />
    			</label>
    			</li>
    
    
    			<li>
    			<label for="wlpeRegisterUserName">Gebruikersnaam*
    			<input type="text" class="pefield" id="wlpeRegisterUserName" name="username" />
    			</label>
    			</li>
    			</ol>
    		</fieldset>
    		<fieldset id="wlpeRegisterButtonFieldset">
    			<button type="submit" id="wlpeRegisterButton" name="service" value="register">Bevestig</button>
    			<button type="submit" id="wlpeRegisterCancelButton" name="service" value="cancel">Cancel</button>
    		</fieldset>
    	</form>
    </div>
      • 10940
      • 71 Posts
      The demo site link is not working. Where can I access a few demos to get me started?
        • 10076
        • 1,024 Posts
        My password changes are not saved, can someone confirm that I should edit as in this thread:
        http://modxcms.com/forums/index.php/topic,18006.0.html

        I attached the dutch language file
          • 31471
          • 206 Posts
          That’s a very old thread.
          In version 1.3.1 and 1.3.2b the function looks for password_confirm (and anything_confirm) but some of the default forms post ’password.confirm’.
          So this is what you have to change.
            • 10076
            • 1,024 Posts
            SOLVED: found thisfrom dr Scotty mself:

            ’saveprofile’ is now ’saveprofilesimple’

            works, yeha!

            **edit: actually, no changes are saved anymore? Will update to the 1.3.2b version tonight. Could it be the style sheet I am using? >:(
            I am getting this validation error (the only one)
            Line 33, Column 21: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag
            <div id="wlpeLogin">

            *******

            Thanks,

            changed that but still the password remains the same. Using this form:

            	$wlpeProfileTpl = '[+wlpe.message+]
            	<div id="wlpeUser">
            		<form enctype="multipart/form-data" id="wlpeUserProfileForm" action="[~[*id*]~]" method="post">
            			<fieldset id="wlpeUserProfileInput">
            				<div id="wlpeUserInfo">
            					<h3 id="wlpeProfileWelcome">Hoi [+user.fullname+] [+user.lastname+]!</h3>
            					<p id="wlpeProfileInfo" class="info">Bewerk hier je gegevens</p>
            				</div>
            				<label for="wlpeUserProfileFullName">Naam
            				<input id="wlpeUserProfileFullName" type="text" name="fullname" value="[+user.fullname+]" />
            				</label>
            				<label for="wlpeUserProfileLastName">Achternaam
            				<input id="wlpeUserProfileLastName" type="text" name="lastname" value="[+user.lastname+]" />
            				</label>
            				<label for="wlpeUserProfileEmail">Email
            				<input id="wlpeUserProfileEmail" type="text" name="email" value="[+user.email+]" />
            				</label>
            				<label for="wlpeUserProfilePhone">Telefoon nummer
            				<input id="wlpeUserProfilePhone" type="text" name="phone" value="[+user.phone+]" />
            				</label>
            				<label for="wlpeUserProfileMobile">Mobiel nummer
            				<input id="wlpeUserProfileMobile" type="text" name="mobilephone" value="[+user.mobilephone+]" />
            				</label>
            				<label for="wlpeUserProfileFax">Fax nummer
            				<input id="wlpeUserProfileFax" type="text" name="fax" value="[+user.fax+]" />
            				</label>
            				<label for="wlpeUserProfileCity">Stad
            				<input id="wlpeUserProfileCity" type="text" name="city" value="[+user.city+]" />
            				</label>
            				<label for="wlpeUserProfileZip">postcode
            				<input id="wlpeUserProfileZip" type="text" name="zip" value="[+user.zip+]" />
            				</label>
            				<label for="wlpeUserProfileState">Provincie
            				<input id="wlpeUserProfileState" type="text" name="state" value="[+user.state+]" />
            				</label>
            				<label for="wlpeUserProfileDob">Geboorte datum <span class="info">(DD-MM-YYYY)</span>
            				<input id="wlpeUserProfileDob" type="text" name="dob" value="[+user.dob+]" />
            				</label>
            				[+form.gender+]
            				
            				<label for="wlpeUserProfileComment">Commentaar
            				<textarea id="wlpeUserProfileComment" name="comment">[+user.comment+]</textarea>
            				</label>
            			</fieldset>
            							
            				<fieldset id="wlpeNewPasswordArea">
            					<legend id="wlpeNewPasswordAreaLegend">Verander je paswoord</legend>
            					<p id="wlpeNewPasswordInfo">Verander je paswoord <br /><span class="info">(niks invullen als je het niet wilt veranderen).</span></p>
            
            					<label for="wlpeUserProfilePassword">Nieuw Paswoord
            					<input id="wlpeUserProfilePassword" type="password" name="password" />
            					</label>
            
            					<label for="wlpeUserProfilePasswordConfirm">Bevestig nieuw paswoord 					
            					<input id="wlpeUserProfilePasswordConfirm" type="password" name="password_confirm" />
            					</label>
            				</fieldset>
            				
            			<fieldset id="wlpeUserProfileButtons">
            				<button type="submit" id="wlpeSaveProfileButton" name="service" value="saveprofile">Opslaan</button>
            				<button type="submit" id="wlpeProfileDoneButton" name="service" value="cancel">Laat maar</button>
            				<button type="submit" id="wlpeProfileLogoutButton" name="service" value="logout">Uitloggen</button>
            				<button type="submit" id="wlpeProfileDeleteButton" name="service" value="deleteprofile">Verwijder mijn gegevens</button>
            			</fieldset>
            		</form>
            	</div>';
              • 36832
              • 22 Posts


              Hello Dr. Scotty and everyone,

              Thanks for having a look, I would appreciate if you can have a look at these issues I am having with 1.3.1 fixed WebLoginPE downloaded yesterday, which I have implemented using this call:

              [!WebLoginPE? &type=`register` &regRequired=`email,username,fullname,password,formcode,tos` &groups=`Members` &regSuccessId=`118`!] 


              1. User profile can’t be updated by the user, either text or photo.

              2. User it is not automatically added to the group (ie. in my case Members) specified in the call.

              3. When signing up, I get this error when registering, I guess related to the photo uploading folder. The ’userimages’ folder is chmoded to 777.


              « MODx Parse Error »
              MODx encountered the following error while attempting to parse the requested resource:
              « PHP Parse Error »
               
              PHP error debug
                Error:	%v%v() [function.%v]: failed to open stream: Permission denied	 
                Error type/ Nr.:	Warning - 2	 
                File:	/srv/www/htdocs/modx/assets/snippets/webloginpe/webloginpe.class.php	 
                Line:	2527	 
                Line 2527 source:	 if (!move_uploaded_file($_FILES['photo']['tmp_name'], $userImage))	 
               
              Parser timing
                MySQL:	0.0175 s	(21 Requests)
                PHP:	0.2268 s	 
                Total:	0.2443 s


              Thanks, best,
              Alex
                • 21985
                • 82 Posts
                Hello Dr. Scotty Delicious

                I just tried webloginPE, registration works but when one is identified and that you click on the ’profile’, changes in the profile are not, whether with the ’done’ or ’save’, no error message is displayed

                Best Regards
                Patrick
                  • 36832
                  • 22 Posts

                  it seems no one is willing to help. i guess this snippet is no longer in development, or the author is busy.
                  i didn’t also get any idea upon my post.

                    • 36832
                    • 22 Posts

                    hey,
                    it seems like webloginpe has another home
                    http://code.google.com/p/webloginpe/
                    maybe this helps.

                    Quote from: objectifweb at Apr 17, 2009, 11:10 AM

                    Hello Dr. Scotty Delicious

                    I just tried webloginPE, registration works but when one is identified and that you click on the ’profile’, changes in the profile are not, whether with the ’done’ or ’save’, no error message is displayed

                    Best Regards
                    Patrick
                      • 21985
                      • 82 Posts
                      Hello Alxndr

                      after a long search on the forum and overlap of information, I changed the following line, which has resolved my problem in webloginpe.templates.php (line 132)
                      <button type="submit" id="wlpeSaveProfileButton" name="service" value="saveprofile">Save</button>
                      
                      <button type="submit" id="wlpeSaveProfileButton" name="service" value="saveprofilesimple">Save</button>


                      Best regards
                      Patrick