PDA

View Full Version : Pulling thread info form URL ($thread)


Canadians360
09-19-2009, 04:48 PM
Im hoping this is something fairly simple to do but maybe its not either way Im having a bit of trouble.

I decided to let users pick a favorite thread, they enter their threads URL by entering the thread number and it creates a link to the thread. Right now though I also have them enter the title for their thread which Im hoping they dont need to do.

Is there a way to access a threads $thread information if I know the threads URL?

Lynne
09-19-2009, 05:16 PM
Take a look in the api - fetch_threadinfo (http://members.vbulletin.com/api/vBulletin/_includes---functions.php.html#functionfetch_threadinfo)

Canadians360
09-19-2009, 06:27 PM
Just what I needed thanks Lynne