tough question because it is a pain in the ass with all the changes. ubbmisc and ubb_library2.pl have to be changed. off the top of my head should hopefully point you in the right direction. lets modify an existing field as i do not know what profile mods you already have. im going to change the ICQ profile to be a users personal profile portrait tag url. since icq sucks no worries. Lets rock p2kewl4u styelZ!
## UBBMISC.CGI
Find:
[/code]Below this add:
[code]
We just added some stuff to do some stuff so the stuff you want it to do, will work.
Find:
[/code]Replace it with:
[code]
Just replaced the ICQ Number Profile with the users OwnAvatar profile.
Find:
[/code]Replace it with:
[code]
Added OwnAvatar to the filter check so HTML is allowed in theprofile[13] variable.
NOTE! Check for this TWICE and make a SECOND change if need be. I think this line:
[code][/code]appears TWICE in UBBMISC.CGI so double check it. If so, make the proper changes as noted above.
Let's continue!
Find:
[/code]Replace it with:
[code]
Find:
[/code]Replace it with:
[code]
Find:
[/code]Replace it with:
[code]
Find:
[/code]Replace it with:
[code]
Find:
<tr $AltColumnColor1>
<td>
<B><FONT SIZE="$TextSize" FACE="$FontFace">ICQ Number</FONT></B>
</td>
<td>
<INPUT TYPE="TEXT" NAME="ICQnum" VALUE="$ICQnumber" SIZE=7 MAXLENGTH=20>
</td></tr>[/code]
Replace it with:
[/code]Find:
<tr $AltColumnColor2>
<TD valign=top><FONT SIZE="$TextSize" FACE="$FontFace"><B>ICQ Number</B></FONT></TD>
<TD ><FONT SIZE="$TextSize" FACE="$FontFace" COLOR="$LinkColor">$in{'ICQ'}</font>
</TD>
</tr>Replace it with:
[code][/code]Got it? Hopefully that's everything. The tables you changed are for cosmetic reasons and to display the custom portrait they selected via their profile. HTML will be allowed. In their profile, under Own Avatar, they enter
http://site_to_point_to.com/images/filename.ext as an example. This will save to $theprofile[13] variable.
To display their personal avatar, you have to go into UBB_LIBRARY2.PL so let's do that next.
IF YOU HAVE THE AVATAR HACK INSTALLED:
Find:
[/code]Replace it with:
[code]
If you don't have the avatar hack installed...
Find:
[/code]Replace it with:
[code]
In UBB_LIBRARY2.PL if $thisprofile[13] is putting up no image, change it to $OwnAvatar
***** THIS MOD is from editing UBBMISC.CGI and UBB_LIBRARY2.PL visually and has not been tested.
p2kewl4u outz!