Forum Moderators: coopster

Message Too Old, No Replies

Can you make URL's not displayable in public profile

Phpbb

         

phidentity

8:32 am on Oct 8, 2004 (gmt 0)

10+ Year Member



Is this possible?

Getting annoying memberlist spammers.

Cheers

Jon

phidentity

8:32 am on Oct 8, 2004 (gmt 0)

10+ Year Member



Arghhh. Totally wrong place for this.

Sorry, still in a weird state (see Foo), please put this in forum building.

Sorry!
Jon

jatar_k

5:59 pm on Oct 8, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member




actually it is a php question

since the view profile path looks like this

www.example.com/profile.php?mode=viewprofile&u=8888

When we look at profile.php we see

if ( $mode == 'viewprofile' )

this includes

includes/usercp_viewprofile.'.$phpEx

so we wander over to usercp_viewprofile

we find an entry in there for

'L_WEBSITE' => $lang['Website'],

so this is where the website url is stored, we could probably just blank this out by giving it

'L_WEBSITE' => " ",

or you could go farther into it and remove it from the actual output

so going farther we see that the template used to output this page is

$template->set_filenames(array(
'body' => 'profile_view_body.tpl')
);

so going over to profile_view_body.tpl

we find these lines

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

which I would imagine are the lines to output the website in the profile, so delete those and you should be home free. I haven't tested any of this, just followed the convoluted logic of phpbb. ;)