View Full Version : Pull Info Into External Site
1up_dave
10-27-2009, 08:10 PM
Hi, I've been searching for days, and tried to piece together various code from search results on Google, but I just can't get the *darn* thing working. Essentially, I want to be able to pull information (username and forum categories, specifically) in my other non-vB sites. I only know a little bit of PHP and MySQL, not even the bare minimum, so please don't post really tiny snippets of code unless it's complete. I'm still learning, though, so commented code would be more than appreciated.
I'm hoping not to pay for this assistance (college student and all), but if I have to, I get paid on Friday.
Thanks for the help!
Lynne
10-27-2009, 08:34 PM
You can't just pull that information from your site unless your site is giving that information out. Turning on the external feed only outputs thread data. This means you will have to either do a query to grab that information (possible if your sites are on the same server utilizing the same database that your have complete access to), or you will have to write some code to feed that information out to other sites. Well, or write some code to feed the information out to a text file and then write some code to run on the other site that grabs the info from the text file and does something with it. Those are the only ways I can think of right now for you to do what you want.
1up_dave
10-28-2009, 03:30 PM
Ok, it happens that it is on the same server using the same database. I was hoping that it was like SMF, where you could include some file then just call the variables or whatever to display the user information (if logged in), for example.
Thanks for the quick reply, then. Looks like that's out of the window. :(
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.