<?php
$con = mysql_connect("localhost","*****","test");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("*******", $con);
mysql_query("user (post_thanks_thanked_times)
VALUES ('+1')");
mysql_close($con);
?>
Im trying to make a thanks button for vbulletin 4.0 this connects to the database what is good
Now my main problem what i hope you can help with is how to get it to know what user to thanks as the thanks button would bebelow each post i have looked at various coding scripts and the new vubulletin 4 variables and got no where so if you could help with what i need so it picks up the member to put the +1 on it would be great
Thanks
Mark

New Topic/Question
Reply




MultiQuote




|