Spocky
07-01-2001, 02:40 PM
Step 1:
-------
create a transparent image 1x1 pixel and save it as pic.gif
upload it in the root-dir of your forum (where index.php is)
Step 2:
-------
In Admin-CP
->User profile fields
-->Add
--->Title "userpic - 60x60 gif"
--->Description:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxx
Your imagename has to end with pic.gif !
Your imagesize has to be 60 x 60 px !
Example:
Image url: http://myserver/mypic.gif
Use: http://myserver/my (url without pic.gif )
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxx
Step 3:
-------
Find in postbit and announcebit template:
<smallfont>$post[usertitle]</smallfont><br>
$post[avatar]<p>
insert between the lines:
<smallfont>$post[usertitle]</smallfont><br>
<!-- extern userpic -->
<img border="0" src="$post[field5]pic.gif" width="60" height="60" alt="$post[username]"><br>
<!-- /extern userpic -->
$post[avatar]<p>
--------------------------------------------------------
in "[field5]" the "5" depends on your other "User profile fields"
they are counted from 1 to x ..
--------------------------------------------------------
what happens:
if there is no link in the User profile field "userpic":
=> a transparent image with 60x60 is "displayed"
if images are not 60x60 sized:
they are diplayed with 60x60 in any case and the tables don't get out of order
that's all folks
spocky
-------
create a transparent image 1x1 pixel and save it as pic.gif
upload it in the root-dir of your forum (where index.php is)
Step 2:
-------
In Admin-CP
->User profile fields
-->Add
--->Title "userpic - 60x60 gif"
--->Description:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxx
Your imagename has to end with pic.gif !
Your imagesize has to be 60 x 60 px !
Example:
Image url: http://myserver/mypic.gif
Use: http://myserver/my (url without pic.gif )
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxx
Step 3:
-------
Find in postbit and announcebit template:
<smallfont>$post[usertitle]</smallfont><br>
$post[avatar]<p>
insert between the lines:
<smallfont>$post[usertitle]</smallfont><br>
<!-- extern userpic -->
<img border="0" src="$post[field5]pic.gif" width="60" height="60" alt="$post[username]"><br>
<!-- /extern userpic -->
$post[avatar]<p>
--------------------------------------------------------
in "[field5]" the "5" depends on your other "User profile fields"
they are counted from 1 to x ..
--------------------------------------------------------
what happens:
if there is no link in the User profile field "userpic":
=> a transparent image with 60x60 is "displayed"
if images are not 60x60 sized:
they are diplayed with 60x60 in any case and the tables don't get out of order
that's all folks
spocky