Latest topics
» [GAME] Count to One Million!
by MiyakeDev Yesterday at 20:59

» Adding text to reputation counter
by Ange Tuteur Yesterday at 17:14

» Forumactif Edge - Portuguese Translation (Brazilian)
by Ange Tuteur Yesterday at 17:05

» Forumactif Edge - Spanish Translation
by Ange Tuteur Yesterday at 17:04

» [THEME] Cosmic Sleek RED v1.1 - Phpbb3
by King Tue 21 Mar 2017, 12:39

» Forumactif Edge - Translations
by Ange Tuteur Mon 20 Mar 2017, 20:03

» [GAME] Post a random picture
by Ange Tuteur Mon 20 Mar 2017, 19:18

» Forumactif Edge - Greek Translation
by Ange Tuteur Mon 20 Mar 2017, 19:16

» IconSkouliki
by skouliki Mon 20 Mar 2017, 15:47

» Personal Rank Titles
by Harleen Mon 20 Mar 2017, 12:38

» How do I add hover examine feature?
by Valoish Mon 20 Mar 2017, 10:15

» Forum Actif Edge Skin Suggestion for Improvements
by Ange Tuteur Sun 19 Mar 2017, 21:36

» Colors Tab
by Ange Tuteur Sun 19 Mar 2017, 21:12

» [GAME] What are you listening to right now?
by Valoish Sun 19 Mar 2017, 21:08

» Forumactif Edge - FRENCH Translation
by DDril Sat 18 Mar 2017, 11:51

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

MiyakeDev

[ 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

avatar
jessy

Title :
Gender : Female
Posts : 102
Points : 548
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
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4375
Points : 9007
Reputation : 2173
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave 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
avatar
jessy

Title :
Gender : Female
Posts : 102
Points : 548
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
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 21
Posts : 4375
Points : 9007
Reputation : 2173
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave 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.
avatar
jessy

Title :
Gender : Female
Posts : 102
Points : 548
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 ?
avatar
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.
avatar
jessy

Title :
Gender : Female
Posts : 102
Points : 548
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