Jump to content

Mark everything read?


Blizz

Recommended Posts

Posted · Mark everything read?

If you click on the UM robot in the home screen of the forum, you mark that topic as read. That's probably the fastest

 

Yep, but you need to do it for all sections, and this is a pain :oops:

 

  • Link to post
    Share on other sites

    Posted · Mark everything read?

    I'm using both those things already (but thanks for the tips), but as Amedee said: You have to click all the icons for all forums. So a mark everything would still be a good thing imo.

     

  • Link to post
    Share on other sites

    Posted · Mark everything read?

    Looked around a bit and I couldn't find anything about it more than other people asking for the functionality... I think I could probably make a greasemonkey script for it, but not tonight, I'm freaking exhausted (going on just barely 5 hours of sleep which is way too little for me).

     

  • Link to post
    Share on other sites

    Posted · Mark everything read?

    Actually for whatever reason, the 'Mark all as read' action is in the page footer, but it is commented out together with a whole bunch of links

     


    http://umforum.ultimaker.com/index.php?app=forums&module=forums&section=markasread&marktype=all&k=<your session key>

    Going to this URL will indeed do what it says (and what we would like to have), but we can't bookmark this as the key part is obviously changing ;)

    So we have basically 2 options here:

     

    • Have a nice webmaster to uncomment the link in the template
    • Write some greasmonkey script -- session key is in ipb.vars['secure_hash'], so it is just the matter of building the mark url...

     

  • Link to post
    Share on other sites

    Posted · Mark everything read?

    Here is a quick and dirty GM script which does the job...

     


    // ==UserScript==
    // @name UMMarkAllRead
    // @namespace http://e-bulles.net
    // @description Add a 'Mark All Read' link in UM Forum
    // @include http://umforum.ultimaker.com/*do=viewNewContent*
    // @version 1
    // @grant none
    // ==/UserScript==
    // We add an <li> line right under the 'View new content' link
    var markAllReadLi = document.createElement('li');
    markAllReadLi.setAttribute('class', 'right');
    // The Link element
    var markAllReadLink=document.createElement('a');
    markAllReadLink.appendChild(document.createTextNode('Mark All Read'));
    markAllReadLink.href = 'javascript:void(0);';
    markAllReadLink.onclick = markAllRead;
    // Add the Link in tke <li>
    markAllReadLi.appendChild(markAllReadLink);
    // Add the <li> just before 'Home'
    var menu = document.getElementById('community_app_menu2');
    var menuHome = document.getElementById('nav_app_ccs');
    if (menu && menuHome) {
    menu.insertBefore(markAllReadLi, menuHome);
    }
    // Ask confirmation when link is clicked...
    function markAllRead()
    {
    var ret = confirm("Do you really want to mark all forums as read?");
    if (ret == true) {
    window.location.href = 'http://umforum.ultimaker.com/index.php?app=forums&module=forums&section=markasread&marktype=all&k=' +
    ipb.vars['secure_hash'];
    }
    }

     

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 16 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...