Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prompt for login on shared link #4

Closed
reidbk opened this issue Nov 27, 2018 · 0 comments
Closed

Prompt for login on shared link #4

reidbk opened this issue Nov 27, 2018 · 0 comments
Assignees
Labels

Comments

@reidbk
Copy link

reidbk commented Nov 27, 2018

With rs_tooltip correctly installed and active, recipients of external links are prompted to login immediately when hovering over an image. Tested on RS 8.5 and RS 8.6. Possible solution, add a check for k= component of an external share before firing the all.php hooks.

Add this around code in all.php after opening tag

if (strpos($_SERVER['REQUEST_URI'], "k=") == false) {

}

Have tested the above and it achieves the desired result - internal users still have functionality, external link recipients are not prompted for login.

@winkelement winkelement added the bug label Dec 6, 2018
@winkelement winkelement self-assigned this Dec 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants