Problem with code for Staff-Online Module
3 posters
Page 1 of 1
Problem with code for Staff-Online Module
Hello
Wanted to post this question in the forum for problems with scripts - but I am locked there....
I am wondering why the script in this post https://help.forumotion.com/t124455-modify-staff-online-widget
shows staff online even if they are offline....
I used this script:
Any help is appreciated
Greetings
Susanne
Wanted to post this question in the forum for problems with scripts - but I am locked there....
I am wondering why the script in this post https://help.forumotion.com/t124455-modify-staff-online-widget
shows staff online even if they are offline....
I used this script:
- Code:
<style>
#onlinestaff a {
display: none;
}
</style><div id="onlinestaff">
<b>Staff online:</b>
<a href="http://www.weimaraner-verein.com/u1" style="display: block; ">
<img src="http://r12.imgfast.net/users/1216/21/93/56/avatars/1-45.png"></a>
</div>
<script type="text/javascript">
jQuery(document).ready (function () {
jQuery('#left .forumline:eq(0) .row1 a').each(function () {
jQuery('#onlinestaff a[href="' + this.href + '"]').css('display','block');
});
});
</script>
Any help is appreciated
Greetings
Susanne
Last edited by Susanne on July 17th 2013, 6:11 pm; edited 2 times in total
Re: Problem with code for Staff-Online Module
Moved to Script Problems
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: Problem with code for Staff-Online Module
Thanks, SLGray
I have tried a little yesterday and now it seems to work.
BUT - only with the online module on top of it and that is pretty annoying.
Is there a code to hide this module?
My code in the module looks like this right now:
Greetings from Susanne
I have tried a little yesterday and now it seems to work.
BUT - only with the online module on top of it and that is pretty annoying.
Is there a code to hide this module?
My code in the module looks like this right now:
- Code:
<style>
#onlinestaff a {
display: none;
}
</style><div id="onlinestaff" class="panel"><div align=center>
Admins:
<a href="http://www.weimaraner-verein.com/u1"><img src="http://r12.imgfast.net/users/1216/21/93/56/avatars/1-45.png" style="height:50px; float:center; padding: 2px 2px 2px 5px; "></a>
<a href="http://www.weimaraner-verein.com/u2"><img src="http://r12.imgfast.net/users/1216/21/93/56/avatars/2-45.jpg" style="height:50px; float:left; padding: 2px 2px 2px 5px; "></a>
<a href="http://www.weimaraner-verein.com/u9"><img src="http://r12.imgfast.net/users/1216/21/93/56/avatars/9-64.jpg" style="height:50px; float:left; padding: 2px 2px 2px 5px;"></a>
<a href="http://www.weimaraner-verein.com/u94"><img src="http://r12.imgfast.net/users/1216/21/93/56/avatars/94-85.jpg" style="height:50px; float:left; padding: 2px 2px 2px 5px; "></a></div><div align=center>
Gruppen-Mods:
<a href="http://www.weimaraner-verein.com/u103"><img src="http://r12.imgfast.net/users/1216/21/93/56/avatars/103-61.jpg"style="height:50px; float:left; padding: 2px 2px 2px 5px;"></a>
<a href="http://www.weimaraner-verein.com/u24"><img src="http://r12.imgfast.net/users/1216/21/93/56/avatars/24-67.jpg"style="height:50px; float:left; padding: 2px 2px 2px 5px;"></a></div><div align=center>
Moderatoren:
<a href="http://www.weimaraner-verein.com/u29"><img src="http://r12.imgfast.net/users/1216/21/93/56/avatars/29-80.jpg"style="height:50px; float:left; padding: 2px 2px 2px 5px;"></a>
<a href="http://www.weimaraner-verein.com/u120"><img src="http://r12.imgfast.net/users/1216/21/93/56/avatars/120-11.jpg"style="height:50px; float:left; padding: 2px 2px 2px 5px;"></a>
<a href="http://www.weimaraner-verein.com/u191"><img src="http://r12.imgfast.net/users/1216/21/93/56/avatars/191-30.jpg"style="height:50px; float:left; padding: 2px 2px 2px 5px;"></a>
</div></div></div>
<script type="text/javascript">
jQuery(document).ready (function () {
jQuery('#left .forumline:eq(0) .row1 a').each(function () {
jQuery('#onlinestaff a[href="' + this.href + '"]').css('display','block');
});
});
</script>
Greetings from Susanne
Re: Problem with code for Staff-Online Module
Susanne wrote:Thanks, SLGray
BUT - only with the online module on top of it and that is pretty annoying.
Is there a code to hide this module?
On top of what?
to hide the module? then how would you see if staff is online or not.
please explain more and post any links or screen shots so we can see.
thanx
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: Problem with code for Staff-Online Module
Hello,
Sorry, that I didn´t explain correctly ....
It looks like this in my Forum right now:
The "Who-is-online" in top of the new "Staff-online"-Module.
I just wanted to the "Who-is-online"-Module to be invisible but not inaktiv.
Hope I explained so that you understand
Greetings Susanne
Sorry, that I didn´t explain correctly ....
It looks like this in my Forum right now:
The "Who-is-online" in top of the new "Staff-online"-Module.
I just wanted to the "Who-is-online"-Module to be invisible but not inaktiv.
Hope I explained so that you understand
Greetings Susanne
Re: Problem with code for Staff-Online Module
Since no solution was given , this topic will be garbaged.
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.
Similar topics
» staff online code
» How Can I add This Staff Online Box
» Staff - Come online
» Module Code
» Login Module Code
» How Can I add This Staff Online Box
» Staff - Come online
» Module Code
» Login Module Code
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum