Profile website link is missing - FIXED

All web design discussion, including Ultimate Quiz MOD support.

Moderator: CricketMX Forum Moderators

Post Reply
Leon
Know-It-All
Know-It-All
Posts: 282
Joined: Tue Feb 07, 2006 11:09 am
Contact:

Well, i havent seen this until now, but here at my profile i can see a link to
my homepage i created here:

Image

But at my forum there is no such link in the profile.
I have gone thrue the whole install file again,
and i see no miss..


But one ting come to my mind:

Files To Edit (11):
groupcp.php
viewtopic.php
memberlist.php
constants.php
usercp_register.php
usercp_viewprofile.php
lang_main.php
lang_admin.php
profile_add_body.tpl
memberlist_body.tpl
groupcp_info_body.tpl


Should not the file:
profile_view_body.tpl
Be a part of this install ?

Maybe therefor its not there ?
Because as far as i know that is the correct file for the profile. :?
Last edited by Leon on Sun May 28, 2006 1:28 pm, edited 1 time in total.
Talk, discuss or debate everything about Volunteer 'ing at this forum!
Volunteer Forum Community
Leon
Know-It-All
Know-It-All
Posts: 282
Joined: Tue Feb 07, 2006 11:09 am
Contact:

If i then do like this:
(Just so i say it: i have no idé it is this file it should be in,
I suppose it must be somewhere else, because this dosen't work)



open:
profile_view_body.tpl
Find:


<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_WEBSITE}:&nbsp;</span></td>
<td><span class="gen"><b>{WWW}</b></span></td>


Replace whit:

<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_WEBSITE}:&nbsp;</span></td>
<td><span class="gen"><b>{WWW}{memberrow.HOMEPAGE}</b></span></td>


Then still nothing happens...


But if i:
Replace whit:


<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_WEBSITE}:&nbsp;</span></td>
<td><span class="gen"><b>{WWW} TESTING</b></span></td>


Then i see testing right after...
So what can be wrong ?


I have tested replacing whit:
{member_row.HOMEPAGE}
{MOD_HOMEPAGE}
{memberrow.HOMEPAGE}
{postrow.HOMEPAGE}

But nothing works =/
Talk, discuss or debate everything about Volunteer 'ing at this forum!
Volunteer Forum Community
Leon
Know-It-All
Know-It-All
Posts: 282
Joined: Tue Feb 07, 2006 11:09 am
Contact:

I found the problem:

Code: Select all

{
	$email_img = '&nbsp;';
	$email = '&nbsp;';
}

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#
	if( $profiledata['user_website_html'] == '' ||  !isset($userdata['user_website_html']) )
	{
	$homepage_link = "";
	}
	
	else
	{
	$homepage_link = "&nbsp;<a href=" . append_sid("website.$phpEx?id=" . intval($profiledata['user_id']) . "") . "><img src='./templates/CricketMX.com/images/icon_website.gif' border='0'/></a>";
	}
But i had added the code:

Code: Select all

{
	$email_img = '&nbsp;';
	$email = '&nbsp;';

Here before the last"}" therefor it diden't work..

}
Talk, discuss or debate everything about Volunteer 'ing at this forum!
Volunteer Forum Community
Post Reply