![]() |
A code in the memberinfo template
Hi i need one code about the members profiles.
I try to explain. When you want to join a post with the user that posted yo put: $post[userid] So with that code i can put a link, for example in postbit for something about the user that posted. I want to put a code like that in member profiles, but there arent posts, of course so i want to know how can i join it the member profile with the user that have that member profile. I proved something like that: $profile[userid] But it doesnt exist or it doesnt work. Anybody knows how can i do it? Perhaps is anything like $userinfo[profileid] ? Thanks |
try $bbuserinfo[userid]
|
Quote:
I try to explain better. http://img264.imageshack.us/img264/1016/22cp7.png At you can look in the cap is empty (no user id in u=), i want to associate the link to the userid of the member of that member profile when you enter in. If i put $userinfo[userid] it links to the user that enter in that profile. The code that do that is: <if condition="$userinfo['userid'] != $vbulletin->userinfo['userid'] AND $vbulletin->bf_ugp_forumpermissions['canpostnew']"> <tr> <td class="alt2 smallfont" colspan="$vboptions[gifts_perrow]"> <a href="gifts.php?$userinfo[userid]do=give&r=$userid" rel="nofollow">Give present to $username</a> | <a href="member.php?userinfo[userid]u=$userid">Back to profile of $username</a> |
bbuserinfo not userinfo
if that doesn't work try $prepared[userid] |
Quote:
--------------- Added [DATE]1232164083[/DATE] at [TIME]1232164083[/TIME] --------------- Thanks spank, the problem was here: r=$userid" I think now is solved. I will say in a while. --------------- Added [DATE]1232165651[/DATE] at [TIME]1232165651[/TIME] --------------- It works!! Thankss for your help!! |
All times are GMT. The time now is 03:05 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|