CZ-1 Theme Profile Page Formatting

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   CZ-1 Theme Profile Page Formatting
JRSweets
CZ Active Member
 Codezwiz Site Donator
JRSweets has been a member for over 20 year's 20 Year Member
usa.gif massachusetts.gif
Age: 43
Gender: Male
Fav. Sports Team: NE Patriots
Website:
Status: Offline
Joined: Apr 07, 2004
0.03 posts per day
Posts: 259
Points: 19,861
  MSN Messenger 
I love this team. I am using it on my site. However I have a question. When viewing someones profile, "Yahoo Messenger:" does not have the raised box after it like the rest. I have attached a picture to let you guy see what I am talking about. Once enter a Yahoo Messenger ID the raised box appears around it, but even with nothing in the msn box it is still raised.

Any ideas?




screen.JPG
 Description:
N/A
 Filesize:  74.54 KB
 Viewed:  8765 Time(s)

screen.JPG




Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
If it is doing on on that theme it should do it on all your themes. You can fix it by just finding these lines in the includes/usercp_viewprofile.php


$yim_img = ( $profiledata['user_yim'] ) ? '<a href="ymsgr:sendim?' . $profiledata['user_yim'] . '"><img src="' . $images['icon_yim'] . '" alt="' . $lang['YIM'] . '" title="' . $lang['YIM'] . '" border="0" /></a>' : '';
$yim = ( $profiledata['user_yim'] ) ? '<a href="ymsgr:sendim?' . $profiledata['user_yim'] . '">' . $lang['YIM'] . '</a>' : '';


Change those to this

if ( !empty($profiledata['user_yim']) )
{
$yim_img = ( $profiledata['user_yim'] ) ? '<a href="ymsgr:sendim?' . $profiledata['user_yim'] . '"><img src="' . $images['icon_yim'] . '" alt="' . $lang['YIM'] . '" title="' . $lang['YIM'] . '" border="0" /></a>' : '';
$yim = ( $profiledata['user_yim'] ) ? '<a href="ymsgr:sendim?' . $profiledata['user_yim'] . '">' . $lang['YIM'] . '</a>' : '';
}
else
{
   $yim_img = '& nbsp; ';
}


Make a back up and try that. Remove the space in the & nbsp;



_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: CZ-1 Theme Profile Page Formatting
JRSweets
CZ Active Member
 Codezwiz Site Donator
JRSweets has been a member for over 20 year's 20 Year Member
usa.gif massachusetts.gif
Age: 43
Gender: Male
Fav. Sports Team: NE Patriots
Website:
Status: Offline
Joined: Apr 07, 2004
0.03 posts per day
Posts: 259
Points: 19,861
  MSN Messenger 
I actually had this code.
$yim_img = ( $profiledata['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $profiledata['user_yim'] . '&amp;.src=pg"><img src="' . $images['icon_yim'] . '" alt="' . $lang['YIM'] . '" title="' . $lang['YIM'] . '" border="0" /></a>' : ' ';
$yim = ( $profiledata['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $profiledata['user_yim'] . '&amp;.src=pg">' . $lang['YIM'] . '</a>' : ' ';


I added the & nbsp; to the end and it worked. I wonder why just YIM didn't have it? Oh well, thank you again.


Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum