The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to pull info from database to external files?
Ok guys I need help here...
I have a product that I made wich is a PHP emailer popup. It is on the folder ex: root/emailer/index.php If I would want to display the profile picture or avatar of the person sending the email, such an invitation to a friend, how would I pull that info from the database? From where should I start looking for in order to get this done? Any help much appreciated Chris___ |
#2
|
||||
|
||||
Include global.php that should get you the userID i assume, then check out a few of the other vbulletin files for the SQL query to get the avatar of the user, I forget which file it is, or i'd tell ya to save the time.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|