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.

Notification in toolbar: revert list and group topic

View previous topic View next topic Go down

Notification in toolbar: revert list and group topic

Post by WyvernNE on March 24th 2015, 9:42 am

Hi forumotion!

I've two requests:

-Can we revert the order  of the notification list? I mean, the most recent notification we have is at the bottom of the list and i'd like to see it at the top.

-I have this code to only display 1  topic at a time: if two people reply in the topic,  only one notification will be displayed. Unfortunately, it only work on the notification page, and i wonder if you could make it work on the toolbar.

The code:
 
Code:
location.pathname=="/profile" && location.search.indexOf("page_profil=notifications")!=-1 && $(function(){
 
  var seen = {};
 
  $('.table1 td:first-child,td.gen:first-child,.ipbtable td:first-child,.tcr .postdetails').each(function(){
    var a = $(this).html();
    var c = a.match(/^(.*) a écrit un message dans (<a href="\/t([0-9]+)(p[0-9]+)?-([^#?"]*)[^"]+">)[^<]+<\/a>$/);
    if(!c) return;
    if(c[3] in seen) $(this).closest('tr').remove();
    else seen[c[3]] = 1;
  });
 
});


Thanks for your attention!

WyvernNE
Forumember

Posts : 27
Reputation : 4
Language : French, english

http://foxtrottx3.forumgratuit.ch/

Back to top Go down

Re: Notification in toolbar: revert list and group topic

Post by SophieDophs on March 24th 2015, 8:17 pm

Actually, I was thinking of the same thing myself today! 

The latest topic at the top is much better, or at least having an option in the ACP to control this would be even better!

SophieDophs
Forumember

Female Posts : 360
Reputation : 2
Language : English

Back to top Go down

Re: Notification in toolbar: revert list and group topic

Post by WyvernNE on March 31st 2015, 10:36 am

Up

WyvernNE
Forumember

Posts : 27
Reputation : 4
Language : French, english

http://foxtrottx3.forumgratuit.ch/

Back to top Go down

Re: Notification in toolbar: revert list and group topic

Post by WyvernNE on April 8th 2015, 3:05 pm

Up

WyvernNE
Forumember

Posts : 27
Reputation : 4
Language : French, english

http://foxtrottx3.forumgratuit.ch/

Back to top Go down

Re: Notification in toolbar: revert list and group topic

Post by WyvernNE on April 13th 2015, 12:30 am

Up

WyvernNE
Forumember

Posts : 27
Reputation : 4
Language : French, english

http://foxtrottx3.forumgratuit.ch/

Back to top Go down

Re: Notification in toolbar: revert list and group topic

Post by WyvernNE on April 15th 2015, 7:12 pm

up

WyvernNE
Forumember

Posts : 27
Reputation : 4
Language : French, english

http://foxtrottx3.forumgratuit.ch/

Back to top Go down

Re: Notification in toolbar: revert list and group topic

Post by WyvernNE on April 17th 2015, 4:32 pm

up

WyvernNE
Forumember

Posts : 27
Reputation : 4
Language : French, english

http://foxtrottx3.forumgratuit.ch/

Back to top Go down

Re: Notification in toolbar: revert list and group topic

Post by WyvernNE on April 19th 2015, 4:58 pm

up

WyvernNE
Forumember

Posts : 27
Reputation : 4
Language : French, english

http://foxtrottx3.forumgratuit.ch/

Back to top Go down

Re: Notification in toolbar: revert list and group topic

Post by WyvernNE on April 21st 2015, 3:01 pm

Bump

WyvernNE
Forumember

Posts : 27
Reputation : 4
Language : French, english

http://foxtrottx3.forumgratuit.ch/

Back to top Go down

Re: Notification in toolbar: revert list and group topic

Post by WyvernNE on April 29th 2015, 7:18 pm

Bump

WyvernNE
Forumember

Posts : 27
Reputation : 4
Language : French, english

http://foxtrottx3.forumgratuit.ch/

Back to top Go down

Re: Notification in toolbar: revert list and group topic

Post by WyvernNE on May 6th 2015, 10:33 pm

Bump

WyvernNE
Forumember

Posts : 27
Reputation : 4
Language : French, english

http://foxtrottx3.forumgratuit.ch/

Back to top Go down

Re: Notification in toolbar: revert list and group topic

Post by WyvernNE on May 13th 2015, 12:24 am

Bump

WyvernNE
Forumember

Posts : 27
Reputation : 4
Language : French, english

http://foxtrottx3.forumgratuit.ch/

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