PDA

View Full Version : VB API Functions


MagicPID
12-30-2013, 06:19 PM
Is there a way to do the following using the VB API?

Get a list of all threads a member has posted (in specific forums if possible).
Get all posts which belong to a specific thread.
Reply to a thread.
Get the usergroups of a member.


The vB API docs aren't doing me much help.

Many thanks!

Lynne
12-30-2013, 06:46 PM
Are you talking about using the mobile api or using the vb4 functions?

MagicPID
12-30-2013, 07:02 PM
Are you talking about using the mobile api or using the vb4 functions?

To be honest, either should work. I'm new to developing VB plugins and I usually edit the DB directly using PHP/MySQL but I would rather use a better method.

Lynne
12-30-2013, 08:12 PM
Just looking at your list, I believe you need to query the database. I can't think of any function that does any of the things you are wanting.

Scandal
12-30-2013, 08:14 PM
Reply to a thread.
Get the usergroups of a member.

1. When you try to do a reply/new thread, it's better to use vbulletin's included datamanagers.
2. Maybe the function fetch_userinfo($userid) ? ;)

MagicPID
12-30-2013, 10:18 PM
1. When you try to do a reply/new thread, it's better to use vbulletin's included datamanagers.
2. Maybe the function fetch_userinfo($userid) ? ;)

Thabks. Is there DM documentation on posts somewhere?

nhawk
12-30-2013, 10:22 PM
<a href="http://www.vbulletin.com/docs/html/main/data_managers" target="_blank">http://www.vbulletin.com/docs/html/main/data_managers</a>