The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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 |
#2
|
|||
|
|||
try $bbuserinfo[userid]
|
#3
|
|||
|
|||
It doesnt work, it doesnt connect the link.
I try to explain better. 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> |
#4
|
|||
|
|||
bbuserinfo not userinfo
if that doesn't work try $prepared[userid] |
#5
|
|||
|
|||
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!! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|