Staff online widget
4 posters
Page 1 of 1
Re: Staff online widget
When you copy and paste the code, did the numbers also get pasted? If yes, you need to remove them.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Staff online widget
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?
Re: Staff online widget
1 - 23
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Staff online widget
indofishclub wrote:SLGray wrote:1 - 23
ok wait
If i copy paste a link, the number cannot be removed
Re: Staff online widget
- 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>
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Staff online widget
Oh okay i paste in notepad done, now how to input staff online name with her picture? can?
Re: Staff online widget
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.
Re: Staff online widget
skouliki wrote:you need to follow the instructions and the modifications from the tutorial i gave youYou 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
Re: Staff online widget
Are you logged into the forum?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Staff online widget
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.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Staff online widget
You have to add your staff members' usernames here:
- Code:
['Ange Tuteur', 'Ange']
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Staff online widget
Problem solved & topic archived.
|
Similar topics
» Staff online widget help.
» Staff Online Widget Problem
» Modify Staff Online Widget
» Staff online widget always offline
» How can I make a staff online widget?
» Staff Online Widget Problem
» Modify Staff Online Widget
» Staff online widget always offline
» How can I make a staff online widget?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum