Webmastersite.net
Register Log In

Variables problem in details page

Comments on Variables problem in details page

webac01
Member

Usergroup: Customer
Joined: Feb 08, 2007
Location: France

Total Topics: 20
Total Comments: 40
webac01
Posted Oct 09, 2008 - 5:43 AM:

Hello Paul,

I have a problem in the details page.

In wrapper.tpl I added variables to display on every page informations about the person connected
example :
<IF {THISMEMBERISREGISTERED}>Bienvenue {MEMBERNAME} ( Your ID: {MEMBERID})</IF>


Some variables as {MEMBERNAME} and {MEMBERID} display informations about the person who proposed the website and not about the member connected.

I don't know since when I had this problem, but I think since version 5 with the display of blocks: Membership Status, Biographical Information, ...


Someone has the same problem?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Oct 10, 2008 - 5:52 AM:

If there's no owner, it'll show the current viewer's info. Use <IF {LINKOWNERID}> to test.

If you actually want the viewer, never use {MEMBER anywhere -- always {THISMEMBER. At some point I'll turn off the {MEMBER fallback which is only there for backwards compatibility with ancient versions.
webac01
Member

Usergroup: Customer
Joined: Feb 08, 2007
Location: France

Total Topics: 20
Total Comments: 40
webac01
Posted Oct 10, 2008 - 7:42 AM:

Thank you very much Paul

It work well width {THISMEMBER smiling face
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.