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 Tue Mar 24, 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!
avatar
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 Tue Mar 24, 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!
avatar
SophieDophs
Forumember

Female Posts : 365
Reputation : 2
Language : English

Back to top Go down

Re: Notification in toolbar: revert list and group topic

Post by WyvernNE on Tue Mar 31, 2015 10:36 am

Up
avatar
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 Wed Apr 08, 2015 3:05 pm

Up
avatar
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 Mon Apr 13, 2015 12:30 am

Up
avatar
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 Wed Apr 15, 2015 7:12 pm

up
avatar
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 Fri Apr 17, 2015 4:32 pm

up
avatar
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 Sun Apr 19, 2015 4:58 pm

up
avatar
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 Tue Apr 21, 2015 3:01 pm

Bump
avatar
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 Wed Apr 29, 2015 7:18 pm

Bump
avatar
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 Wed May 06, 2015 10:33 pm

Bump
avatar
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 Wed May 13, 2015 12:24 am

Bump
avatar
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