Staff online widget

Go down

Solved Staff online widget

Post by indofishclub on April 26th 2018, 7:28 am

How to put staff online now in the widget ? thanks
avatar
indofishclub
Forumember

Male Posts : 226
Reputation : 1
Language : english,indonesian
Location : Jakarta,Indonesian

http://indofishclub.forumid.net/

Back to top Go down

Solved Re: Staff online widget

Post by skouliki on April 26th 2018, 7:50 am

hello

read this staff online and this staff chat
avatar
skouliki
Manager
Manager

Female Posts : 4881
Reputation : 799
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Staff online widget

Post by indofishclub on April 26th 2018, 8:00 am

@skouliki wrote:hello

read this staff online and this staff chat

Hi skouliki, i try it but like this

avatar
indofishclub
Forumember

Male Posts : 226
Reputation : 1
Language : english,indonesian
Location : Jakarta,Indonesian

http://indofishclub.forumid.net/

Back to top Go down

Solved Re: Staff online widget

Post by skouliki on April 26th 2018, 8:03 am

i can see it just fine



did you make the necessary modifications ?
avatar
skouliki
Manager
Manager

Female Posts : 4881
Reputation : 799
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Staff online widget

Post by SLGray on April 26th 2018, 8:07 am

When you copy and paste the code, did the numbers also get pasted?  If yes, you need to remove them.



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
avatar
SLGray
Administrator
Administrator

Male Posts : 44552
Reputation : 3157
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: Staff online widget

Post by indofishclub on April 26th 2018, 8:09 am

@SLGray wrote:When you copy and paste the code, did the numbers also get pasted?  If yes, you need to remove them.

Yes SLgray, where number sector i must delete it?
avatar
indofishclub
Forumember

Male Posts : 226
Reputation : 1
Language : english,indonesian
Location : Jakarta,Indonesian

http://indofishclub.forumid.net/

Back to top Go down

Solved Re: Staff online widget

Post by SLGray on April 26th 2018, 8:10 am

1 - 23



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
avatar
SLGray
Administrator
Administrator

Male Posts : 44552
Reputation : 3157
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: Staff online widget

Post by indofishclub on April 26th 2018, 8:10 am

@SLGray wrote:1 - 23

ok wait
avatar
indofishclub
Forumember

Male Posts : 226
Reputation : 1
Language : english,indonesian
Location : Jakarta,Indonesian

http://indofishclub.forumid.net/

Back to top Go down

Solved Re: Staff online widget

Post by indofishclub on April 26th 2018, 8:13 am

@indofishclub wrote:
@SLGray wrote:1 - 23

ok wait

If i copy paste a link, the number cannot be removed
avatar
indofishclub
Forumember

Male Posts : 226
Reputation : 1
Language : english,indonesian
Location : Jakarta,Indonesian

http://indofishclub.forumid.net/

Back to top Go down

Solved Re: Staff online widget

Post by SLGray on April 26th 2018, 8:14 am

Code:
        <script type="text/javascript">myStaff = ['Ange Tuteur', 'Ange'];staff_cache_time = 4*60*1000; // mm*ss*ms;</script> <div id="theStaff"></div><div id="theContent" style="display:none"></div><noscript><div style="color:red;font-size:9px">Functionality of this widget is not possible, as JavaScript is disabled or unsupported.</div></noscript> <script type="text/javascript">if (localStorage.staffOn && localStorage.staffEx > +new Date - staff_cache_time) jQuery('#theStaff').html(localStorage.staffOn);else loadStaff();function loadStaff() {  jQuery('#theContent').load('/viewonline #main-content a, a.gen', function() {    for (i=0; i<myStaff.length; i++) jQuery('#theContent a').filter(function() { return jQuery(this).text() === myStaff[i] }).appendTo('#theStaff').wrap('<div class="myStaff">');    if (!jQuery('#theStaff .myStaff').length) jQuery('#theStaff').html('No staff online');    if (window.localStorage) {      localStorage.staffOn = jQuery('#theStaff').html();      localStorage.staffEx = +new Date;    }  })}</script>



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
avatar
SLGray
Administrator
Administrator

Male Posts : 44552
Reputation : 3157
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: Staff online widget

Post by indofishclub on April 26th 2018, 8:17 am





Whats wrong?
avatar
indofishclub
Forumember

Male Posts : 226
Reputation : 1
Language : english,indonesian
Location : Jakarta,Indonesian

http://indofishclub.forumid.net/

Back to top Go down

Solved Re: Staff online widget

Post by skouliki on April 26th 2018, 8:18 am

you still have number 1
avatar
skouliki
Manager
Manager

