2018-12-04, 08:05 PM
Hi, i am running mybb forum integrated with discord.
Currently whem some1 registers, and then in edit profile page, if he put his discord id in "Location" field, then a bot in discord gives role in a discord automatically.
So what I want to do is to allow a user to enter discord id when registering, and change that "Location" filed to "Discord". I don't need to change actual key value of location to discord id which will be stored in the database, but just show visible part for textfield being "discord id" instead of "Location" on every pages that will replace a string "Location" by "discord id".
Which pages i should modify, and what i need to do?
Currently whem some1 registers, and then in edit profile page, if he put his discord id in "Location" field, then a bot in discord gives role in a discord automatically.
So what I want to do is to allow a user to enter discord id when registering, and change that "Location" filed to "Discord". I don't need to change actual key value of location to discord id which will be stored in the database, but just show visible part for textfield being "discord id" instead of "Location" on every pages that will replace a string "Location" by "discord id".
Which pages i should modify, and what i need to do?