Clan Adverts

Custom PHPNuke Scripts

 

www.clan-themes.co.uk :: View topic - Missing msn icon in profile fix

 Welcome To Clan Themes 

As the board grows please remember the Search Option and we hope you find our community useful.

We also monitor Private Messages to stop members from abusing our sites system.
If you are asking for assistance please provide your site link and nuke version, Thanks.

Missing msn icon in profile fix

8 Replies / 300 Views


Post new topic   Reply to topic  

   www.clan-themes.co.uk Forum Index » General PhpNuke

View previous topic :: View next topic


Bayler
Reputation: 743.2
votes: 9
Local time: 7:50 AM

usa.gif

Status: Offline
1.17 posts per day
Medals: 1 (View more...)
Site Supporter (Amount: 1)

Joined: Nov 01, 2007
Last Visit: 03 Jul 2008
Posts: 288
Points: 5513 

Post Missing msn icon in profile fix Posted: Thu May 08, 2008 2:47 pm   

Ok, i feel kinda stupid, because i chewed the Nuke Evolution Developer a new arse over this stupid tupo which caused this issue, turns out..it is a problem on almost ALL Nuke Distros...

Even more surprising is that someone hasnt contacted the many Nuke Distro Develoeprs to tell them about the issue!
So...heres how to fix ( Missing Icon in Profile )

Open ( includes/usercp_viewprofile.php )

find $msn_img ="

which is normally after:
Code:

$aim = ( $profiledata['user_aim'] ) ? '<a href="aim:goim?screenname=' . $profiledata['user_aim'] . '&amp;message=Hello+Are+you+there?">' . $lang['AIM'] . '</a>' : ' ';


Basically, since this covers all nuke distros, everything that displays the $msn_img = should be replaced with:

Code:

if ( !empty($profiledata['user_msnm']) )
{
$msn_img = ( $profiledata['user_msnm'] ) ? '<a href="http://members.msn.com/' . $profiledata['user_msnm'] . '" target="_blank"><img src="' . $images['icon_msnm'] . '" alt="' . $lang['MSNM'] . '" title="' . $lang['MSNM'] . '" border="0" /></a>' : '';
$msn = $msn_img;
}
else
{
$msn = ' ';
}
if(strlen($msn) >= 25 && strlen($msn) <= 49) {
    $msn = "<p style='font-size=small'>".$msn."</p>";
} else if(strlen($msn) >= 50) {
    $msn = "<p style='font-size=x-small'>".$msn."</p>";
}


Last edited by Bayler on Fri May 09, 2008 5:12 pm; edited 1 time in total
 

You will not recieve help from me if i have to go digging for your CMS information and version, If i have to take the time to play 21 questions, then you can take the time to google! No Copyright, no support either!  
View user's profileSend private messageMSN Messenger Reply with quote

Bayler
Reputation: 743.2
votes: 9
Local time: 7:50 AM

usa.gif

Status: Offline
1.17 posts per day
Medals: 1 (View more...)
Site Supporter (Amount: 1)

Joined: Nov 01, 2007
Last Visit: 03 Jul 2008
Posts: 288
Points: 5513 

Post Missing msn icon in profile fix Posted: Fri May 09, 2008 5:13 pm   

grrrr....stupid Typos....

hey Ped, hows about fixing this website...im seeing my MSN email instead of my MSN icon!
 

 
View user's profileSend private messageMSN Messenger Reply with quote

Ped
Reputation: 450.3
votes: 17
Local time: 1:50 PM
Location: Great British Empire
uk.gif

