News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Add a field in profile page

Started by rameleu, May 04, 2015, 01:32:05 PM

Previous topic - Next topic

rameleu

Hello,

I've got a question about a modification I want to create.

I've created a program secured by HWID. I had a website, but he's a little incomplete, so I want to go onto SMF.

My question is how can I create an "HWID" field in member's profile page ?

Sir Osis of Liver

Admin -> Core Features -> Advanced Profile Fields

Admin -> Features and Options -> Profile Fields
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

rameleu

Oh great that's exactly what I needed ! :)

But do you know where I can retrieve values from the database ? I mean, in which table is the data stored ?

Kindred

the data is stored by user ID in the smf_themes table
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

rameleu

Oh yes I found it. Thank's a lot for answering that fast ! Topic resolved :)

EDIT : Oh I forgot to ask, what file is controling this modification ? I need to modify it a bit..

Kindred

It's a core feature....   I believe that it is in Sources/profile.php and Themes/default/profile.template.php

but it migth also be in some of the subs files
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

rameleu

Okay thank you anyway for your help, I'm going to look for this code !

Advertisement: