Latest topics
» FM Themes
by SLGray Today at 16:48

» User - Made Creations
by SLGray Today at 16:48

» The Football Forums
by Mati Today at 15:22

» [BUG] Avatar doesn't resize when reading the profile
by Samantha NL Today at 12:33

» Search Bar Options
by Samantha NL Today at 11:38

» Chit Chat Thread
by Jazeon Today at 05:42

» Christmas logo
by Teo! Today at 03:56

» SyncEditor
by keko_ferkeko Today at 00:31

» Private message bg color
by Mr.Alam Yesterday at 22:54

» Multi-step Login Form
by Samantha NL Yesterday at 12:54

» Member of the Month
by Samantha NL Yesterday at 12:38

» Forumactif Edge - Dutch Translation
by Samantha NL Yesterday at 10:49

» Widget : Staff Online
by Samantha NL Yesterday at 10:39

» Questions about styling the Main Search Box
by Samantha NL Yesterday at 10:24

» Found a typo in your default Edge CSS
by Samantha NL Yesterday at 03:07

Recent Tutorials
Who is online?
In total there are 8 users online :: 0 Registered, 0 Hidden and 8 Guests :: 1 Bot

None

[ View the whole list ]


Most users ever online was 172 on Fri 19 Feb 2016, 05:17

Request notification script

View previous topic View next topic Go down

jessy

Title :
Gender : Female
Posts : 101
Points : 443
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
Awards :
View all awards
View user profile http://ilgiornaledibordo.forumattivo.com/

Postjessy on Wed 17 Aug 2016, 17:58

I tried the codes

http://fmdesign.forumotion.com/t918-add-time-in-notication-list

not work with invision,with permission of Ch@lo Valdez



you can do to invision (avatar+time) thank you very much in advance flower
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4091
Points : 8395
Reputation : 2010
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Wed 17 Aug 2016, 18:34

Hi @jessy,

Try using this script instead :
Code:
$(document).on('click', function(e) {
  var that = e.target, list;
 
  if (that.id == 'fa_notifications' && !window.fa_notif_checked) {
    window.fa_notif_checked = true;

    $.get('/notification.forum').done(function (o) {
        for (var h = o.store, i = 0, a, b, c, d, e; i < h.length; i++) {
            a = h[i].time;
            b = h[i].text.id;
            c = document.getElementById('n' + b);
            d = new Date(a);
            e = d.toLocaleString();
            c.insertAdjacentHTML('beforeend', '<b class="time_notif"><i class="fa fa-clock-o" aria-hidden="true"></i> '+ e +'</b>')
        }
    });
  }
});
I just took what was posted in the topic and modified it a bit. I'd suggest contacting Ch@lo further if you want the actual codes. Wink
jessy

Title :
Gender : Female
Posts : 101
Points : 443
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
Awards :
View all awards
View user profile http://ilgiornaledibordo.forumattivo.com/

Postjessy on Wed 17 Aug 2016, 18:56

this is OK..(time ok ) you do not see avatar Smooch
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4091
Points : 8395
Reputation : 2010
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Google Chrome Forum Version : Forum Version : Forumactif Edge
Awards :
View all awards
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Wed 17 Aug 2016, 19:00

I know, in that topic we were not discussing avatars in the notification list. So, I do not have a code for that, at least not currently.
jessy

Title :
Gender : Female
Posts : 101
Points : 443
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
Awards :
View all awards
View user profile http://ilgiornaledibordo.forumattivo.com/

Postjessy on Thu 18 Aug 2016, 04:45

I'm sorry for the trouble I have no hurry.
you have to open new topic ?
Guest
Guest
View all awards

PostGuest on Thu 18 Aug 2016, 04:58

@jessy wrote:I'm sorry for the trouble I have no hurry.
you have to open new topic ?

@jessy: Ange asked you to contact @Ch@lo Valdez via PM on this, but since I just mentioned him, we may just as well wait for his answer in this topic. If Ch@lo isn't able to write it all up for your Invision board, Ange will probably put it on his very long list of stuff he still needs to take care off. So for now, I suggest you just be patient and wait for it to come together. Thanks!

Hello Samantha.
jessy

Title :
Gender : Female
Posts : 101
Points : 443
Reputation : 14
Language : italy
Browser : Browser : Google Chrome Forum Version : Forum Version : Invision
Awards :
View all awards
View user profile http://ilgiornaledibordo.forumattivo.com/

Postjessy on Thu 18 Aug 2016, 05:08

no problem thanks Samantha

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

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