Staff online widget
+5
Kaizer Lee
BL@DE
Van-Helsing
Ikerepc
Bokssha
9 posters
Page 2 of 2
Page 2 of 2 • 1, 2
Staff online widget
First topic message reminder :
Hello... Â
 I accidentally came across some topics related to problems with "Staff online widget"...
 Can someone tell me what is Staff online widget,how can we make it,and for what version of forums is it?
 Thank you.
Hello... Â
 I accidentally came across some topics related to problems with "Staff online widget"...
 Can someone tell me what is Staff online widget,how can we make it,and for what version of forums is it?
 Thank you.
Re: Staff online widget
Thanks. Did you remove the online image from the posts? I do not see it in any of your posts.
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
Never mind. I was looking at the wrong thing when I posted.
Could you add me to the administrator group?
Could you add me to the administrator group?
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
Sure... I will do it now...
Is it possible that images on that code must be same like images on the forum?
Is it possible that images on that code must be same like images on the forum?
Re: Staff online widget
If you add the widget to the forum, it works. So for some reason it will not work on the portal.
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
hmm...Interesting Well,ok... that should be enough.
Thank you very much SLGray for your time!
Thank you very much SLGray for your time!
Re: Staff online widget
You're welcome.
Would you like to wait and see if someone can solve the issue?
Would you like to wait and see if someone can solve the issue?
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
Ok. I will leave it open to see if a solution can be found.
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
Try putting the javascript in javascript management, and the html in the widgets.
In javascript management add the code below and tick the box for "in all pages".
AP>>Modules>>Javascript management.
Then add the html on the portal and forum widgets:
In javascript management add the code below and tick the box for "in all pages".
AP>>Modules>>Javascript management.
- Code:
jQuery(function() {
var x = jQuery('.forumline', document.getElementById('right'))[0].innerHTML;
var y = jQuery('.staffname', document.getElementById('onlineStaff'));
for (var i=0, l = y.length; i<l; i++) {
if (x.indexOf(y[i].innerHTML) > 0) {
y[i].innerHTML+=' <img src="http://hitskin.com/themes/13/76/80/i_folder_new.gif">';
} else { y[i].innerHTML+='<img src="http://hitskin.com/themes/13/76/80/i_folder.gif">'; }
}
});
Then add the html on the portal and forum widgets:
- Code:
<style>.staffname{display:block}</style><div id="onlineStaff">
<span class="staffname">Bokssha</span>
</div>
Re: Staff online widget
Well those codes I posted are just copied from page 1, they can be considered an example, if they are accurate or not I do not know because they've been altered with images and whatnot, but my point was to try putting the javascript that works in javascript management (without the script tags <script></script>) and the html in the widgets. It was my theory that the script in order to work on the portal so it knows when someone is logged in may need to be in javascript management "in all pages". But the actual javascript codes I'm not sure about. Its placement I was addressing.
Re: Staff online widget
did any one ever get this work in for phpbb2 ? i dont want it on the portal i want it on the forum.
BL@DE- Forumember
- Posts : 161
Reputation : 10
Language : English
Location : England
Re: Staff online widget
Hi all,
At my phpbb2 dont works at forum and portal. Has someone fix the code?
Best Regards,
Dark-Avenger
At my phpbb2 dont works at forum and portal. Has someone fix the code?
Best Regards,
Dark-Avenger
Last edited by Dark-Avenger on November 12th 2013, 12:47 am; edited 1 time in total
Re: Staff online widget
Mine Works Just Fine! I Think This Code Works Ok. (But I Also Think That It Is The Same!! )
I Think You Have To Have The Widget On The Top To Work!!!
- Code:
<style>.staffname{display:block}</style><div id="onlineStaff">
<span class="staffname">Marios94</span>
</div>
<script type="text/javascript">
jQuery(function() {
var x = jQuery('.module', document.getElementById('right'))[0].innerHTML;
var y = jQuery('.staffname', document.getElementById('onlineStaff'));
for (var i=0, l = y.length; i<l; i++) {
if (x.indexOf(y[i].innerHTML) > 0) {
y[i].innerHTML+=' <img src="http://hitskin.com/themes/13/76/80/i_folder_new.gif">';
} else { y[i].innerHTML+='<img src="http://hitskin.com/themes/13/76/80/i_folder.gif">'; }
}
});
</script>
I Think You Have To Have The Widget On The Top To Work!!!
Re: Staff online widget
Someone say put it to be second,someone first... idk....
For me,it doesnt work.It shows that I m always online...
And for my friend/second admin that he is always offline... lies,lies,terrible lies...
Well...thats mycode... si..its same...
For me,it doesnt work.It shows that I m always online...
And for my friend/second admin that he is always offline... lies,lies,terrible lies...
Well...thats mycode... si..its same...
Re: Staff online widget
It stills not working on my phpbb2 and I facing the same problems with Bokssha
Best Regards,
Dark-Avenger
Best Regards,
Dark-Avenger
Re: Staff online widget
looks like we can not have this on our sites then boys and girls
BL@DE- Forumember
- Posts : 161
Reputation : 10
Language : English
Location : England
Page 2 of 2 • 1, 2
Similar topics
» Staff Online Widget!
» Staff online widget help.
» Staff online widget
» Staff Online Widget
» online widget staff
» Staff online widget help.
» Staff online widget
» Staff Online Widget
» online widget staff
Page 2 of 2
Permissions in this forum:
You cannot reply to topics in this forum