Adding infoirmation to profile

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Suggested Hosts
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
HidroDF
Registered User
Posts: 3
Joined: Fri Dec 16, 2016 1:21 am

Adding infoirmation to profile

Post by HidroDF » Sat Dec 17, 2016 3:40 pm

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?

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 47783
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Adding infoirmation to profile

Post by stevemaury » Sat Dec 17, 2016 7:16 pm

This is built-in. No need to code. Use Custom profile fields.
For REALLY good and VERY inexpensive hosting CLICK HERE

All unsolicited PMs will be ignored.

HidroDF
Registered User
Posts: 3
Joined: Fri Dec 16, 2016 1:21 am

Re: Adding infoirmation to profile

Post by HidroDF » Sun Dec 18, 2016 12:29 am

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.

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 47783
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Adding infoirmation to profile

Post by stevemaury » Sun Dec 18, 2016 12:47 am

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.
For REALLY good and VERY inexpensive hosting CLICK HERE

All unsolicited PMs will be ignored.

Locked

Return to “[3.0.x] Support Forum”

Who is online

Users browsing this forum: Blacktiger63, Google [Bot] and 95 guests