VBulletin API for auto updating user details

1) Create a file with desired name (let it be vb_update.php) with the following code
$clientdata = unserialize($_POST[‘post’]);
foreach($clientdata as $key => $value)
$forum = new ForumOps();
$errmsg = $forum->update_user($userdata);
if ($errmsg) echo $errmsg;
else echo “User Updated successfully.

NOTE :You can download the script using the url http://wp.me/p1aZaf-1d

2)Upload the file to the server the vBulletin installed

3)Paste the below given code , immediately after the code that update the user details .

$clientdata = array( ‘username’ =>$Username);
$clientdata[‘newusername’] = $newUsername;
$clientdata[‘password’] = $password;
$clientdata[’email’] = $email;
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, array(“post” => serialize($clientdata)));
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
$store = curl_exec ($ch);
curl_close ($ch);

// http://www.example.com/forum/ is the location where vbulletin is installed

19 thoughts on “VBulletin API for auto updating user details”

  1. Heya i am for the first time here. I came across this board and I find It really useful & it helped me out much. I hope to give something back and aid others like you aided me.

  2. Simply wish to say your article is as amazing. The clearness in your post is simply excellent and i could assume you are an expert on this subject. Well with your permission let me to grab your feed to keep up to date with forthcoming post. Thanks a million and please carry on the rewarding work.

  3. I was very pleased to find this web-site.I wanted to thanks for your time for this wonderful read!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you blog post.

  4. You really are all actually sweet and also thoughtful of others and also reading your website posts is an excellent delight in my experience. And that of a generous treat! Dan and I really have fun making use of your ideas in what we have to do in the near future. Our collection of ideas is a distance long so your tips are going to be put to fine use.Judging by the way you write, you seem like a professional writer.It was really inspiring I loved it, thanks a ton to bring me back and more closer to my real self.Moncler Uomo Cappotti,Moncler Donna Giubbotti,ebay

  5. While this topic can be especially touchy for most men and women, my opinion is that there has to be a middle or common ground that we all can discover. I do appreciate that youve added relevant and intelligent commentary here though. Thank you!

  6. Pingback: i like reading

Leave a Reply to Pramod T P Cancel reply

Your email address will not be published. Required fields are marked *