Showing on member profile
leefish Offline
Hamster
*****
Posts: 1,009
Joined: Apr 2010
Post: #5
RE: Showing on member profile
Thank you - that has fixed it - its weird though, as that OTHER link construct was/is definitely working...... But it only worked if it was the logged in user viewing the profile.

So if I clicked it - it showed my profile, but if another member of leefish used it it showed their profile. Anyway, I feel sure that this construct is better.

Thank you

Smile
(12-08-2010 06:33 PM)ZiNgA BuRgA Wrote:  EDIT: okay, it looks like MyBB will fall back to the current user if no uid is supplied.
In which case, you'd retrieve the user ID through $uid.  In other words, replace $mybb->input['uid'] with $GLOBALS['uid']

Interesting - if I use the $GLOBALS['uid'] construct then its the same as before - no referrals showing on profile via that "My Profile" link in the member block, whereas if I use the uid={$mybb->user['uid']} construct then referrals show on profile via "My Profile" link in the member block.


Attached File(s) Thumbnail(s)
   


[Image: leelink.gif]
MYBB1.6 & XThreads
(This post was last modified: 12-08-2010 06:59 PM by leefish.)
12-08-2010 06:43 PM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Showing on member profile - leefish - 12-08-2010, 03:27 PM
RE: Showing on member profile - leefish - 12-08-2010, 05:17 PM
RE: Showing on member profile - leefish - 12-08-2010 06:43 PM
RE: Showing on member profile - leefish - 12-08-2010, 08:35 PM

 Standard Tools
Forum Jump: