The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
passing variable data along
Hiya,
having a little bit of a problem trying to get this code to work. What i have is: - admin clicks "award points" for a post. when link to award points is clicked the postid and userid are taken along too eg: the following is for the link in the postbit_legacy template Code:
<a href="award.php?postid={vb:raw post.postid}&userid={vb:raw post.userid}">award</a> Code:
if ($_REQUEST['do'] == '') { $_REQUEST['do'] = 'main'; } if ($_REQUEST['do'] == 'main') { $giveuserid = $_REQUEST['userid']; $givepostid = $_REQUEST['postid']; the following is fom my points_add template Code:
<form action="award.php?do=add&postid=$givepostid&userid=$giveuserid" method="post"> any help would be much appreciated. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|