PDA

View Full Version : Showing edit profile link in memberinfo


SEOvB
01-30-2008, 02:53 PM
Is there any way to show a edit profile link on the MEMBERINFO template that only the member will see.

Ex: Dave is viewing Dave's profile, i want a link to Edit Profile link to appear for Dave, but no one else.

Is it possible? Or shall i just create a generic link :D

Thanks

Lynne
01-30-2008, 03:28 PM
Yes, it's possible with a conditional:

<if condition="$userinfo['userid'] == $bbuserinfo['userid']">
put in stuff you only want the member to see
</if>

I think that is it. Try it out and see.

nexialys
01-30-2008, 04:00 PM
3.7 have this feature... you can even edit each detail on the fly (ajax)...

SEOvB
01-30-2008, 04:56 PM
thanks Lynne!

edit: why yes it does :D