File
/includes/user_fields/user_srank_include.php
Look for...
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]echo "<font color='green'>".$user_data['user_srank']."</font>\n";[/syntaxhighlighter]
Change that too...
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]echo "<img src='".$user_data['user_srank']." width='100px' height='100px' alt='' />\n"; [/syntaxhighlighter]
Save upload overwrite.
Now edit special_ranks.php
Look for...
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]
echo " <td class='".$row_color."'><span style='color:#339900;'>".$data['user_srank']."</span></td>\n";[/syntaxhighlighter]
Change it too...
[syntaxhighlighter brush=php,first-line=1,highlight=0,collapse=false,html-script=false]
echo " <td class='".$row_color."'><img src='".$user_data['user_srank']." width='100px' height='100px' alt='' /></td>\n";[/syntaxhighlighter]
Save upload overwrite.
Now to use this when editing a users profile just simply add the url to the image in the textfield. something like...
http://www.theimagehost.com/imasges/the_image.jpg
0 replies