The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

online offline status

View previous topic View next topic Go down

online offline status

Post by zenzo on February 1st 2013, 1:17 pm

could i move or relocate the image offline online status

from message table to the bottom of the profile field?

zenzo
Forumember

Posts : 464
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

Re: online offline status

Post by levy on February 2nd 2013, 1:33 am

Code:
$(function() {
  $('.post:not(".online")').addClass('offline');
  $('.online .postprofile dd:first').after('<dd class="online"><span class="online"><span class="ipson">Online</span></span></dd>');
  $('.offline .postprofile dd:first').after('<dd class="offline"><span class="offline"><span class="ipsoff">Offline</span></span></dd>');
});

In your javascript ~> all pages

levy
Hyperactive

Male Posts : 2582
Reputation : 345
Language : Romanian, English
Location : criticize artwork, not people!

http://help.forumotion.com/

Back to top Go down

Re: online offline status

Post by zenzo on February 2nd 2013, 2:28 am

RicYiu wrote:
Code:
$(function() {
  $('.post:not(".online")').addClass('offline');
  $('.online .postprofile dd:first').after('<dd class="online"><span class="online"><span class="ipson">Online</span></span></dd>');
  $('.offline .postprofile dd:first').after('<dd class="offline"><span class="offline"><span class="ipsoff">Offline</span></span></dd>');
});

In your javascript ~> all pages

is this for phpbb3

not working Sad

zenzo
Forumember

Posts : 464
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

Re: online offline status

Post by zenzo on February 2nd 2013, 3:56 pm

i've change my themes and its working but it show only a text


how can i attach image for this code


thanks

zenzo
Forumember

Posts : 464
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

Re: online offline status

Post by levy on February 2nd 2013, 4:02 pm


levy
Hyperactive

Male Posts : 2582
Reputation : 345
Language : Romanian, English
Location : criticize artwork, not people!

http://help.forumotion.com/

Back to top Go down

Re: online offline status

Post by SLGray on February 2nd 2013, 6:42 pm

@zenzo wrote:
RicYiu wrote:
Code:
$(function() {
  $('.post:not(".online")').addClass('offline');
  $('.online .postprofile dd:first').after('<dd class="online"><span class="online"><span class="ipson">Online</span></span></dd>');
  $('.offline .postprofile dd:first').after('<dd class="offline"><span class="offline"><span class="ipsoff">Offline</span></span></dd>');
});

In your javascript ~> all pages

is this for phpbb3

not working Sad

@zenzo wrote:i've change my themes and its working but it show only a text


how can i attach image for this code


thanks
Please don't double/triple post. Your post need to be separated by 24 hours before bumping, replying or adding more information. Please use the edit button instead!

Second Reminder


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36735
Reputation : 2447
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: online offline status

Post by Razvy. on February 2nd 2013, 6:48 pm

Add in Javascript code:

Code:
$(function(e) {
$('.post:not(".online")').addClass('offline');
});

And the CSS stylesheet:

Code:
.post.online .postprofile dt strong {
background-image: url('http://i34.servimg.com/u/f34/13/94/17/66/onl10.png');
background-repeat: no-repeat;
background-position: left center;
padding-left: 14px;
}

.post.offline .postprofile dt strong {
background-image: url('http://i34.servimg.com/u/f34/13/94/17/66/onl10.png');
background-repeat: no-repeat;
background-position: left center;
padding-left: 14px;
}

Razvy.
Forumember

Male Posts : 25
Reputation : 1
Language : Romanian|English
Location : Focsani

Back to top Go down

Re: online offline status

Post by zenzo on February 2nd 2013, 10:42 pm

Emanuel Pascu wrote:Add in Javascript code:

Code:
$(function(e) {
$('.post:not(".online")').addClass('offline');
});

And the CSS stylesheet:

Code:
.post.online .postprofile dt strong {
background-image: url('http://i34.servimg.com/u/f34/13/94/17/66/onl10.png');
background-repeat: no-repeat;
background-position: left center;
padding-left: 14px;
}

.post.offline .postprofile dt strong {
background-image: url('http://i34.servimg.com/u/f34/13/94/17/66/onl10.png');
background-repeat: no-repeat;
background-position: left center;
padding-left: 14px;
}

it shows before my user name

and also offline online image both appear

zenzo
Forumember

Posts : 464
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum