Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I was just trying to discover what my member profile ID is (I've still not worked it out.. but that's a side issue)
The XSLT that is used to produce the members pages needs a bit of error trapping ( or at least an "else" clause )
if you try and access the following URL you will get a XSLT error:
http://our.umbraco.org/member/1
Also if you try some higher numbers you get some weird profiles that are not users, but are actually pages that are
returning other node data. Surely the XSLT should only being showing nodes that are defined as Members?
E.g.: http://our.umbraco.org/member/1069
Cheers,
Chris
Chris, your member profile ID is 1868 - your name links to your profile (which you most likely already know).
http://our.umbraco.org/member/1868
It should be straight-forward to figure out if the node XML is a member node, as it will have other attributes like @email and @loginname - otherwise check for the @nodeTypeAlias - which would match the member type?
I haven't looked at the uForum code myself (yet).
Thanks Lee,
I agree I would check the @nodeTypeAlias, who is maintaining the forum, is it open? I'd be happy to patch it.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Member profile pages need a bit more filtering in the XSLT
Hi,
I was just trying to discover what my member profile ID is (I've still not worked it out.. but that's a side issue)
The XSLT that is used to produce the members pages needs a bit of error trapping ( or at least an "else" clause )
if you try and access the following URL you will get a XSLT error:
http://our.umbraco.org/member/1
Also if you try some higher numbers you get some weird profiles that are not users, but are actually pages that are
returning other node data. Surely the XSLT should only being showing nodes that are defined as Members?
E.g.: http://our.umbraco.org/member/1069
Cheers,
Chris
Chris, your member profile ID is 1868 - your name links to your profile (which you most likely already know).
http://our.umbraco.org/member/1868
It should be straight-forward to figure out if the node XML is a member node, as it will have other attributes like @email and @loginname - otherwise check for the @nodeTypeAlias - which would match the member type?
I haven't looked at the uForum code myself (yet).
Thanks Lee,
I agree I would check the @nodeTypeAlias, who is maintaining the forum, is it open? I'd be happy to patch it.
Cheers,
Chris
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.