Recent Topics

1 May 31, 2010 05:03    

My b2evolution Version: 3.3.3 - url = http://www.dewdrop-world.net/words

Sorry if this is familiar - neither a google search nor forum search turned up the answer readily.

I just set up a b2evo install on my website - nice btw! Painless installation, really.

I note, though, that an anonymous visitor can click on a username to see the profile, and it displays the login id. So then, a hacker would only need to get that user's password.

Identity
Name: panda1
Login: panda1

I couldn't find an option in the backoffice to control what is or isn't displayed for user profiles.

Also, is there a long-descriptor for users - like an "about me" section?

Thanks.
James

2 Jun 03, 2010 02:24

AFAIK, there's no option to set this. You need to edit your skin. I can't remember exactly which file to edit, but you should be able to find it in the skin directory, but do not edit that file directly - copy that file to your skin folder then edit from there.

Another option is to link to a website instead of profile page. This isn't well documented and I had to go through core files to look up. and you can find instruction here: [url=http://www.prettyscripts.com/software/b2evolution/b2evo-author-links-to-website-instead-of-user-page]here[/url].

As for 'About Me', you can create a new page for that.

4 Jun 03, 2010 03:25

Actually it's _user.display.php. The _profile.disp.php file is the form for updating a profile. Look for this section:

$ProfileForm->begin_fieldset( T_('Identity') );

	$ProfileForm->info( T_('Name'), $User->get( 'preferredname' ) );
    $ProfileForm->info( T_('Login'), $User->get('login') );

	$msgform_url = $User->get_msgform_url( $Blog->get('msgformurl') );
	if( !empty($msgform_url) )
	{
	  $ProfileForm->info( T_('Contact'), '<a href="'.$msgform_url.'">'.T_('Send a message').'</a>' );
	}
	else
	{
	  $ProfileForm->info( T_('Contact'), T_('This user does not wish to be contacted directly.') );
	}

	if( !empty($User->url) )
	{
		$ProfileForm->info( T_('Website'), '<a href="'.$User->url.'" rel="nofollow" target="_blank">'.$User->url.'</a>' );
	}

Just comment out this line:

$ProfileForm->info( T_('Login'), $User->get('login') );

5 Jun 03, 2010 07:42

BushLeagueCritic wrote:

Actually it's _user.display.php. The _profile.disp.php file is the form for updating a profile.

Thanks for clarifying. I suppose, when iceblock says to copy the file into the skin folder, I should do cp ...../skins/_user.display.php ...../skins/plurality ?

By the way, I'm really enjoying b2evo. Previously I was using bBlog, but it never worked quite right and its anti-spam sucked. (Admittedly, I didn't try its captcha plug-in.) Here, the installation worked right out of the box, and it's got the feature set I'm looking for.

Kudos to the developers!
James

6 Jun 04, 2010 02:44

dewdrop_world wrote:

Thanks for clarifying. I suppose, when iceblock says to copy the file into the skin folder, I should do cp ...../skins/_user.display.php ...../skins/plurality ?

Yes. And make sure if you change your skin it's also copied to your new skin.


Form is loading...