SMF Support > SMF 2.0.x Support
Combing Profile Fields
Texan78:
Hello,
I have a couple of different Twitter mods that do certain things like Twitter Icon on post pages, Twitter badge for Anywhere Twitter, Twitter on member profile pages etc. Anyways, it creates three different input fields for Twitter in where the user updates their profile and that could pose to be a bit confusing plus repetitive.
So I would like to take these three profile input fields and combine them into one profile input field so members only have to enter it once and it work for all those mods across the board.
Which template file would I need to look in to find the information that contains the information for updating the forum profile? I looked in the profile.template.php and it just looked like the template file for viewing the actual template.
-Thanks
hcfwesker:
Maybe try Sources/Profile-Modify.php
Texan78:
--- Quote from: hcfwesker on August 20, 2012, 03:54:04 PM ---Maybe try Sources/Profile-Modify.php
--- End quote ---
Thanks for the response, I have only found the array for on of the input fields. Where could the others be?
-Thanks
Texan78:
Ok I have eliminated some of them and now I just need two that needs to be combined
Here is what I have, One profile input asks for Twitter user name for the twitter on profile mod.
The other is a custom profile field for Twitter for icons and what not.
So I want to combine the two so they only have to input their Twitter user name once and instead of twice.
Here are some ways I was thinking to go about that? I was thinking having the mod pull from the database the same location as it does for the twitter icons since those are custom profile fields. Since it will have the Twitter user name too it could share the same entry. I figured it would be easier that way then the other way around.
Ideas, suggestions?
Texan78:
Anyone?
Navigation
[0] Message Index
[#] Next page
Go to full version