[SOLVED] Custom Pro...
 
Notifications
Clear all

[SOLVED] Custom Profile Field

5 Posts
3 Users
0 Reactions
2,272 Views
(@clove)
Posts: 26
Eminent Member
Topic starter
 

I've been trying to add a custom profile field, but have had little success.

I want members to be able to post their own avatars, but I don't want them uploaded to the archive. I searched the forum and there was an idea to use an Id with URL, and just have <img src=""{info}"/>"

It works, but it makes a link with the image, and the link takes you to my 404 page.

I wanted to use a Custom Code, but I just keep getting errors.

Can anyone help me out here.

You can view what I'm talking about here: http://fanfic.jarlylove.com/viewuser.php?uid=1


Url: http://fanfic.jarlylove.com/
Efic Version: 3.3.1
Latest Patches: Yes
Bridges: none
Mods: Challenges, Beta-Reader, Recommendations, Story end
PHP:  5.2.2
MySQL: 5

Corinne-Designs.net

 
Posted : 26/12/2006 11:47 pm
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

Good luck with that. I've never figured out how to make a pic without the link. I've actually forgot that it was a link. I don't think anyone actually clicks on the profile images.

but if you figure it out, let me know, okay? Thanks.


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 27/12/2006 6:32 am
(@tammy)
Posts: 2577
Member Moderator
 

Custom Form Code:


$output .= "<div><label for='avatar'>".$field['field_title'].":</label><INPUT type='text' class='textbox'  name='af_".$field['field_name']."' maxlength='250' value='".(!empty($user['af_'.$field['field_id']]) ? $user['af_'.$field['field_id']] : "")."' size='20'></div>";

Custom Profile Code:


$thisfield = "<img src="'".$field['info'"]."'>";

 
Posted : 27/12/2006 6:13 pm
Jan_AQ
(@jan_aq)
Posts: 1300
Noble Member
 

Whoo! Works great! Thank you so much Tammy. πŸ˜€


Whoever said nothing is impossible never tried slamming a revolving door.

url: https://www.potionsandsnitches.org/fanfiction
php: 7.4.33 msql: 5.6.51-community GPL
efic version: 3.5.5 latest patches: yes
bridges: none mods: challenges, tracker, story end, beta, word

 
Posted : 27/12/2006 6:21 pm
(@clove)
Posts: 26
Eminent Member
Topic starter
 

Thanks so much. I almost destroyed everything about 15 times trying to figure it out.


Url: http://fanfic.jarlylove.com/
Efic Version: 3.3.1
Latest Patches: Yes
Bridges: none
Mods: Challenges, Beta-Reader, Recommendations, Story end
PHP:  5.2.2
MySQL: 5

Corinne-Designs.net

 
Posted : 28/12/2006 12:06 am
Share: