The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    Make Notifications on Toolbar Descending

    Chromo
    Chromo
    Forumember


    Male Posts : 122
    Reputation : 19
    Language : said the Captain

    In progress Make Notifications on Toolbar Descending

    Post by Chromo April 23rd 2016, 3:02 am

    Is there a way to do that? Like make the notifications on toolbar descending, instead of ascending?

    Sort it out from new > old, new ones on top, old ones on bottom. Peoples are probably used to that than of the ascending order. Forums, latest topics widget, it's all on descending order so might as well the notifications on toolbar.
    Chromo
    Chromo
    Forumember


    Male Posts : 122
    Reputation : 19
    Language : said the Captain

    In progress Re: Make Notifications on Toolbar Descending

    Post by Chromo April 26th 2016, 7:36 pm

    Bump.
    Chromo
    Chromo
    Forumember


    Male Posts : 122
    Reputation : 19
    Language : said the Captain

    In progress Re: Make Notifications on Toolbar Descending

    Post by Chromo May 3rd 2016, 8:57 am

    Bumpy
    Chromo
    Chromo
    Forumember


    Male Posts : 122
    Reputation : 19
    Language : said the Captain

    In progress Re: Make Notifications on Toolbar Descending

    Post by Chromo May 6th 2016, 3:49 am

    Dumpy, uh bump.
    Chromo
    Chromo
    Forumember


    Male Posts : 122
    Reputation : 19
    Language : said the Captain

    In progress Re: Make Notifications on Toolbar Descending

    Post by Chromo May 10th 2016, 7:06 am

    Hey bump.
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19432
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    In progress Re: Make Notifications on Toolbar Descending

    Post by Ape May 10th 2016, 1:52 pm

    No sorry this data is server side and as far as i know you can not change this Sad



    Make Notifications on Toolbar Descending Left1212Make Notifications on Toolbar Descending Center11Make Notifications on Toolbar Descending Right112
    Make Notifications on Toolbar Descending Ape_b110
    Make Notifications on Toolbar Descending Ape1010
    LGforum
    LGforum
    Hyperactive


    Male Posts : 2265
    Reputation : 264
    Language : English
    Location : UK

    In progress Re: Make Notifications on Toolbar Descending

    Post by LGforum May 12th 2016, 4:45 pm

    I think this would be possible if you just modify the function which adds notifications. I've not really tried this but I'd guess something like this could work:

    Code:
    $(function(){
      window._oldAddItem = window._addItem;
      window._addItem = function(i, data) {
          _oldAddItem(i, data);
          var notif = $('#n' + data.text.id);
          if(notif[0]) {
              $('#notif_list').prepend(notif[0]);
          }
      };
    });

    Basically that changes the function that adds notifications, so that after it has added the notification the new notification is then moved to the top... This should essentially mean that the most recently added notification will be at the top.

    Hope this works for ya!

    Simone Boi likes this post


      Current date/time is November 11th 2024, 7:33 pm