You can do it like this for example:
<button class="Button" onclick='document.getElementsByTagName("button")[1].click();'>Please, log in.</button>
.
- Edited
Hi folks,
Mark all As Read is a great and handy feature. That's why I think it should be improved:Imo, the button should mark as read discussions of the current view only. For example, when I'm displaying
https://discuss.flarum.org/t/extensions
tag page, only discussions into this tag should be marked as read. This should be the same with the search view.The button should be also available in the top of the discussion left side panel (as the sort button?):
Thanks!
This extension is really nice and useful, thanks for developed it! However and sadly, I can't use it as I would like because with the
/atom
feed:
- The GUID (id) are not unique, they match the discussion URL. So RSS readers don't see replies in a same discussion thread as they seem to be updates of existing entries and not full new entries. A solution would be to use a hash from the publication date + author for example.
- Only the last reply of a discussion is in the feed. So if two or more replies occur between two feed fetching, only the last one is available. Is it possible to store every replies in the feed, or at least those from the week or the day?Also, I'm wondering if, by any chance, it would be possible to have primary tags somewhere in the entries?
Thank you!