Status: Offline
2.93 posts per day
Medals: 2 (View more...)
Dedicated User (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 04 Jul 2008
Posts: 1759
Points: 8422 

Post Re: Missing msn icon in profile fix Posted: Fri May 09, 2008 5:39 pm   

Bayler wrote:
grrrr....stupid Typos....

hey Ped, hows about fixing this website...im seeing my MSN email instead of my MSN icon!


I did thats how i found the typo error Dont Know
 

 
View user's profileSend private messageSend e-mail Reply with quote

Bayler
Reputation: 743.2
votes: 9
Local time: 7:50 AM

usa.gif

Status: Offline
1.17 posts per day
Medals: 1 (View more...)
Site Supporter (Amount: 1)

Joined: Nov 01, 2007
Last Visit: 03 Jul 2008
Posts: 288
Points: 5513 

Post Missing msn icon in profile fix Posted: Fri May 09, 2008 7:20 pm   

If you fixed it..why am i still seeing this:

 

 
View user's profileSend private messageMSN Messenger Reply with quote




Ped
Reputation: 450.3
votes: 17
Local time: 1:50 PM
Location: Great British Empire
uk.gif

Status: Offline
2.93 posts per day
Medals: 2 (View more...)
Forums MoD (Amount: 1)
Clan Themes Theme Guru
Clan Themes Theme Guru
Joined: Nov 13, 2006
Last Visit: 04 Jul 2008
Posts: 1759
Points: 8422 

Post Missing msn icon in profile fix Posted: Fri May 09, 2008 8:23 pm   

Dont Know I guess there must be more than 1 edit then as this is what i get

Shot1.jpg
 Description:
 Filesize:  39.3 KB
 Viewed:  0 Time(s)

Shot1.jpg


 

 
View user's profileSend private messageSend e-mail Reply with quote

DreAdeDcoRpSE
Reputation: 632.7
votes: 3
Local time: 7:50 AM
Location: Back of your Mind
usa.gif

Status: Offline
0.97 posts per day
Medals: 1 (View more...)
Site Supporter (Amount: 1)
Forums Moderator
Forums Moderator
Joined: Sep 22, 2007
Last Visit: 05 Jul 2008
Posts: 279
Points: 3948 

Post Re: Missing msn icon in profile fix Posted: Fri May 09, 2008 10:20 pm   

Shop Purchases:
Enemy Territory Theme (Aviator) for PHP Nuke

Is it supposed to display the images for all of them, or just MSN and Yahoo? Or should it display the images for AIM also?
 

 
View user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger Reply with quote

Bayler
Reputation: 743.2
votes: 9
Local time: 7:50 AM

usa.gif

Status: Offline
1.17 posts per day
Medals: 1 (View more...)
Site Supporter (Amount: 1)

Joined: Nov 01, 2007
Last Visit: 03 Jul 2008
Posts: 288
Points: 5513 

Post Missing msn icon in profile fix Posted: Sat May 10, 2008 12:20 am   

it should display the image for any Instant messenger a person has available in their Profile...

If you have your AIM info in your profile, it should display the AIM icon, if your profile filed is blank..then nothing should show!
 

 
View user's profileSend private messageMSN Messenger Reply with quote

DreAdeDcoRpSE
Reputation: 632.7
votes: 3
Local time: 7:50 AM
Location: Back of your Mind
usa.gif

Status: Offline
0.97 posts per day
Medals: 1 (View more...)
Site Supporter (Amount: 1)
Forums Moderator
Forums Moderator
Joined: Sep 22, 2007
Last Visit: 05 Jul 2008
Posts: 279
Points: 3948 

Post Missing msn icon in profile fix Posted: Sat May 10, 2008 12:55 am   

Shop Purchases:
Enemy Territory Theme (Aviator) for PHP Nuke

huh, well then my icon is not showing, just my AIM name. along with the MSN. Yahoo is fine.
 

 
View user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger Reply with quote




Bayler
Reputation: 743.2
votes: 9
Local time: 7:50 AM

usa.gif

Status: Offline
1.17 posts per day
Medals: 1 (View more...)
Site Supporter (Amount: 1)

Joined: Nov 01, 2007
Last Visit: 03 Jul 2008
Posts: 288
Points: 5513 

Post Missing msn icon in profile fix Posted: Sat May 10, 2008 2:16 am   

OK...this is going to turn into an epidemic...

Ped..send me your ( usercp_viewprofile.php ) file as well as your ill look through it and see whats wrong!
 

 
View user's profileSend private messageMSN Messenger Reply with quote
Post new topic   Reply to topic  
   www.clan-themes.co.uk Forum Index » General PhpNuke


 
8 Replies / 300 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
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 can download files in this forum