Hi, 
  Thank you both for a nice brief how to do that i want, but small problem. 
when i create login.header (v3.5) only admin can see information. for other 
users ir say "You can only view your own profile!"

Do i need to set specific permissions for login.header? 

Thanks, 
  Tadas

On Friday, 9 August 2013 15:19:53 UTC+2, jacmgr wrote:
>
> I would do what martin says.  Copy action.register to your field and 
> customize it or rename it.
> BW VERSION 3.5, the action.register creates the pages login.membername; 
>
> This would be example for a drop box you can add into your action.register 
> copy.
> [r]
> [c]>>Color:<<
> [c][select color default="{:color}"][(list "red,yellow,blue,green" 
> fmt='[option "{+p}"]')][select]  
>  
> And add your new field color to the session register line in the form.
>  
> You can see these user data pages by index.php?p=login.membername  But 
> notice you do not really see anything though, because the data is in data 
> fields, not in the content and not directly shown.  
>  
> So do what Martin suggests and make a login.header (for ver 3.5 and 
> member.header for version 4.0) and do the checks and then display the data 
> fields.  Here is example for version 3.5:
>  IN this case show the data to the specific member, but admin can also see 
> everyone.
> ----
> !! {p2}
> [if equal {p2} {member} || admin]
> Here is your user info:
> [t]
> [r][c]Username is [c]{member}
> [r][c]Favorite color is [c]{:color}
> [t]
> [else]
> You can only view your own profile!
> [if]
> ----
>  
> You could also do it in login.footer instead of login.header
>  
> Hope that helps.
>

-- 
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/boltwire.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to