acast |
01-11-2009 02:14 AM |
Quote:
Originally Posted by christian8a
(Post 1708061)
Sorry man, I dont know how will it work on any version prior to 3.7.x There should be a way though but I dont know how :(
|
Hi, friend, thanks for your answer.
I put a cap of my problem:
http://img83.imageshack.us/img83/4459/21pi9.jpg
https://vborg.vbsupport.ru/
As you can see in the second one is incomplete.
I cant connect there the user id with the data.
I put another code in a link on postbit and it worked, but there i cant do it.
Here is the code that i put in member info:
Code:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $userinfo[username]'s Gifts</title>
</head>
<body>
<table class="alt1" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" class="tborder alt1">
<thead>
<tr>
<td class="tcat" colspan="$vboptions[gifts_perrow]">$username's $vbphrase[gifts]</td>
</tr>
<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?$session[sessionurl]do=give&r=$userid" rel="nofollow">Send gift to $username</a> | <a href="member.php?$session[sessionurl]u=$userid">Back to $username's profile</a>
</tr>
<else />
<tr>
<td class="alt2 smallfont" colspan="$vboptions[gifts_perrow]"> <a href="gifts.php?$session[sessionurl]do=give&r=$userid" rel="nofollow">Send yourself a gift</a> | <a href="member.php?$session[sessionurl]u=$userid">Back to $username's profile</a></td>
</tr>
</if>
</thead>
<tbody>
<tr><td colspan="4" class="tborder" style="padding:1px"></td></tr>
$gifts_bit
<tr><td colspan="4" class="tborder" style="padding:1px"></td></tr>
<if condition="$userinfo['userid'] != $vbulletin->userinfo['userid'] AND $vbulletin->bf_ugp_forumpermissions['canpostnew']">
<tr>
<td class="alt2 smallfont" align="right" colspan="$vboptions[gifts_perrow]"> <a href="gifts.php?$session[sessionurl]do=give&r=$userid" rel="nofollow">Send gift to $username</a> | <a href="member.php?$session[sessionurl]u=$userid">Back to $username's profile</a>
</tr>
<else />
<tr>
<td class="alt2 smallfont" align="right" colspan="$vboptions[gifts_perrow]"> <a href="gifts.php?$session[sessionurl]do=give&r=$userid" rel="nofollow">Send yourself a gift</a> | <a href="member.php?$session[sessionurl]u=$userid">Back to $username's profile</a></td>
</tr>
</if>
<tr><td colspan="4" class="tborder" style="padding:1px"></td></tr>
</tbody>
</table>
<if condition="$page_navigation"><div style="margin-top:4px">$page_navigation</div></if>
<br />
<if condition="$userinfo[userid] == $vbulletin->userinfo[userid]">
<form action="gifts.php" method="get">
<table cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" class="tborder" border="0" width="100%">
<thead>
<tr>
<td class="tcat" colspan="4">Display Options</td>
</tr>
</thead>
<tbody>
<tr>
<td class="alt1">
<div class="smallfont">
Sort By: <select name="sort">
<option value="sender"<if condition="$sort=='sender'"> select="selected"</if>>Giver</option>
<option value="dateline"<if condition="$sort=='dateline'"> selected="selected"</if>>Date/Time</option>
<option value="catid"<if condition="$sort=='catid'"> selected="selected"</if>>Category</option>
</select>
</div>
</td>
<td colspan="2" rowspan="2"class="alt1"><div class="smallfont">Amount of Items Perpage:
<input type="text" class="bginput" name="pp" size="6" value="$perpage" /></div></td>
<td rowspan="2" class="alt1"><input type="submit" value="Show Media" class="button" /></td>
</tr>
<tr>
<td class="alt1">
<div class="smallfont">
Sort Order: <select name="order">
<option value="ASC" <if condition="$order=='ASC'"> selected="selected"</if>>Ascending</option>
<option value="DESC"<if condition="$order=='DESC'"> selected="selected"</if>>Descending</option>
</select>
</div>
</td>
</tr>
</table>
</form>
</if>
</body>
</html>
Thanks if anybody can help me.
|