![]() |
How Would I pull Information From vBulletin?
Hi All,
I'm wondering how would I pull information from vBulletin? I would like to pull: Username Posts And Some Additional Information - Pc1203 [EDIT]Sorry, the pages are outside of vBulletin.[/EDIT] |
Are you trying to display this information on a page within vBulletin or are you using it outside of vBulletin?
|
A page outside of vBulletin.
- Pc1203 |
This might of use to you: https://vborg.vbsupport.ru/showthread.php?t=108026
|
Well, that really isn't what I wanted. I wanted to pull a users posts into an external page. And, yes I checked, vBExternal doesn't do what I'm thinking of.
- Pc1203 |
What are you trying to do specifically, because I've used a modified vBExternal in the past to display trimmed posts, with the Author's Username, and date of posting on an external page.
|
Ok, this is what I'm trying to do. I'm trying to create a small profile system for my website. In it somewhere, it says the users posts, join date, username, and some custom profile fields. Hope this is better.
- Pc1203 |
Well it's really just a matter of querying the database for the relevant information.
Place the following at the very top of the pages you're displaying information on; make sure they're PHP files as well. Code:
<?php Example: Code:
$stats = $db->query_read("SELECT threadcount, replycount FROM " . TABLE_PREFIX . "forum"); |
Ok, Thanks alot!
// I would add rep but I guess it's disabled. - Pc1203 EDIT: I get a blank page after trying this code: Code:
<?php - Pc1203 |
Bump
- Pc1203 |
All times are GMT. The time now is 05:57 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|