Pulling custom user info from a database.

Discussion forum for MOD Writers regarding MOD Development.
Locked
Neon_
Registered User
Posts: 79
Joined: Wed Jul 26, 2006 2:50 am

Pulling custom user info from a database.

Post by Neon_ »

I am wondering how I might go about setting up a function or something to display from a custom column I have set up in my database to work in the same way as {postrow.POST_ID} does in view_topicbody.html. I am unfamiliare with phpBB's database interaction and havn't done any actual coding yet, but I do have my database set up exactly as I want it. Any ideas or suggestions to help me get started?
Image
User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Re: Pulling custom user info from a database.

Post by igorw »

Look at some MODs that add a new field in the users table. I have done a few myself: http://phpbbmodders.net/memberlist.php? ... ewmods&u=2
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three
Locked

Return to “[3.0.x] MOD Writers Discussion”