Code Monkey home page Code Monkey logo

Comments (8)

andrewjs18 avatar andrewjs18 commented on June 22, 2024 1

I personally cannot duplicate this...it seems to work as expected for me on a test board with no other plugins installed.

that being said, I did notice that when you turn off friendly redirects and you accept the new policy, it does not remove the message until you click on another part of the site to get it to load a new page. this could probably be fixed, I assume, by forcing the page to go to the board url after a user clicks 'accept' if they have friendly redirects turned off.

from mybb-amnesia.

dvz avatar dvz commented on June 22, 2024

Take a look at the value for the url_before_redirect form field (basing on $_SERVER['HTTP_REFERER']) on the Accept page, respected if this condition is met:
https://github.com/kawaii/mybb-amnesia/blob/15e2115/inc/plugins/amnesia/hooks_frontend.php#L307

from mybb-amnesia.

Eldenroot avatar Eldenroot commented on June 22, 2024

@dvz - ok, there is an issue if the user does not have any "previous pages" visited, so the redirect returns back to GDPR page over and over. Maybe would be nice in that cases to redirect this user to forum homepage.

from mybb-amnesia.

dvz avatar dvz commented on June 22, 2024

It should redirect to Board URL, unless it's not not set properly; another reason for a loop is an update date set in the future (in this case the Accept button would keep appearing).

from mybb-amnesia.

IntoxNitram avatar IntoxNitram commented on June 22, 2024

Yeah I think it's not working properly. I have a date set in the past and if the user logs in and has to accept it just accepts but redirects to the policy page again (no accept button).

from mybb-amnesia.

IntoxNitram avatar IntoxNitram commented on June 22, 2024

It’ll probably be the friendly redirects bit then, as I have that turned off on my forum.

from mybb-amnesia.

andrewjs18 avatar andrewjs18 commented on June 22, 2024

weird..the message did go away after clicking 'accept' this time with friendly redirects turned off. earlier it wasn't.

this is what it'd look like earlier after accepting the policy with the redirects turned off:

2018-05-28 16_55_36

from mybb-amnesia.

IntoxNitram avatar IntoxNitram commented on June 22, 2024

Yep it seems inconsistent I’ve just tried it again on another account on my live forum and it redirected correctly back to the index this time.

from mybb-amnesia.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.