david63 wrote: ↑Sun Aug 19, 2018 7:11 am
Just adding a column to the users table will not make any difference unless you also have some way of inputting data to that column - irrespective of where it is/is not being displayed.
What are you going to do with this new column's data once you have it in the database? Just having it in the database will not do anything, you will need some code to do something with it.
DocTM wrote: ↑Sun Aug 19, 2018 12:31 am
Custom profile field is not what I'm looking for, this is different as it does not show in the phpbb_user columns but has a different table entirely.
It really does not matter where data is stored in the database just as long as whatever it is that you are doing knows where to find it.
Without more details of what it is that you are trying to do it is difficult to help.
What I'm trying to do is have them put their steam64 id or something in an optional field that they could edit in their UCP under profile or something. I help run a game server for a community, I have a script that would detect if someone were to make an account on the website with their steam64 id inputted and saved under a column in their user table (the script fetches database information). Basically, if the script detected that they had made an account with their steam id, it would give them special rewards in-game for doing so. example: Sign up on our website to receive in-game currency!
here's a snippet of what the script I have would be doing/what I would like it to do.
Tasks.Config.ForumDatabase = "databsename" // the name of your forum database?
Tasks.Config.ForumUserTable = "phpbb_users" // the name of the table that contains users with their steamid?
Tasks.Config.ForumSteamIDColumn = "steamid" // the name of the column containing steamids?
Tasks.Config.ForumSteamID = "64" // 32bit or 64bit?