Recent Topics

1 Dec 08, 2007 15:02    

My b2evolution Version: 1.10.x

I don't want people who comment, to be able to put in an URL. I want to get rid of the URL input box when leaving a comment.

What code do I need to remove from the _feedback.php file ?

Any help is appriciated.

2 Dec 08, 2007 15:49

For non-members (not logged in) comment out _feedback.php line 246:

$Form->text( 'o', $comment_author_url, 40, T_('Site/Url'), T_('Your URL will be displayed.'), 100, 'bComment' );


For members (logged in) comment our line 210:

$comment_author_url = $preview_Comment->author_url;

.

This should do the trick, but you're the tester, I have a 1.10 blog with some alterations that prevent me from trying before I post here.

There is something to say about the _feedback.php. If you store it in the /skins/ folder, then it's the general (fallback) file. If you place it in the folder of the skin, that one shall be used instead. This provides you maximal flexibility.

Good luck

3 Dec 08, 2007 16:12

Works perfectly :-)

Thanks !


Form is loading...