Username:
Password:
Search for Plugins: Advanced
Please Sign in, Register or Resend Activation Email

Forums

  e107 Coders.org :: Forums :: E107 Plugins :: Code Bank
 
<< Previous thread | Next thread >>  
help with font size          
Author Post
Mattance
Mon Jan 11 2010, 09:46PM
Registered Member #108062
Joined: Mon Jan 11 2010, 02:46AM
Location:
Posts: 1
we have added a member of the month script to our site but the font size for the actual member is tiny. we have managed to make the size of the month bigger but not the member


heres the code, if you could edit it for me and post back here that would be great


$potm_title = "".$pref['motm_menutitle']."";


if ($pref['motm_enable_gold'] == "1"){
global $GOLD_PREF, $sql2, $gold_obj, $grpg_obj, $tp,$PLUGINS_DIRECTORY;
$gold_obj = new gold();}


$sql->db_Select("potm", "*", "ORDER BY potm_id DESC","");
$row = $sql->db_Fetch();
$sql2 = new db;
$sql2->db_Select("user", "*", "WHERE user_id=".$row['potm_user']."","");
$row2 = $sql2->db_Fetch();

if ($pref['motm_enable_customtrophy'] == "1"){
$trophy = "<img width='".$pref['motm_trophysize']."px' src='".$pref['motm_customtrophy_path']."'></img>";}
else
{$trophy = "<img width='".$pref['motm_trophysize']."px' src='".e_PLUGIN."potm_menu/images/MOM.png'></img>";}

if ($pref['motm_enable_gold'] == "1"){
$userorb = "<font color='#00FF00'>".$gold_obj->show_orb($row2['user_id'])."</font>";}
else
{$userorb = "".$row2['user_name']."";}

$potm_text .= "<table style='width:95%' class='fcaption'><tr>
<td><center>
<br>
<a href='http://www.aacgc.com/SSGC/user.php?id.".$row2['user_id']."'>".$userorb."</a>
<br>
".$trophy."
<font color='".$pref['motm_monthfcolor']."' size='".$pref['motm_monthfsize']."'><b>".$row['month']."</b></font>
<br><br>";

if ($pref['motm_enable_hoflink'] == "1"){
$potm_text .= "<a href='".e_PLUGIN."potm_menu/POTM.php'><font color='#79ad5a'>(View Previous Months)</font></a>
</center></td>
</tr></table>";}

else
{$potm_text .= "</center></td>
</tr></table>";}
~M@CH!N3~
Tue Jan 12 2010, 05:13AM

Registered Member #97816
Joined: Fri Jul 11 2008, 03:33AM
Location: Columbia, SC
Posts: 82
ok, thats looks like the AACGC member of the month plugin which I created, If you are using the latest version there are settings in the admin panel to adjust all font sizes and even use custom image and also fixes the link to the users profile, if you look it has my website address in the coding and that was a bug in the first version, go to AACGC.com and download the newest one.

[ Edited Tue Jan 12 2010, 05:15AM ]
Back to top
Website
JessieKyle
Tue Jul 13 2010, 07:29PM

Registered Member #110085
Joined: Tue Jul 13 2010, 06:13PM
Location:
Posts: 7
Wow!
That's interesting...I'll be back to find a good answer with your problem. I am actually a newbie in programming using the php...^_^
Back to top
 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System
Render time: 0.2070 sec, 0.1323 of that for queries. DB queries: 32.