Advertisement:

Author Topic: Theme Issues  (Read 2087 times)

Offline Majik_Imaje

  • Semi-Newbie
  • *
  • Posts: 66
Theme Issues
« on: August 14, 2019, 02:05:47 PM »
 Some of my members fo my forum are complaining they can't log in

server times out ??  I kept getting locked out of my forum yesterday , but when i changed themes everything was ok.

How to I remove or un-install  two themes.. I have a total of four - two that came with the  script and I tried to add two more and that is when my prblems began

I am using SMF 2.0.15

Offline Majik_Imaje

  • Semi-Newbie
  • *
  • Posts: 66
Re: Theme Issues
« Reply #1 on: August 14, 2019, 03:18:34 PM »
I was able to delete the two themes  that were causing me problems

Everything has been working GREAT for  two weeks no problems now all of a sudden people are having log in issues

but a member sent me this massage  could you see why I'm unable to login? I received a notification that stated something about changing my password. And when I tryed to login, something about try later, then something about my user name doesn't exist?

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,333
  • Gender: Male
    • Kindred-999 on GitHub
Re: Theme Issues
« Reply #2 on: August 15, 2019, 11:27:48 AM »
URL?
mods installed?

what theme(s) are you using?
Didyou apply the 2.0.14/2.0.15 login fix?

Did you convert from another forum software or do a recent upgrade from SMF 1.1.x?
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Majik_Imaje

  • Semi-Newbie
  • *
  • Posts: 66
Re: Theme Issues
« Reply #3 on: August 15, 2019, 06:35:10 PM »
The forum is 2.0.15  it is  two weeks instaled
but members are sending me e-mails that they can't log in

I have the two default themes  Core & Curve

The other two themes I deleted

I have very few mods installed

simple image uploaded
Highlight text

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,230
    • StoryBB/StoryBB on GitHub
Re: Theme Issues
« Reply #4 on: August 15, 2019, 06:36:06 PM »
And which of these are you using on your site?
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Majik_Imaje

  • Semi-Newbie
  • *
  • Posts: 66
Re: Theme Issues
« Reply #5 on: August 15, 2019, 10:46:12 PM »
I am currently using Curve but I much prefer  core

why would I need a log in fix from 2.0.14

I don't understand

https://majikimaje.com/smf

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,230
    • StoryBB/StoryBB on GitHub
Re: Theme Issues
« Reply #6 on: August 16, 2019, 02:30:59 AM »
Because Core didn’t get the fix.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline lurkalot

  • Sophist Member
  • *****
  • Posts: 1,331
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: Theme Issues
« Reply #7 on: August 16, 2019, 02:48:42 AM »
Because Core didn’t get the fix.

Absolutely.  This does make me wonder though, why don't they fix it? Or remove the theme from the package, why distribute something which is broken.  This issue has cropped up a few times.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,230
    • StoryBB/StoryBB on GitHub
Re: Theme Issues
« Reply #8 on: August 16, 2019, 02:51:56 AM »
Because Core didn’t get the fix.

Absolutely.  This does make me wonder though, why don't they fix it? Or remove the theme from the package, why distribute something which is broken.  This issue has cropped up a few times.

Same reason login via SSI was broken in 2.0.14: it was simply forgotten about. That said, I don’t know why it wasn’t fixed in 2.0.15.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline lurkalot

  • Sophist Member
  • *****
  • Posts: 1,331
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: Theme Issues
« Reply #9 on: August 16, 2019, 02:58:18 AM »
I can understand it could have been forgotten, but I mean why can't one of the team grab the damn thing and repackage it with the fix?  It would probably take them less time than it would to answer one of these support topics.

Offline Majik_Imaje

  • Semi-Newbie
  • *
  • Posts: 66
Re: Theme Issues
« Reply #10 on: August 16, 2019, 03:09:05 AM »
URL?
mods installed?

what theme(s) are you using?
Didyou apply the 2.0.14/2.0.15 login fix?

Did you convert from another forum software or do a recent upgrade from SMF 1.1.x?

Do you have a link for this fix ??

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,230
    • StoryBB/StoryBB on GitHub
