News | Job Vacancy | Tv/Interviews | Scholarships | Educations | Entertainment | Biography | Got Talent's | Phones | Super Stories | Sports News | Comedies | Business | Relationship | Tech | Movies Series | Search
Posted by: Rajih« on: October 02, 2019, 10:37:25 AM »This page is only relevant if you installed the 2.0.14 or 2.0.15 patch or upgrade, installed 2.0.14 or 2.0.15 directly, or installed a theme created prior to the release of 2.0.14 and started having problems with users logging into your forum. The error message which is shown will be a session timeout. SMF 2.0.14+ now requires the a session check in the <form> for the login function. If your custom theme has a login form, such as in index.template.php, boardindex.template.php or login.template.php, you will need to modify the theme to allow the login function to work correctly. In order to modify the theme, add the following code along with the other "hidden" input types, or anywhere before the closing </form> tag in the login form. Now go to Public_html/Themes/default/Login.template.php And add this code before </form> Code: [Select] <input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" /> Also if your theme has Login on your homepage, edit the index.template.php, you should have: Code: [Select]
Replace it with: Code: [Select] Depending on what modifications you have, you're going to want to find where there are login forms... the script change is going to be the same as above for each of them. as a for instance, that social login has it's script in a file (again IIRC) sociallogin.php... all of the login scripts need that sessions check added to them, which is generally contained to themes that you ported from versions prior to 2.0.14 or 2.0.15...Source: Simple machine
Kendrick Lamar Disses Drake Back with New Song ‘euphoria’: Listen by Mr. Babatunde
[May 01, 2024, 10:00:29 PM] May Day: Governor Adeleke Flaunts Achievements, Says “We are All Comrades” by Miss Ifeoluwa [May 01, 2024, 05:33:01 PM] Binance founder Changpeng Zhao was sentenced to four months in prison by Miss Ifeoluwa [April 30, 2024, 08:14:05 PM] Accident Occurs Along Okini / Agunbelewo Road, Osogbo by Miss Ifeoluwa [April 30, 2024, 04:28:19 PM] Again, Ayodele Agboola Foundation Offers Scholarship To Several Students In Osun by Miss Ifeoluwa [April 30, 2024, 11:38:08 AM]
|