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


  e107 :: Forums :: E107 Plugins :: Code Bank
<< Previous thread | Next thread >>  
help with font size          
Author Post
Mon Jan 11 2010, 09:46PM
Registered Member #108062
Joined: Mon Jan 11 2010, 02:46AM
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>";}
{$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>";}
{$userorb = "".$row2['user_name']."";}

$potm_text .= "<table style='width:95%' class='fcaption'><tr>
<a href='".$row2['user_id']."'>".$userorb."</a>
<font color='".$pref['motm_monthfcolor']."' size='".$pref['motm_monthfsize']."'><b>".$row['month']."</b></font>

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

{$potm_text .= "</center></td>
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 and download the newest one.

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

Registered Member #110085
Joined: Tue Jul 13 2010, 06:13PM
Posts: 7
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.1713 sec, 0.1046 of that for queries. DB queries: 32.