Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 11 Jul 2016, 10:53
hasan1aj hasan1aj is offline
Join Date: Jun 2016
How to use vBulletin 5 API - Log in and add member

the official documentation is not clear. I want to do something like an auto login for the forum. An already logged in user to main website can automatically log in to my forum without registration. My website is in .net. Can some1 help? How to use the API? Mainly i only need the login and add member function from the API.
Reply With Quote
Old 11 Jul 2016, 20:30
noypiscripter's Avatar
noypiscripter noypiscripter is offline
Join Date: Aug 2013
Here's a tutorial on how to login to vB5 from an external site.
Glenn Vergara, an ex-vB Developer, now a vB Mod Developer

GIPHY for vB5 | AutoLinker | Video Attachments Player | New Registered Users Module | Clear System Cache Cron | DragNDrop Upload | Topic AJAX AutoUpdate | Force Read Topic
Reply With Quote
Old 12 Jul 2016, 06:48
hasan1aj hasan1aj is offline
Join Date: Jun 2016
but my website is in c#..isnt there a another tutorial?
Reply With Quote
Old 12 Jul 2016, 14:26
Replicant's Avatar
Replicant Replicant is offline
Join Date: Sep 2014
Real name: Mel
You can login to the admincp using libcurl and call the user api from your code. You'll have to use the dev tools in the browser while in the admincp to see the required parameters for user.php to setup your curl commands in your code. You'll also have to setup curl to store and use the cookies sent on login to the admincp.

I've used this method to setup multiple users, categories, and forums from a php script using a csv file for input. It's probably not the most efficient or the best way, but I know it works. I've not used C or C# to do it.
VB5 mods - RepliClock VB4 mods - Member Online Status
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 02:38.

Layout Options | Width: Wide Color: