EllisLab text mark
Advanced Search
     
Where is ‘Powered by ExpressionEngine’ Used by Forum Home Page Located?
Posted: 01 September 2010 05:10 AM   [ Ignore ]
Avatar
Joined: 2006-03-24
181 posts

I’m trying to locate and change/remove the ‘Powered by ExpressionEngine’ string that appears on the Forum home page by default [to try and make the site less attractive to spammers - I can see they’re searching for this then go straight to registration).

I had thought it might be in /system/expressionengine/language/english/

lang.forum.php as ‘powered_by_ee’ but changed this to no effect. Having said this I also appear to have forum_lang.php with the same stuff.

Where is this string located and do I need both of these seemingly the same file sets i.e. lang.forum.php + lang.forum_cp.php and forum_lang.php + forum_cp_lang.php?

PS Yes,have done the usual wrt denying access to the member list and I’ve also removed the member URL fields from every form I can find to make it impossible to enter or display these.

 
Posted: 01 September 2010 11:56 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2009-09-24
5506 posts

Hi wikitect,

Changing that variable in the forum language file should do the trick. You could also remove the {lang:powered_by_ee} tag from [forum theme]/forum_global/html_footer.html.

 
Posted: 01 September 2010 12:13 PM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Avatar
Joined: 2006-03-24
181 posts

The problem is that a) I’ve done it in those 2 forum language files (I don’t know which or if both are needed) and b) my forum still shows the powered by etc on the home page hence the question.

'powered_by_ee' =>
'Home',

'ee_discussion_forum' =>
'Discussion Forum',

'ee_forums' =>
'Discussion Forums'

in forum_lang.php and lang.forum.php

but http://systems-thinkers.org/forums/ still shows the HTML header that I’m trying to remove

 
Posted: 01 September 2010 12:40 PM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Avatar
Joined: 2010-07-03
162 posts

I just edit the forum template/s:

/system/themes/forum_themes/grey/forum_global/html_footer.html

Just remove that whole block, and you’re golden. You’ll have to do this for each theme you have installed (if you allow the user to change themes).

On a side note, is there a way to completely block any and ALL access to a forum for the Guest member-group? I would love to know how.

 
Posted: 01 September 2010 04:04 PM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Avatar
Joined: 2006-03-24
181 posts

I’m not trying to remove the thing from the footer - I’ve done that. It’s the title of the web page when the forum home is shown that contains it i.e. it’s in the <title></title> tag .... as you can see

<head>
<
title>Systems-Thinkers::Forums::Powered By ExpressionEngine</title
 
Posted: 01 September 2010 08:52 PM   [ Ignore ]   [ # 5 ]   [ Rating: 0 ]
Avatar
Joined: 2002-04-29
26055 posts

It’s in the following bit of code:

function _build_crumbs($title$crumbs$str)
    
{        
        $this
->_set_page_title(($title == '') ? 'Powered By ExpressionEngine' $title); 

Around line 1556 of mod.forum.php.

 
Posted: 02 September 2010 06:39 AM   [ Ignore ]   [ # 6 ]   [ Rating: 0 ]
Avatar
Joined: 2006-03-24
181 posts

Thanks, Sue - this is what I needed. Shouldn’t this refer to the lang:string? Seems silly to set up constants for use elsewhere and then hard code in a text string like this.

The other part of the questions was which set of forum language files is valid? I think the naming scheme must have change for the forum module and I’ve got an old and a new set. I’d like to delete the set that is no longer needed.

Ta

 
Posted: 02 September 2010 03:46 PM   [ Ignore ]   [ # 7 ]   [ Rating: 0 ]
Avatar
Joined: 2009-09-24
5506 posts

Hi wikitect, the new naming scheme is the one with underscores, like forum_lang.php.

 
Posted: 02 September 2010 06:40 PM   [ Ignore ]   [ # 8 ]   [ Rating: 0 ]
Avatar
Joined: 2006-03-24
181 posts

OK, so which of lang.forum_cp.php or forum_cp_lang.php is correct(both having underscores)?

 
Posted: 02 September 2010 07:15 PM   [ Ignore ]   [ # 9 ]   [ Rating: 0 ]
Avatar
Joined: 2002-04-29
26055 posts

See enclosed screen shot.

 
Posted: 22 September 2010 05:32 AM   [ Ignore ]   [ # 10 ]   [ Rating: 0 ]
Avatar
Joined: 2008-06-28
103 posts

Are we allowed to remove the “powered by Expression Engine” items from our sites? Is this ok with the licensing?

 
Posted: 22 September 2010 03:53 PM   [ Ignore ]   [ # 11 ]   [ Rating: 0 ]
Avatar
Joined: 2004-05-15
29075 posts

Yes. The license only demands that all “copyright and proprietary notices and logos in the Control Panel and within the Software files must remain intact”. You can remove any reference to EE from the public parts of your site, though.