How do I can make the "online" icon appear.
3 posters
Page 1 of 1
How do I can make the "online" icon appear.
The problem is that I followed the guide with "staff post background" you know, where you change the post background of user, but my online banner disappeared. It doesn't show up.
Screenshot:
Screenshot:
Last edited by Lullz. on December 31st 2012, 8:33 pm; edited 1 time in total
PENSAR.- Forumember
- Posts : 61
Reputation : 2
Language : Bulgarian.
Re: How do I can make the "online" icon appear.
- Code:
.adminpost {
background: #ffffff; /* Old browsers */
background: -moz-linear-gradient(left, #ffffff 0%, #ffdfce 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#ffffff), color-stop(100%,#ffdfce)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, #ffffff 0%,#ffdfce 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, #ffffff 0%,#ffdfce 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left, #ffffff 0%,#ffdfce 100%); /* IE10+ */
background: linear-gradient(to right, #ffffff 0%,#ffdfce 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffdfce',GradientType=1 ); /* IE6-9 */
That's the CSS.
- Code:
var escapeRegExp;(function(){var a=RegExp("[-\\[\\]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]","g");escapeRegExp=function(b){return b.replace(a,"\\$&")}})();var postbg={add:function(a,c){a=escapeRegExp(a);a=a.replace(/\s?,\s?/g,"|");$(function(){var b=$(".postprofile").get();for(i=0;i<b.length;i++)RegExp("^"+a+"$","g").test($(b[i].getElementsByTagName("a")[1]).text())&&$(b[i]).closest(".post").addClass(c)})}}; postbg.add('PENSAR.', 'adminpost');
That's the Java.
PENSAR.- Forumember
- Posts : 61
Reputation : 2
Language : Bulgarian.
Re: How do I can make the "online" icon appear.
Replace the CSS one with:
I hope it work..
- Code:
.adminpost {
background: #ffffff; /* Old browsers */
background: -moz-linear-gradient(left, #ffffff 0%, #ffdfce 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#ffffff), color-stop(100%,#ffdfce)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, #ffffff 0%,#ffdfce 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, #ffffff 0%,#ffdfce 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left, #ffffff 0%,#ffdfce 100%); /* IE10+ */
background: linear-gradient(to right, #ffffff 0%,#ffdfce 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffdfce',GradientType=1 ); /* IE6-9 */
}
post.online.adminpost{
background-image: url(http://2img.net/i/fa/prosilver/icon_user_online_en.png) right 0 no-repeat;
background-position: right 0;
background-repeat: no-repeat;
background: #ffffff url(http://2img.net/i/fa/prosilver/icon_user_online_en.png) right 0 no-repeat; /* Old browsers */
background: -moz-linear-gradient(left, #ffffff 0%, #ffdfce 100%) url(http://2img.net/i/fa/prosilver/icon_user_online_en.png) right 0 no-repeat; /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#ffffff), color-stop(100%,#ffdfce)) url(http://2img.net/i/fa/prosilver/icon_user_online_en.png) right 0 no-repeat; /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, #ffffff 0%,#ffdfce 100%) url(http://2img.net/i/fa/prosilver/icon_user_online_en.png) right 0 no-repeat; /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, #ffffff 0%,#ffdfce 100%) url(http://2img.net/i/fa/prosilver/icon_user_online_en.png) right 0 no-repeat; /* Opera 11.10+ */
background: -ms-linear-gradient(left, #ffffff 0%,#ffdfce 100%) url(http://2img.net/i/fa/prosilver/icon_user_online_en.png) right 0 no-repeat; /* IE10+ */
background: linear-gradient(to right, #ffffff 0%,#ffdfce 100%) url(http://2img.net/i/fa/prosilver/icon_user_online_en.png) right 0 no-repeat; /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffdfce',GradientType=1 ); /* IE6-9 */
}
I hope it work..
Re: How do I can make the "online" icon appear.
It didn't. However, I saw even here Online icon on staff members do not appear so no matter. I'll mark this Solved..
PENSAR.- Forumember
- Posts : 61
Reputation : 2
Language : Bulgarian.
Re: How do I can make the "online" icon appear.
Topic Solved & Locked |
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
» request to make me a who is online,birthday,calender,statics and chatbox icon for my forum plz
» off/online icon
» who's online icon
» online icon
» Online Icon
» off/online icon
» who's online icon
» online icon
» Online Icon
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum