We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 867
    • 241 Posts
    hi everyone,

    I ’ve got a page that list my webusers ( so with &type=`users` parameter )
    when i click on one of them, the url become :
    id=49?service=viewprofile&username=alchime
    but I land on a error 404 page ..!?? (with the url above)
    and it’s the same for any users, even admin etc..

    Did i miss something ? huh I understood that’s it is not necessary to have a special page (like a landing page)
    cause the &type = ’users’ take care of everything. Is that right ?

    Thanks in advance.

    by the way this snippet is GREAT and the documentation is marvellous.. But can’t find how to solve my issue this time.
      • 21800
      • 174 Posts
      I’ve exactly the same problem. Is there a solution?

      … and I agree it’s a extremly usefull and powerfull snippet (yet the docs lack a few examples, that would shorten the forum).
        • 28033
        • 925 Posts
        That’s odd. Just to check, did you set the chunk it uses for the profile showing?
          My Snippets
          -> PopUpChunk v1.0
          • 21800
          • 174 Posts
          The call I use is this (modificated from the "pirate"’s site):
          [!WebLoginPE? &type=`users` &usersList=`gBGMitarbeiter:default:default:internalKey:DESC:webgroup(Mitarbeitergbg:default:default:username:ASC)` !]

          What I’Ve modificated further is some templates within "webloginpe.templates.php". All runs well but this viewprofile. The url shown is exactly of the kind I saw on Scotty’s example page (http://site.de/index.php?id=180?service=viewprofile&username=hjTeich). It points to an unKnown page.
            • 21800
            • 174 Posts
            Hello,
            isn’t there any idea of a solution? What about alchime, gave it up?
              • 12684
              • 118 Posts
              I am having the same problem. Was a solution ever found?
                • 24854
                • 10 Posts
                Hi,

                First of all your user alchime should be a web user.
                The profil page must be the id=49.


                On your profil page content (id=49) you have to put this code :

                [!WebLoginPE? &type=`users` &viewProfileTpl=`my_profile_tpl` !] 
                



                And create the chunk "my_profile_tpl" with something like :

                [+wlpe.message+]
                <table id="wlpeViewProfileTable">
                	<tr>
                		<td colspan=2 class="wlpeViewProfileHeader"><h3>Viewing the profile of "[+view.username+]":</h3></td>
                	</tr>
                	<tr>
                		<td class="wlpeViewAttribute">Username:</td>
                		<td class="wlpeViewAttributeValue">[+view.username+]</td>
                	</tr>
                	<tr>
                		<td class="wlpeViewAttribute">Full Name:</td>
                		<td class="wlpeViewAttributeValue">[+view.fullname+]</td>
                	</tr>
                	<tr>
                		<td class="wlpeViewAttribute">Email:</td>
                		<td class="wlpeViewAttributeValue">[+view.email+]</td>
                	</tr>
                	<tr>
                		<td class="wlpeViewAttribute">Phone Number:</td>
                		<td class="wlpeViewAttributeValue">[+view.phone+]</td>
                	</tr>
                	<tr>
                		<td class="wlpeViewAttribute">Mobile Phone Number:</td>
                		<td class="wlpeViewAttributeValue">[+view.mobilephone+]</td>
                	</tr>
                	<tr>
                		<td class="wlpeViewAttribute">Fax Number:</td>
                		<td class="wlpeViewAttributeValue">[+view.fax+]</td>
                	</tr>
                	<tr>
                		<td class="wlpeViewAttribute">State:</td>
                		<td class="wlpeViewAttributeValue">[+view.state+]</td>
                	</tr>
                	<tr>
                		<td class="wlpeViewAttribute">Country:</td>
                		<td class="wlpeViewAttributeValue">[+view.country+]</td>
                	</tr>
                	<tr>
                		<td class="wlpeViewAttribute">Age:</td>
                		<td class="wlpeViewAttributeValue">[+view.age+]</td>
                	</tr>
                	<tr>
                		<td class="wlpeViewAttribute">Gender:</td>
                		<td class="wlpeViewAttributeValue">[+view.gender+]</td>
                	</tr>
                	<tr>
                		<td class="wlpeViewAttribute">Signature:</td>
                		<td class="wlpeViewAttributeValue">[+view.comment+]</td>
                	</tr>
                	<tr>
                		<td class="wlpeViewAttribute">Photo:</td>
                		<td class="wlpeViewAttributeValue"><img src="[+view.photo+]" alt="[+view.photo+]" title="[+view.username+]" /></td>
                	</tr>
                	<tr>
                		<td colspan="2" class="wlpeViewContact">
                			<form name="wlpeViewContactForm" method="post" action="[~[*id*]~]">
                				<fieldset id="wlpeViewContactFormFieldset">
                					<h4>Contact [+view.username+]</h4>
                					<label for"wlpeViewContactSubject" id="wlpeViewContactSubjectLabel">Subject:
                						<input type="text" id="wlpeViewContactSubject" name="subject" />
                					</label>
                					
                					<label for"wlpeViewContactMessage" id="wlpeViewContactMessageLabel">Message:
                						<textarea id="wlpeViewContactMessage" name="message"></textarea>
                					</label>
                				</fieldset>
                				<fieldset id="wlpeViewContactButtons">
                					<button type="submit" id="wlpeContactSend" name="service" value="messageuser">Send Message to [+view.username+]</button>
                				</fieldset>
                			</form>
                		</td>
                	</tr>
                </table>
                



                It’s working for me.
                Have fun.
                Represent 70
                  • 12684
                  • 118 Posts
                  Thanks for the insight represent70.

                  However it is still not working for me.

                  http://www.502stuff.com/index.php?id=4

                  I have tried both of the below...

                  [!WebLoginPE? &type=`users` &usersList=`Administrators:default:default:internalKey:ASC:webgroup(Admins)||Wedtro Members:default:default:username:ASC:webgroup(Registered Users)` &customFields=`website, aim, msn, address1, city, favorite_color, demographic, emailprivate, aimprivate, msnprivate`!]
                  
                  [!WebLoginPE? &type=`users` &viewProfileTpl=`my_profile_tpl` !] 
                  
                    • 25857
                    • 23 Posts
                    I had the same problem, somebody fix that ?
                      • 12684
                      • 118 Posts
                      How can we have such a rampant problem and no one seems to know how to fix it?