I'm wondering if it would be possible to change the email inputs for yahoo and msn to Facebook URLs/twitter handles? I've had a look around the
templates, but I can't seem to figure out which areas to edit. :/ Any ideas?
and either hard code change for example $lang[textyahoo] to Facebook
or add $lang[textfacebook] to the lang file then change template $lang[textyahoo] to $lang[textfacebook]
Beck up template and any files before changing.annabelle sucks - 6-21-2014 at 05:15 PM
Thank you, I've changed the lang files and updates the [textyahoo] to [textfacebook] - but it doesn't seem to be appearing in the member profile, or
at the bottom of a users post. Are there any more templates which I need to edit?lottos - 6-21-2014 at 10:05 PM
viewthread_post_yahoo template - you will need to create an image for facebook and change it accordingly in the template along with changes from yahoo
to facebook. change http://profiles.yahoo.com/$post[yahoo] to https://facebook.com/$post[yahoo] and lang['textyahoo'] and yahoo.gif...
member_profile template - needs changes for seeing the new facebook/twitter data in the member profile
annabelle sucks - 6-22-2014 at 01:27 PM
Hmm, I've changed the 'yahoo' to 'facebook' in the templates you've mentioned, but it hasn't made a difference it seems, I've also uploaded a
facebook.gif to the image directory.
I've attatched .txt files of the templates mentioned including my edits in them incase it helps.
Thank you
Attachment: member_profile.txt (4kB) This file has been downloaded 273 times
Attachment: memcp_profile.txt (9kB) This file has been downloaded 244 times
Attachment: viewthread_post_yahoo.txt (224B) This file has been downloaded 230 timeslottos - 6-22-2014 at 10:36 PM
Remember you are not changing the database reference to yahoo, only the description, so this line for example in member_profile should retain what was
originally there:
Never mind! I figured it out and it's working Thank you for your help lottos!
You're very welcome - I knew you would be able to do it with the clues!
One more hint - the viewthread.php, look for the yahoo and msn stuff and change the onmouse over to reflect the new social media as the current ones
show the old onmouse overs.lottos - 6-26-2014 at 12:37 PM
nice work!Mouser - 6-30-2014 at 04:53 PM
I posted something like a long time ago. It will add all kinds of input fields. You can add/remove as required.
Because a series are added here at once, you'll see what you have t do to add more.