Female Posts : 4881
Reputation : 799
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Staff online widget

Post by indofishclub on April 26th 2018, 8:19 am

@skouliki wrote:you still have number 1

Yes , but cannot be delete the number
avatar
indofishclub
Forumember

Male Posts : 226
Reputation : 1
Language : english,indonesian
Location : Jakarta,Indonesian

http://indofishclub.forumid.net/

Back to top Go down

Solved Re: Staff online widget

Post by indofishclub on April 26th 2018, 8:21 am

Oh okay i paste in notepad done, now how to input staff online name with her picture? can?
avatar
indofishclub
Forumember

Male Posts : 226
Reputation : 1
Language : english,indonesian
Location : Jakarta,Indonesian

http://indofishclub.forumid.net/

Back to top Go down

Solved Re: Staff online widget

Post by skouliki on April 26th 2018, 8:24 am

you need to follow the instructions and the modifications from the tutorial i gave you
You would need to send multiple requests for the avatar of each staff member, and if you have a lot of staff this could cause you to hit the request limit. This widget is meant to be as light as possible, which is why I chose to only display the username.
avatar
skouliki
Manager
Manager

Female Posts : 4881
Reputation : 799
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Staff online widget

Post by indofishclub on April 26th 2018, 8:36 am

@skouliki wrote:you need to follow the instructions and the modifications from the tutorial i gave you
You would need to send multiple requests for the avatar of each staff member, and if you have a lot of staff this could cause you to hit the request limit. This widget is meant to be as light as possible, which is why I chose to only display the username.

i follow the instructions but staff online now is blank
avatar
indofishclub
Forumember

Male Posts : 226
Reputation : 1
Language : english,indonesian
Location : Jakarta,Indonesian

http://indofishclub.forumid.net/

Back to top Go down

Solved Re: Staff online widget

Post by SLGray on April 26th 2018, 8:38 am

Are you logged into the forum?



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
avatar
SLGray
Administrator
Administrator

Male Posts : 44552
Reputation : 3157
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: Staff online widget

Post by indofishclub on April 26th 2018, 8:39 am

@SLGray wrote:Are you logged into the forum?

Yes
avatar
indofishclub
Forumember

Male Posts : 226
Reputation : 1
Language : english,indonesian
Location : Jakarta,Indonesian

http://indofishclub.forumid.net/

Back to top Go down

Solved Re: Staff online widget

Post by SLGray on April 26th 2018, 8:40 am

@Ange Tuteur wrote:To ensure the widget functions properly some permissions should be modified. Go to Administration Panel > Users and Groups > Special rights and locate the Users status display. If you are planning to display this widget for guests, ensure that the viewing permission is set to Guests. Otherwise, choose an option you prefer.




When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
avatar
SLGray
Administrator
Administrator

Male Posts : 44552
Reputation : 3157
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: Staff online widget

Post by skouliki on April 26th 2018, 8:40 am

did you do these ?



avatar
skouliki
Manager
Manager

Female Posts : 4881
Reputation : 799
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Staff online widget

Post by SLGray on April 26th 2018, 8:42 am

You have to add your staff members' usernames here:

Code:
['Ange Tuteur', 'Ange']



When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
avatar
SLGray
Administrator
Administrator

Male Posts : 44552
Reputation : 3157
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: Staff online widget

Post by indofishclub on April 26th 2018, 8:50 am



I try username admin is appear , but the next name spyderz is not appear
avatar
indofishclub
Forumember

Male Posts : 226
Reputation : 1
Language : english,indonesian
Location : Jakarta,Indonesian

http://indofishclub.forumid.net/

Back to top Go down

Solved Re: Staff online widget

Post by skouliki on April 26th 2018, 8:54 am

try with spyderz not Spyderz
avatar
skouliki
Manager
Manager

Female Posts : 4881
Reputation : 799
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Staff online widget

Post by indofishclub on April 26th 2018, 9:12 am

Ok solved many thanks Skouliki & Sl gray
avatar
indofishclub
Forumember

Male Posts : 226
Reputation : 1
Language : english,indonesian
Location : Jakarta,Indonesian

http://indofishclub.forumid.net/

Back to top Go down

Solved Re: Staff online widget

Post by skouliki on April 26th 2018, 9:13 am

you are very welcome
avatar
skouliki
Manager
Manager

Female Posts : 4881
Reputation : 799
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Solved Re: Staff online widget

Post by APE on April 26th 2018, 5:39 pm

Problem solved & topic archived.
Please read our forum rules: ESF General Rules



avatar
APE
Administrator
Administrator

Male Posts : 13383
Reputation : 1420
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Back to top


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