online and offline
3 posters
Page 1 of 1
online and offline
hi i want to have the icon is connected and disconnected how this to clarify i want icon Online and Offline |
Last edited by developer.ryan on September 20th 2015, 11:46 am; edited 1 time in total
Re: online and offline
Hello
To change the online button just go to ACP => Pictures and Colors => Pics management => Advanced Mode => Buttons => Online and just change it.
If you want to add an "offline" button follow this steps (this only works for phpBB3)
And now add this to your CSS:
Now, the img code for this last code is the offline image![Smile](https://2img.net/i/fa/i/smiles/icon_smile.gif)
If phpBB3 is not your forum version please provide it as the URL of it![Wink](https://2img.net/i/fa/i/smiles/icon_wink.gif)
To change the online button just go to ACP => Pictures and Colors => Pics management => Advanced Mode => Buttons => Online and just change it.
If you want to add an "offline" button follow this steps (this only works for phpBB3)
- Code:
jQuery(document).ready(function(){
jQuery(".postprofile dl dt img").wrap('<div class="user2"></div>');
jQuery(".user2").append(jQuery('<div></div>'));
jQuery(".online .user2 div").prepend(jQuery('<img src="IMG CODE" alt="on line!" Title="on line!" class="rec" />'));
});
And now add this to your CSS:
- Code:
.user2 {
text-align: center;
}
.user2 div{
position:relative;
top: -7px;
height:13px;
width:87px;
background: transparent url("OFFLINE IMG") no-repeat bottom center;
margin: 0 auto;
}
.rec {
position:relative;
}
.online {
background-image:none;
}
Now, the img code for this last code is the offline image
![Smile](https://2img.net/i/fa/i/smiles/icon_smile.gif)
If phpBB3 is not your forum version please provide it as the URL of it
![Wink](https://2img.net/i/fa/i/smiles/icon_wink.gif)
Re: online and offline
developer.ryan wrote:
hi
i want to have the icon is connected and disconnected how this
to clarify
i want icon
Online and Offline
Please don't use bold or color and keep to the default text. This is reserved for the staff for moderation.developer.ryan wrote:
Thank you @mpelmmc
It works without any problems thanks again
Topic solved and archived
![](https://i.servimg.com/u/f18/16/89/96/68/sig_se10.png)
![online and offline Slgray10](https://i.servimg.com/u/f28/11/40/02/06/slgray10.png)
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.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum