Latest topics
» [HELP] About Profile Cover Code
by omarpop23 Today at 06:39

» bloquer un membre
by berlingo Yesterday at 18:19

» IconSkouliki Graphics
by skouliki Yesterday at 03:54

» [IN PROGRESS] Can this code work on pun version
by skouliki Thu 16 Nov 2017, 03:50

» Auto-suggest @mentions as You Type
by skouliki Wed 15 Nov 2017, 14:56

» [TUTORIAL] [ALL VERSIONS] Warning before posting
by demon99 Wed 15 Nov 2017, 08:12

» About Add Reply & New Topic button (popup form)
by omarpop23 Mon 13 Nov 2017, 20:31

» Hello everyone this is Adam from France
by Adam Mon 13 Nov 2017, 13:32

» Add a login popup for the toolbar
by Ape Sun 12 Nov 2017, 18:41

» Post a message automatically when locking a topic
by ThunderTB Sun 12 Nov 2017, 13:51

» Control pannel issue
by Ange Tuteur Sun 12 Nov 2017, 09:49

» BUG... forum members birthday's
by Ape Sat 11 Nov 2017, 11:44

» Display a Preview of Groups on Hover
by ThunderTB Fri 10 Nov 2017, 21:56

» Search box only visible on hover
by Ange Tuteur Mon 06 Nov 2017, 09:57

» [GAME] Animal Game
by SLGray Sun 05 Nov 2017, 15:04

Recent Tutorials
Who is online?
In total there are 7 users online :: 0 Registered, 0 Hidden and 7 Guests :: 2 Bots

None

[ View the whole list ]


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

[IN PROGRESS] request script

View previous topic View next topic Go down

avatar
jessy

Title :
Gender : Female
Posts : 102
Points : 789
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 Tue 24 May 2016, 15:29

I would like to make two requests script

- Notified new friend requests in a widget

-Notified new message on the bulletin board (example )


sorry Thank you very much
avatar
Ange Tuteur
Administrator
Title :
Coffee Addict
Gender : Male
Age : 22
Posts : 4712
Points : 9585
Reputation : 2341
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 25 May 2016, 09:43

Hi,

I won't be able to work on these right away at the moment, but I will write them down in my notes.

- Notified new friend requests in a widget
It is possible to rip the notifications from the toolbar, but you can also perform a manual check with AJAX.

- Notified new message on the bulletin board (example)
Could you go into more detail with this one, an image perhaps ?
avatar
jessy

Title :
Gender : Female
Posts : 102
Points : 789
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 25 May 2016, 13:29

Hi @Ange Tuteur thanks for the reply


@Ange Tuteur wrote:Hi,

I won't be able to work on these right away at the moment, but I will write them down in my notes.

- Notified new friend requests in a widget
It is possible to rip the notifications from the toolbar, but you can also perform a manual check with AJAX.

I found this....module javascript

script:
Code:
(function(){!my_getcookie("friends_cookie_t")||(new Date).getTime()-3E5>my_getcookie("friends_cookie_t")?(my_setcookie("friends_cookie_t",(new Date).getTime(),1,0),$.get("/profile.forum?mode=editprofile&page_profil=friendsfoes",function(a){a=(a=$(a).find("div.friends-foes-list a[href^=/profile?friend=]").length)?'<a href="/profile.forum?mode=editprofile&page_profil=friendsfoes" onClick="my_setcookie(\'friends_cookie_t\',0,0,0)">'+a+"70a0a" class="coloradmin">richiesta"+(a>1?"s":"")+"di 70a0a" class="coloradmin">amicizia"+(a>1?"s":"")+"</a>":"Nessuna 70a0a" class="coloradmin">richiesta di 70a0a" class="coloradmin">amicizia";$("#friends_cookie").removeAttr("id").html(a);my_setcookie("friends_cookie_data",a,1,0)})):$("#friends_cookie").removeAttr("id").html(my_getcookie("friends_cookie_data"))})();

- in widget

code:
Code:
<span id=friends_cookie></span><script src=url module javascript></script>

outdated and no work

@Ange Tuteur wrote:- Notified new message on the bulletin board (example)
Could you go into more detail with this one, an image perhaps ?

see the icon when you receive a new message on the bulletin board

avatar
jessy

Title :
Gender : Female
Posts : 102
Points : 789
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 Fri 27 May 2016, 12:53

up Very Happy

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