Attention:

Support Rules and Guidelines
Before you post your support topic, please remember to:
  • Read the support forum rules.
  • Check the wiki and use search to see if your problem can be answered there first.
  • Link your board please, and make sure that the problem on your board is visible to guests or provide a test account.
  • Do not post Board Wrappers and CSS unless requested. With a board link, this is not necessary.
  • Be as descriptive as you can and use as many details as possible when describing your problem.
  • Please briefly mark any links to forums that may not be work-safe.
This will help ensure your support issue will be attended to in a quick and efficient manner.

  ClosedNew TopicNew Poll

 Online status coloring? [SOLVED]
#
How would I go about colorizing the online status of a user in the mini profile in topics:

Eg:

Status: Online

or

Status: Offline?

This is what the template looks like currently:
CODE
<div class="postbit"><div align='center'><!-- |avatar| -->
<!-- |title| -->
</div></div>
<div class="postbit"><img src='http://support.b1.jcink.com/uploads/support//post-30-1199519165.png'> Group: <!-- |prefix| --><!-- |member_group| --><!-- |suffix| --></div>
<div class="postbit"><img src='http://support.b1.jcink.com/uploads/support//post-30-1199519139.png'> Posts: <!-- |member_posts| --></div>
<div class="postbit"><img src='http://support.b1.jcink.com/uploads/support//post-30-1199519053.png'> Joined: <!-- |member_joined| --> (ID #:<!-- |id| -->)</div>
<div class='postbit'>Mood: <span class="miniprofile mood"><img src="http://moodsmod.b1.jcink.com/uploads/moodsmod/<!-- |field_4| -->.gif" /></span></div>
<div class="postbit">Age: <!-- |age| --><br />
Gender: <!-- |field_2| --><br />
Favorite Position: <!-- |field_3| --><br />
Location: <!-- |location| --><br />
<span class="checkStatus"><!-- |status| --><br />
</span></div></b>
<br />
<!-- |warn_text| --> <!-- |warn_minus| --><!-- |warn_img| --><!-- |warn_add| -->


Any help is appreciated. http://files.b1.jcink.com/html/emoticons/biggrin.gif
#
Replace this line
CODE
<span class="checkStatus"><!-- |status| --><br />


With this
CODE
<span class="mp-<!-- |status| -->"><!-- |status| --><br />


And add the classes .mp-Offline and .mp-Online in your style sheets, with the color properties set.
PM
#
Thanks a bunch. http://files.b1.jcink.com/html/emoticons/smile.gif
#
This topic has been solved. If you need anymore help please post a new thread. Thanks for choosing Jcink services.

signature
email: admin@jcink.com :: blog: John C.
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Share this topic:
« Next Oldest | General Support | Next Newest »

Options ClosedNew TopicNew Poll