Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: ChristyK on November 27, 2015, 03:15:59 PM

Title: Two Issues - password reset and Facebook button
Post by: ChristyK on November 27, 2015, 03:15:59 PM
I'm a brand new admin for a Simple Machines Forum - ihatedialysis dot com slash forum slash (can't post an external link .  I am trying to troubleshoot two issues:

1.  Password Reset - When a person clicks on the link to reset the password, it doesn't send an email to the person.  Multiple people have contacted the other admins and they reset the passwords by hand, but I know this is not a good way to be doing this.  Here's what I've done to troubleshoot it:
Let me know if there is more information that you need.  I've read a couple of messages on this site, but didn't seem to find an answer to this issue.

2.  Facebook button is giving errors. - There is a line of buttons across the top. One of the buttons is for the Facebook page:
Here is the error message:
Guest
IP address 82.42.195.254   
Reverse chronological order of list Today at 11:33:41 AM
session ad1cc2d9cdaf7dcad5a2262283290686
Type of error: Undefined
http://ihatedialysis.com/forum/index.php?amp;action=enotify
8: Undefined index: facebook
File: /home/ihatedia/public_html/forum/Sources/Subs.php
Line: 3919


Here's the subs.php contents:

3899: // All the buttons we can possible want and then some, try pulling the final list of buttons from cache first.
3900: if (($menu_buttons = cache_get_data('menu_buttons-' . implode('_', $user_info['groups']) . '-' . $user_info['language'], $cacheTime)) === null || time() - $cacheTime <= $modSettings['settings_updated'])
3901: {
3902: $buttons = array(
3903: 'home' => array(
3904: 'title' => $txt['home'],
3905: 'href' => $scripturl,
3906: 'show' => true,
3907: 'sub_buttons' => array(
3908: ),
3909: 'is_last' => $context['right_to_left'],
3910: ),
3911: 'help' => array(
3912: 'title' => $txt['help'],
3913: 'href' => $scripturl . '?action=help',
3914: 'show' => true,
3915: 'sub_buttons' => array(
3916: ),
3917: ),
3918: 'facebook' => array(
==>3919:                 'title' => $txt['facebook'],
3920:                 'href' => 'https://www.facebook.com/IHateDialysis"target="blank" ',
3921:                 'show' => true,
3922:                 'sub_buttons' => array(
3923:                 ),
3924:              ),
3925:              
3926: 'arcade' => array(
3927: 'title' => $txt['arcade'],
3928: 'href' => $scripturl . '?action=arcade',
3929: 'show' => $context['allow_arcade'],
3930: 'sub_buttons' => array(
3931: ),
3932: ),
3933:
3934: 'search' => array(
3935: 'title' => $txt['search'],
3936: 'href' => $scripturl . '?action=search',
3937: 'show' => $context['allow_search'],
3938: 'sub_buttons' => array(
3939: ),


How do I edit these buttons - specific place as I can't seem to find the place to edit the buttons?  What is this error caused by?  What do I need to change? There are multiple errors for this line number in the error log.

Thank you for your help.

Christy
Title: Re: Two Issues - password reset and Facebook button
Post by: Illori on November 27, 2015, 03:22:14 PM
you need to define the text string for facebook, that is why it is causing errors.

in your index.english.php file you need to add

$txt['facebook'] = 'Facebook'; at the bottom of the file before the closing ?> tag.

for the email issue take a look at http://wiki.simplemachines.org/smf/E-Mails_-_Why_are_members_not_getting_emails_sent_from_the_forum
Title: Re: Two Issues - password reset and Facebook button
Post by: ChristyK on November 29, 2015, 03:07:22 AM
I tried all the options on the page you gave me, before I posted to the forum and none of them worked.  I guess I will contact the hosting company for their help.

Any other suggestions?

Thank you.

Christy
Title: Re: Two Issues - password reset and Facebook button
Post by: ChristyK on November 29, 2015, 06:19:54 PM
I don't have a  index.english.php file in my forum directory. 
Title: Re: Two Issues - password reset and Facebook button
Post by: Kindred on November 29, 2015, 06:43:02 PM
themes/default/languages
Title: Re: Two Issues - password reset and Facebook button
Post by: ChristyK on December 02, 2015, 12:58:10 AM
I added the line in $txt['facebook'] = 'Facebook'; in my index.english.php file, but the error is still coming up.  Any other suggestions?

Christy
Title: Re: Two Issues - password reset and Facebook button
Post by: Illori on December 02, 2015, 05:06:57 AM
what error still comes up?