bitweaver
Wiki
wiki Home
List Pages
wiki Books
Orphan Pages
wiki Rankings
Photos
List Galleries
Forums
Browse forums
Files
List Galleries
Categories
List Categories
Sign In
Message Boards
»
08. Support - General talk
Newest
Oldest
Threaded
5
10
20
50
100
All
Messages
How do you check who the owner of a page is?
Post Reply
fire
Joined: 10 May 2004
How do you check who the owner of a page is?
Posted:13 Mar 2005 (13:57 UTC)
Post Reply
Page 1 of 1
1
Post
Title
Login
If you are already registered, please enter your login credentials.
Your Name
Anonymous Post
Content Format
Tiki Wiki Syntax
Allow HTML
{quote format_guid="bbcode" comment_id="5329" user="fire"}Hi! I am trying to validate that the person viewing a page (user homepage) is the actual owner of the page. I want an "Edit your profile picture" icon on a users homepages beneath his profile pick.. to be displayed ONLY if it is the actual USER viewing his/her webpage - In the TPL I can do it... but how do I do it in the php code??? Xing said I can try gContent ... I found an isOwner function... but dont know how to use it... can you help spiderr? I accomplished this with the following code in the TPL. {CODE()} {if $fHomepage == $gTikiUser->mInfo.user_id} <b>you are the owner!! So put img tags</b> {/if} {CODE} Spiderr.... how can I accomplish this in the PHP code instead of the tpl?{/quote}
Recent Page Changes
welcome to bitweaver.org
Bitweaver Overview
ReleaseTwo Schema Changelog 2006
PressReleaseOne
Spider's Web
Press Release Two
BitcommercePackage
InfiniBand vs Ethernet Performance
InfiniBand for Dummies
Show More…