How can I make a staff online widget?
4 posters
Page 1 of 1
How can I make a staff online widget?
Hello,
How can I make a "Staff Online" widget? I have found here some posts about this issue but they are not working but I saw a similar widget in other forumotion forums which working. My forum version is PunBB.
How can I make a "Staff Online" widget? I have found here some posts about this issue but they are not working but I saw a similar widget in other forumotion forums which working. My forum version is PunBB.
Re: How can I make a staff online widget?
Hello Black-Shadow,
Which forumotion forums are you referring to that have this widget ?
Thanks
Which forumotion forums are you referring to that have this widget ?
Thanks
Re: How can I make a staff online widget?
Hello Ange,
I saw the widget in forums:
I saw the widget in forums:
- Spoiler:
- punbb.biz
- Spoiler:
- socialacademy.forums.fm
Re: How can I make a staff online widget?
Have you tried asking on those forums to see if they would share that widget with you ?
Re: How can I make a staff online widget?
Hi Ange,
Yes I have asked both forums but they share those codes only for Premium, VIP members etc but they are not sharing with simple members. I posted here if someone else maybe have similar codes for sharing.
Yes I have asked both forums but they share those codes only for Premium, VIP members etc but they are not sharing with simple members. I posted here if someone else maybe have similar codes for sharing.
Re: How can I make a staff online widget?
I see. From what I saw it looked like it used AJAX, so it loads the data from somewhere. Most likely the user profile.
I have nothing for the moment.
I have nothing for the moment.
Re: How can I make a staff online widget?
Hello Ange,
I think the javascript reads the users online list and finding the staff members maybe from a rank characteristic and then displaying the staff member in the widget.
I think the javascript reads the users online list and finding the staff members maybe from a rank characteristic and then displaying the staff member in the widget.
Re: How can I make a staff online widget?
I can make a staff widget for you, but I don't know about having a notification of them online/offline.
Re: How can I make a staff online widget?
Hello,
I am thinking it must read the data from the forumURL/viewonline page and it must separate the staff members from a heuristic to display them in the widget but I dont know how can I develop this in javascript.
I am thinking it must read the data from the forumURL/viewonline page and it must separate the staff members from a heuristic to display them in the widget but I dont know how can I develop this in javascript.
Re: How can I make a staff online widget?
Hello Ange,
Thank you very much, I found and adapted another code for the staff online widget yesterday night. it looks like this http://prntscr.com/4phdfi . I think it need a fix because it has some load functions and I think its too heavy. Maybe it will need to set correct the browser's local storage settings to bypass the requests limits.
Can we optimize the code?
Thank you very much, I found and adapted another code for the staff online widget yesterday night. it looks like this http://prntscr.com/4phdfi . I think it need a fix because it has some load functions and I think its too heavy. Maybe it will need to set correct the browser's local storage settings to bypass the requests limits.
Can we optimize the code?
Re: How can I make a staff online widget?
It'd be good if you post it here so if others have the same problem we can show them this thread.
Re: How can I make a staff online widget?
Whichever you feel more comfortable with.Black-Shadow wrote:Hello Ange,
Can I pm you the code or must I post it here?
Re: How can I make a staff online widget?
I have made a modification to his code so that it caches the loaded data for a set time.
Topic archived
If you have any issues, don't hesitate to open a new topic.
Topic archived
If you have any issues, don't hesitate to open a new topic.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum