Page 1 of 1

Adding infoirmation to profile

Posted: Sat Dec 17, 2016 3:40 pm
by HidroDF
Hello!

I have a phpBB forum and I want to add some information to the user info when they reply or write a new message.

I post images from these forums:

Image

I've read something about the template viewtopic_body.html but I need to insert PHP code to make it run because the Characters are in another table... Anyone can help me please?

Re: Adding infoirmation to profile

Posted: Sat Dec 17, 2016 7:16 pm
by stevemaury
This is built-in. No need to code. Use Custom profile fields.

Re: Adding infoirmation to profile

Posted: Sun Dec 18, 2016 12:29 am
by HidroDF
Yes, but I need to add the value dynamically from the Database. Wich file I have to edit? As I have said in first post, the characters are outside the phpBB table.

I need to make

SELECT * FROM mycharacters WHERE phpbb_user = "MyPHPBBaccountName"; but in the HTML I can't make this consult.

Re: Adding infoirmation to profile

Posted: Sun Dec 18, 2016 12:47 am
by stevemaury
It is more than editing a file. You need a MOD, but MOD requests for 3.0.x have been closed for some time, and support for it ends in 2 weeks.

My advice is to upgrade to 3.1 and request an extension.