PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
dark-dude
Worker
Worker


Joined: Jun 29, 2003
Posts: 146
Location: Oklahoma

PostPosted: Fri Feb 06, 2004 3:18 pm Reply with quote Back to top

I have tried with several failure attempts to get the msn image to show up in a profile
I tried puting in my msn email....msn username....even a hotmail address....and all i ver see is whatever i enter. No image. I tried editing includes files and still nothin. How can I make this link work and the image show?
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Fri Feb 06, 2004 3:39 pm Reply with quote Back to top

Post the code (using bbcode tags) that you are trying to use.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
dark-dude
Worker
Worker


Joined: Jun 29, 2003
Posts: 146
Location: Oklahoma

PostPosted: Fri Feb 06, 2004 4:28 pm Reply with quote Back to top

ok I am editing includes/usercp_viewprofile.php and all it has is this.
Code:
$msn_img = ( $profiledata['user_msnm'] ) ? $profiledata['user_msnm'] : ' ';
$msn = $msn_img;
and I have been changing it to
Code:
$msn_img = ( $profiledata['user_msn'] ) ? '<a href="' . $profiledata['user_msn'] .
'"><img src="' . $images['icon_msnm'] . '" alt="' . $lang['MSN'] . '" title="' .
$lang['MSN'] . '" border="0" /></a>' : '&nbsp;';
$msn = ( $profiledata['user_msn'] ) ? '<a href="' . $profiledata['user_msn'] .
'">' . $lang['MSN'] . '</a>' : '&nbsp;';

and the file shows below there...
Code:
'MSN_IMG' => $msn_img, and this 'MSN' => $msn, and 'L_MESSENGER' => $lang['MSNM'],
so dunno where to fix it at I have went back to original file for now.
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
dark-dude
Worker
Worker


Joined: Jun 29, 2003
Posts: 146
Location: Oklahoma

PostPosted: Fri Feb 06, 2004 7:53 pm Reply with quote Back to top

I noticed when I updated my profile here.....same thing...MSNM image don't show....must be in nuke?
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Fri Feb 06, 2004 7:55 pm Reply with quote Back to top

?? I see your msnm image just fine.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
dark-dude
Worker
Worker


Joined: Jun 29, 2003
Posts: 146
Location: Oklahoma

PostPosted: Fri Feb 06, 2004 8:07 pm Reply with quote Back to top

i don't....i see all of em but msn
MSN Messenger: dark-dude
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Fri Feb 06, 2004 8:13 pm Reply with quote Back to top

You don't see msnm in-between YIM and ICQ?


Image
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
dark-dude
Worker
Worker


Joined: Jun 29, 2003
Posts: 146
Location: Oklahoma

PostPosted: Fri Feb 06, 2004 8:27 pm Reply with quote Back to top

yes i see it here....but look at online and click on my nick and preview my profile...it just says dark-dude
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Fri Feb 06, 2004 11:00 pm Reply with quote Back to top

The link is not filled in because I don't use msn, nor do I know how to directly call it, but this will fix it.
Code:
$msn_img = ( $profiledata['user_msnm'] ) ? '<a href="#?screenname=' . $profiledata['user_msnm'] . '&amp;message=Hello+Are+you+there?"><img src="' . $images['icon_msnm'] . '" alt="' . $lang['MSNM'] . '" title="' . $lang['MSNM'] . '" border="0" /></a>' : '&nbsp;';
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
chatserv
The Mouse Is Extension Of Arm


Joined: May 02, 2003
Posts: 1396
Location: Puerto Rico

PostPosted: Fri Feb 06, 2004 11:06 pm Reply with quote Back to top

In profile_view_body.tpl find something similar to (varies with each theme):
Code:
        <td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_MESSENGER}:</span></td>
        <td class="row1" valign="middle"><span class="gen">{MSN}</span></td>

Change to:
Code:
        <td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_MESSENGER}:</span></td>
        <td class="row1" valign="middle"><span class="gen">{MSN_IMG}</span></td>


Then in includes/usercp_viewprofile.php find:
Code:
$msn_img = ( $profiledata['user_msnm'] ) ? $profiledata['user_msnm'] : '&nbsp;';
$msn = $msn_img;

Change to:
Code:
$msn_img = ( $profiledata['user_msnm'] ) ? '<a href="profile-.html' .$profiledata['user_id'] . '"><img src="' . $images['icon_msnm'] . '" alt="' . $lang['MSM'] . '" title="' . $lang['MSM'] . '" border="0" /></a>' : '';
$msn = $msn_img;


I believe it displays your msn handle instead of the image in the profile by default because in the forums the image will take you to the user's profile, not much sense in having a link to the profile within the profile, but since you want the image i provide the code for it.
View user's profile Send private message Visit poster's website
chatserv
The Mouse Is Extension Of Arm


Joined: May 02, 2003
Posts: 1396
Location: Puerto Rico

PostPosted: Fri Feb 06, 2004 11:09 pm Reply with quote Back to top

Guess Raven and i posted about the same time Razz
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Fri Feb 06, 2004 11:14 pm Reply with quote Back to top

I'll happily defer to you Wink . BTW, can you take a look at this one
Only registered users can see links on this board!
Get registered or login to the forums!
?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Lateron
Worker
Worker


Joined: May 10, 2003
Posts: 119
Location: Katoomba, NSW, Australia.

PostPosted: Sat Feb 07, 2004 9:26 pm Reply with quote Back to top

Just for interest's sake I have been visiting a few phpBB boards in the last hour and noticed that they all display msn this way in the profiles.

Ron.....
View user's profile Send private message Visit poster's website
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

View next topic
View previous topic
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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum