• I agree. If it really bothers you, you can choose to use a separate account for posting from triplea, so at least the forum account won’t show up.


  • @redrum:

    Fair enough. Though I’m guessing the vast majority of users stay logged in forever in the browser so won’t even notice. An option could be added as you described to allow the user to choose whether to login or logout after TripleA posts but I honestly don’t think hardly anyone would ever choose to logout.

    Maybe. And not everyone would probably realize that they were logged (and kept in) to the forum by TripleA.

  • Customizer

    @djensen:

    I don’t have a fix on the forum side. Hopefully a fix on the TripleA side will work.

    Why is it not possible to fix the forum side?

    The bug isn’t really triplea related, since you can easily reproduce the bug using just 2 browsers….

  • Founder TripleA Admin

    Not to be glib but if you want to dig through the spaghetti code that is SMF and build a mod (as in modification no module) that won’t break everything else, please do so.

    I’ve dug into the innards of SMF before spent hours on issues only to get basically nowhere, realizing that if I touch “that code right there” to fix the issue, everything else come crumbling down.


  • What version of SMF was running on the old site? I can try doing a quick diff to see if anything’s changed in the logout module.


  • Realized just after my post that I could just check an archive.org snapshot of the forum. Looks like it went from 1.1.16 to 1.1.21. To spaghetti land I go…


  • Luckily not much was changed so it was pretty easy to track it down.

    In 1.1.19 they added some code in LogInOut.php that changes the users password salt whenever you log out. When you switch to another browser, the hash matching fails since it was generated with a different salt, and you get logged out.

    The offending code is at lines 463-464. I have no idea how to make a modification for SMF but I guess you could just try commenting out those lines to start with, to see if it works.

    The call to session_destroy() on line 462 is also added in that change, but I would expect that is independent for each browser session so I don’t think that’s causing any issues.

  • Founder TripleA Admin

    bmnielsen, you rock!

    I just get angry when I look at SMF code.  :wink:

    I’ll see what I can do but it seems like this might be a security fix/hack.


  • Yeah, I thought of that as well. The changelog just says “Sessions weren’t always cleaned up properly on logout” though, which doesn’t really indicate a security issue. I’m thinking that adding the session_destroy was the important thing for that.

  • TripleA

    Update? Were you able to fix everything on the forum side? Should I revert the changes I made to TripleA to remove the logout step?

  • Founder TripleA Admin

    No. I’m not going to have time to touch anything until after GenCon.

  • TripleA

    Alright, well we are planning to release the next stable version of TripleA shortly. Did you want me to release the change to remove axisandallies.org session logout when posting games?

  • Founder TripleA Admin

    @redrum:

    Alright, well we are planning to release the next stable version of TripleA shortly. Did you want me to release the change to remove axisandallies.org session logout when posting games?

    Yes, let’s try that.


  • I got around to posting a failing turn summary in debug mode. The forum is just returning 404 not found with no additional information. I believe this is in line with what someone else reported earlier when they were manually attaching a file.

    So not really anything to do about it in TripleA, besides potentially showing a different message when that happens.

  • TripleA

    1.8.0.7 is now released and it removes the TripleA log out call so if you download it you should no longer be logged out every time you post a turn.

  • '22 '20 '19 '18 '17 '16 '15 '14 '12

    Doesn’t work… won’t load games.  Tells me there is no dice server.

  • TripleA

    All issues should be resolved now with 1.8.0.7. You should also no longer get logged out of A&A.org when posting turns from TripleA. Let me know if anyone still has issues related to this.


  • My thanks to all those involved in sorting out these issues. Very much appreciated I am sure by everyone. :-)

Suggested Topics

  • 4
  • 4
  • 3
  • 12
  • 4
  • 9
  • 79
  • 5
Axis & Allies Boardgaming Custom Painted Miniatures

22

Online

17.4k

Users

39.9k

Topics

1.7m

Posts