Re: Theme Issues
« Reply #11 on: August 16, 2019, 03:14:36 AM »
I can understand it could have been forgotten, but I mean why can't one of the team grab the damn thing and repackage it with the fix?  It would probably take them less time than it would to answer one of these support topics.

No idea, but this decision was in no small part what led to StoryBB’s creation.

URL?
mods installed?

what theme(s) are you using?
Didyou apply the 2.0.14/2.0.15 login fix?

Did you convert from another forum software or do a recent upgrade from SMF 1.1.x?

Do you have a link for this fix ??

https://wiki.simplemachines.org/smf/Login_error_2.0.14
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Majik_Imaje

  • Semi-Newbie
  • *
  • Posts: 66
Re: Theme Issues
« Reply #12 on: August 16, 2019, 03:41:53 AM »
I can understand it could have been forgotten, but I mean why can't one of the team grab the damn thing and repackage it with the fix?  It would probably take them less time than it would to answer one of these support topics.

No idea, but this decision was in no small part what led to StoryBB’s creation.

URL?
mods installed?

what theme(s) are you using?
Didyou apply the 2.0.14/2.0.15 login fix?

Did you convert from another forum software or do a recent upgrade from SMF 1.1.x?

Do you have a link for this fix ??

https://wiki.simplemachines.org/smf/Login_error_2.0.14


Wonderful, Now can you translate  this for me?  I have only made one install using the package 2.0.15   So  from what I could understand  about that link you sent me,  I have to add some code    to a<form> in the pages mentioned
Is  that      about right ?????

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,230
    • StoryBB/StoryBB on GitHub
Re: Theme Issues
« Reply #13 on: August 16, 2019, 03:43:57 AM »
Yes, that's exactly right, you have to look for some code in Themes/core/index.template.php and add some code to it so it will function correctly.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Majik_Imaje

  • Semi-Newbie
  • *
  • Posts: 66
Re: Theme Issues
« Reply #14 on: August 16, 2019, 03:51:55 AM »
  Thank you for  answering so promptly.. I've never done this before and it is way over my head but I think I can understand what to do..

Offline Majik_Imaje

  • Semi-Newbie
  • *
  • Posts: 66
Re: Theme Issues
« Reply #15 on: August 16, 2019, 07:09:04 AM »
Done deal.  I found  the file  index-template.php   I found the </form> tag
and right above that I inserted the  code...........so that's  It ??
Is there any way to test this ??  How do I know ?

Thanks for your expert help!

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,028
Re: Theme Issues
« Reply #16 on: August 16, 2019, 07:26:48 AM »
if you can log in without issue, the fix has worked.

Offline Majik_Imaje

  • Semi-Newbie
  • *
  • Posts: 66
Re: Theme Issues
« Reply #17 on: August 16, 2019, 11:23:58 AM »
I thought this was fixed..........but I guess not......some people still can't log in

I found the   index  template php and placed the line of code   right above the </form
but when I went back to the forum.. I noticed a person was trying to log in for 1/2 hour and never got logged in

The install was installed two weeks ago from a 2.0.15 package

https://majikimaje.com/smf

I have the two default themes............. core  & curve    core is the theme that locks people out.

I have no idea what to do......and if I don't get this fixed soon I am going to loose all my members.

Offline Majik_Imaje

  • Semi-Newbie
  • *
  • Posts: 66
Re: Theme Issues
« Reply #18 on: August 16, 2019, 11:26:37 AM »
Because Core didn’t get the fix.

so what do I do ??   the fix didnt fix anything and I know i inserted the line of code properly   and in the right place.

Offline lurkalot

  • Sophist Member
  • *****
  • Posts: 1,331
  • Gender: Male
  • Tinyportal Support
    • guitaristguild on Facebook
    • Tinyportal on GitHub
    • @GuitaristGuild on Twitter
    • Guitarist Guild
Re: Theme Issues
« Reply #19 on: August 16, 2019, 12:41:21 PM »
There's two closing form tags in that index.template file, you sure you added it to the correct one ?

This is the one you want, around line 293

Find
Code: [Select]
echo '
<input type="hidden" name="hash_passwrd" value="" />
</form>';
}

Change to,
Code: [Select]
echo '
<input type="hidden" name="hash_passwrd" value="" />
<input type="hidden" name="', $context['session_var'], '" value="', $context['session_id'], '" />
</form>';
}