How would I add my own sites copyright to the footer? I’m not removing anything. Just adding.
Footer March 31, 2022, 12:43:44 pm How would I add my own sites copyright to the footer? I’m not removing anything. Just adding.
Re: Footer Reply #1 – March 31, 2022, 02:16:39 pm For the 1.1 line, its in your index.language.php file e.g. /themes/default/languages/english/index.english.php file. Search for a $forum_copyright string and change it to what you would like. There are no requirements to keep the ElkArte name, nice yes, required, never.
Re: Footer Reply #3 – March 31, 2022, 04:03:52 pm Question: how do I change it? I added some text but then the site gets an error when I do that. Is there a certain php code or something I need to use to add my site's copyright?
Re: Footer Reply #4 – March 31, 2022, 07:57:46 pm Quote from: Aaron101 – March 31, 2022, 04:01:17 pmWe can remove the ElkArte notice in the footer? YesQuote from: Aaron101 – March 31, 2022, 04:03:52 pmQuestion: how do I change it? I added some text but then the site gets an error when I do that. Is there a certain php code or something I need to use to add my site's copyright? It should be valid HTML, which includes simply plain text. You could make itCode: [Select]$forum_copyright = 'My Awesome Sauce Community';If you can post a sample of what you did then someone could debug further.
Re: Footer Reply #5 – March 31, 2022, 09:27:33 pm I put this but it does not show up in the footer: <?php// Version: 1.1; indexglobal $forum_copyright; 'ChristianBoard.net Copyright © 2022. All rights reserved.';// Locale (strftime, pspell_new) and spelling. (pspell_new, can be left as '' normally.)// For more information see:// - http://www.php.net/function.pspell-new// - http://www.php.net/function.setlocale// Again, SPELLING SHOULD BE '' 99% OF THE TIME!! Please read this!$txt['lang_locale'] = 'en_US';$txt['lang_dictionary'] = 'en';$txt['lang_spelling'] = 'american';I get this error on my site: Parse error: syntax error, unexpected '=', expecting ';' or ',' in /home/jesuslov/christianboard.net/themes/default/languages/english/index.english.php on line 4Fatal error: Exception thrown without a stack frame in Unknown on line 0
Re: Footer Reply #6 – March 31, 2022, 10:51:59 pm Remove your edit, then navigate to line 577 and change the existing $forum_copyright variable to beCode: [Select]$forum_copyright = 'ChristianBoard.net Copyright © 2022. All rights reserved.';