clarkwinkelmann I thought all the question marks looked weird. I need to stop doing this stuff at 2 / 3am.
Flagrow Direct Links, links for login and new discussion
- Edited
clarkwinkelmann I think something else is going on. Maybe a conflict with another plugin. If I figure it out I'll let you know. Even using this:
/composer?title=test&content=test&tag=test
The composer wants to load, because the opacity backdrop appears. But, no form appears. And my composer form works otherwise. Just not trying to do these shortcut URLs. I wonder if it could be another z-index issue? I say another because I've had z-index issues with a couple other extensions.
Probably in some future version of Flarum, even if it's not until 1.1 or something, the z-indexes need to be tamed down. What I mean is, by default, I've seen Flarum z-indexes over "1000." I'm not so sure that's necessary. Z-indexes should be kept as low as possible to prevent from having to set a z-index at 999999 in the future.
But, that's a little off topic and may have nothing to do with this.
010101 any javascript error in the browser console ?
clarkwinkelmann No JavaScript errors. And the plot thickens... It works on desktop. This is only on my iPhone, in any browser on my phone (Chrome, Firefox, Safari). I tested my z-index theory since the .Composer element does have a z-index of 1020... but, increasing that didn't help. Oh well, not a huge deal for me right now.
clarkwinkelmann Hi, just see your link for the htaccess tips ^^ thanks a lot...
For editing the vendor dir, when you don't know how to do thinks, better do it bad and learn a bit than doing nothing , still learning
[deleted]
[deleted] When using /signup, I get "Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.", but there's nothing in the logs
/login and /composer work fine though ?
EDIT: Found this in the console - looks like there's some sort of conflict with the Google ReCAPTCHA extension
VM23:12 Uncaught ReferenceError: grecaptcha is not defined
at e.r.configRecaptcha (forum-0b926498.js:586)
at forum-0b926498.js:1
at forum-0b926498.js:1
at v (forum-0b926498.js:1)
at Function.m.render (forum-0b926498.js:1)
at forum-0b926498.js:1
at v (forum-0b926498.js:1)
at ut (forum-0b926498.js:1)
at Function.m.redraw (forum-0b926498.js:1)
at e.n.show (forum-0b926498.js:1)
Just wanted to circle back to this post, which doesn't seem to have been answered. I'd like to use this extension as I wanted to place links to /login and /signup on my site's main page, alas - it does not seem to work with fof/recaptcha with the message quoted. Can this be fixed so the two work together ?
[deleted] this issue has been opened to track the bug FriendsOfFlarum/recaptcha4
No fix has been developed so far. It's a tricky case of async loading.
[deleted]
clarkwinkelmann Thanks for the lightspeed response ! Very much appreciated
Is there any other "smart" way I can achieve the same objective ? I can't use another method posted on here, as the JS is not loaded by the domain where Flarum is installed. For example, main site is on https://mysite.io and flarum resides on https://discuss.mysite.io (not real links of course)...
- Edited
010101 do you still have recaptcha as well ? As far as I'm aware the underlying issue in captcha has not been solved yet.
EDIT: nevermind, it was someone else's issue.
Glad it's solved for you. If it happens again, I hope we can find more debugging info this time
[deleted]
clarkwinkelmann that was my issue
And now this extension has an add-on! A bookmarklet. Or, one day @clarkwinkelmann could maybe somehow add this to this extension.
For example, it could work like this: After you install this extension a new page could be created in the admin with all the instructions for this extension, plus the code for this bookmarklet. Kind of like WordPress' Press This.
New bookmarklet code is here:
https://discuss.flarum.org/d/22200-quick-share-bookmarklet-direct-links-add-on
- Edited
Hi, great extension! is there a way to pass username and password to /login action to log inside forum ?
peppogiappe not at this time. It should be possible to add an identification
parameter for username/email.
Password is out of the question. It's bad forbidden practice to send passwords via GET requests and is probably not the right solution for your problem. Please open your own discussion with a description of what you're trying to achieve if you'd like to discuss that point.
[deleted]
peppogiappe is there a way to pass username and password to /login action to log inside forum
From the security perspective alone, this is a bad idea. Just don't....
is there a possibility to add
/Tos
/Privacy
/about
etc
Does this plugin enable a redirect to login from the admin section? Right now, as I'm working on a couple extensions, I leave my computer set overnight with all my tabs and consoles set just the way I like them for dev work. When I start work the next morning Flarum throws a Permission Denied exception instead of just rerouting me to a login modal so I can get started right where I left off. (which also seems like an idea that could go in the core and not need an extension). Anyway. Does this handle login redirects?
raafirivero no, that's not a feature of this extension. It just adds new endpoints and doesn't change how any base features of Flarum work.
is this extension compatable with beta 14