The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Make Notifications on Toolbar Descending

View previous topic View next topic Go down

In progress Make Notifications on Toolbar Descending

Post by Chromo on 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
Forumember

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

Back to top Go down

In progress Re: Make Notifications on Toolbar Descending

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

Bump.

Chromo
Forumember

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

Back to top Go down

In progress Re: Make Notifications on Toolbar Descending

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

Bumpy

Chromo
Forumember

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

Back to top Go down

In progress Re: Make Notifications on Toolbar Descending

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

Dumpy, uh bump.

Chromo
Forumember

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

Back to top Go down

In progress Re: Make Notifications on Toolbar Descending

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

Hey bump.

Chromo
Forumember

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

Back to top Go down

In progress Re: Make Notifications on Toolbar Descending

Post by APE on 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




APE
Manager
Manager

Male Posts : 8601
Reputation : 748
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

In progress Re: Make Notifications on Toolbar Descending

Post by LGforum on 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!

LGforum
Hyperactive

Male Posts : 2260
Reputation : 258
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum