Previous Thread
Next Thread
Print Thread
Rate Thread
#44607 06/18/2002 1:07 PM
Joined: May 2002
Posts: 7
Junior Member
Junior Member
Offline
Joined: May 2002
Posts: 7
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
[/code]Below this add:

Code
</pre></div></div>We just added some stuff to do some stuff so the stuff you want it to do, will work.<br><br>Find:<br><br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
Replace it with:

Code
</pre></div></div>Just replaced the ICQ Number Profile with the users OwnAvatar profile.<br><br>Find:<br><br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
Replace it with:

Code
</pre></div></div>Added OwnAvatar to the filter check so HTML is allowed in theprofile[13] variable.<br><br>NOTE!  Check for this TWICE and make a SECOND change if need be.  I think this line:<br><br>[code]
appears TWICE in UBBMISC.CGI so double check it. If so, make the proper changes as noted above.

Let's continue!

Find:

Code
[/code]Replace it with:

Code
</pre></div></div>Find:<br><br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
Replace it with:

Code
</pre></div></div>Find:<br><br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
Replace it with:

Code
</pre></div></div>Find:<br><br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
Replace it with:

Code
</pre></div></div>Find:<br><br><tr $AltColumnColor1><br><td><br><B><FONT SIZE="$TextSize" FACE="$FontFace">ICQ Number</FONT></B><br></td><br><td><br><INPUT TYPE="TEXT" NAME="ICQnum" VALUE="$ICQnumber" SIZE=7 MAXLENGTH=20><br></td></tr>

Replace it with:

Code
[/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  <a href="http://site_to_point_to.com/images/filename.ext"   target="_blank">http:/<wbr>/<wbr>site_to_point_to.com/<wbr>images/<wbr>filename.ext</a>  as an example.  This will save to $theprofile[13] variable.<br><br>To display their personal avatar, you have to go into UBB_LIBRARY2.PL so let's do that next.<br><br>IF YOU HAVE THE AVATAR HACK INSTALLED:<br><br>Find:<br><br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
Replace it with:

Code
</pre></div></div>If you don't have the avatar hack installed...<br><br>Find:<br><br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre>
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!

Sponsored Links
Entire Thread
Subject Posted By Posted
pictures ? Metallifukinca 06/16/2002 8:16 AM
Re: pictures ? Lord Dexter 06/16/2002 9:18 AM
Re: pictures ? BassTeQ 06/17/2002 12:37 AM
Re: pictures ? Lord Dexter 06/17/2002 10:54 AM
Re: pictures ? p2kewl 06/18/2002 8:07 PM
Re: pictures ? Metallifukinca 06/20/2002 10:00 AM
Re: pictures ? p2kewl 06/20/2002 10:27 PM
Re: pictures ? Metallifukinca 06/21/2002 8:13 AM
Re: pictures ? Lord Dexter 06/21/2002 9:11 AM
Re: pictures ? Metallifukinca 06/21/2002 10:02 AM
Re: pictures ? Lord Dexter 06/21/2002 1:14 PM
Re: pictures ? p2kewl 06/21/2002 2:23 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
• Shock Hosting
• Stable Host
• bluehost
• InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,825
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 5263
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 5
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)