inherit
213954
0
Mar 24, 2018 13:58:03 GMT -8
catatonicgalaxy
139
September 2014
catatonicgalaxy
|
Post by catatonicgalaxy on Oct 21, 2014 6:25:47 GMT -8
Found these Great animated Online/Offline Buttons for Proboards Mini-Profiles .. Thanks to Craig for Writing the Code and thanks to me for finding the images !!! Enjoy !!! should end up looking like this < Click me
<span style="color: #{if $[user.is_online]}e6de19{else}FF0000{/if}; font-weight: bold;"> {if $[user.is_online]} <img src="http://i.imgur.com/c9pskvl.gif" alt=" Online " /> {else} <img src="http://i.imgur.com/othmXj5.gif" alt=" Offline " /> <span style="font-family: Verdana, Arial; font-size: 10pt;"></span> {/if} </span>
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 30, 2024 12:35:06 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jul 16, 2015 15:52:13 GMT -8
anyone know where i put this please
|
|
inherit
223758
0
Jun 10, 2020 7:15:10 GMT -8
Phear
Godzilla Saves Lives! Join the conversation at Monarch Sciences!
299
July 2015
gridlines
|
Post by Phear on Aug 3, 2015 8:21:54 GMT -8
anyone know where i put this please I was curious myself, and it looks like you're going to go to: Layout Templates > Mini ProfileLook on Line 28, for this code: {if $[user.is_online]}<br /><span class="italic">Member is Online</span>{/if} Replace that entire line with the code above. Since the links no longer work for the images, be sure to replace the links in the code with your own.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,849
January 2015
msg
|
Post by Lynx on Aug 3, 2015 8:28:52 GMT -8
You should be able to right-click each image above and Save As ... to save it to your computer. Then, just upload to someplace like Imgur and get your own URL for each to replace the current image URLs in the code.
|
|
inherit
223758
0
Jun 10, 2020 7:15:10 GMT -8
Phear
Godzilla Saves Lives! Join the conversation at Monarch Sciences!
299
July 2015
gridlines
|
Post by Phear on Aug 3, 2015 8:29:55 GMT -8
You should be able to right-click each image above and Save As ... to save it to your computer. Then, just upload to someplace like Imgur and get your own URL for each to replace the current image URLs in the code. Well, I was saying that because the image links above aren't working, and the images are coming up broken for me.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,849
January 2015
msg
|
Post by Lynx on Aug 3, 2015 8:32:16 GMT -8
Understood. I was merely pointing that out for those who may not know what to do to get a working URL for them.
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 30, 2024 12:35:06 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Aug 3, 2015 8:50:47 GMT -8
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 30, 2024 12:35:06 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Aug 3, 2015 8:58:37 GMT -8
Understood. I was merely pointing that out for those who may not know what to do to get a working URL for them. those images work, but they dont work in the code, anyidea ?
|
|
inherit
223758
0
Jun 10, 2020 7:15:10 GMT -8
Phear
Godzilla Saves Lives! Join the conversation at Monarch Sciences!
299
July 2015
gridlines
|
Post by Phear on Aug 3, 2015 9:23:06 GMT -8
Your code should look just like this, and it should work. Try just copying and pasting what's below. <span style="color: #{if $[user.is_online]}e6de19{else}FF0000{/if}; font-weight: bold;">
{if $[user.is_online]}
<img src="http://i.imgur.com/3h1SfCu.gif" alt=" Online " />
{else}
<img src="http://i.imgur.com/RcUlYom.gif" alt=" Offline " />
<span style="font-family: Verdana, Arial; font-size: 10pt;"></span>
{/if}
</span>
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 30, 2024 12:35:06 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Aug 4, 2015 1:44:42 GMT -8
Your code should look just like this, and it should work. Try just copying and pasting what's below. <span style="color: #{if $[user.is_online]}e6de19{else}FF0000{/if}; font-weight: bold;">
{if $[user.is_online]}
<img src="http://i.imgur.com/3h1SfCu.gif" alt=" Online " />
{else}
<img src="http://i.imgur.com/RcUlYom.gif" alt=" Offline " />
<span style="font-family: Verdana, Arial; font-size: 10pt;"></span>
{/if}
</span> got this thanks, looks cool
|
|
inherit
223758
0
Jun 10, 2020 7:15:10 GMT -8
Phear
Godzilla Saves Lives! Join the conversation at Monarch Sciences!
299
July 2015
gridlines
|
Post by Phear on Aug 4, 2015 7:30:42 GMT -8
Glad to hear!
|
|
inherit
224260
0
Nov 1, 2020 15:13:16 GMT -8
Azy
632
August 2015
azayles
|
Post by Azy on Sept 1, 2015 2:45:39 GMT -8
I did something like this on my forum a while ago, having a tiny red cube for offline, and a green cube with the word "Online" in a label next to it. Handy feature I noticed, too. If you upload the images to the themes page directly, instead of using an outside host like imgur, you can access the image directly in any template, for example: {if $[user.is_online]} $[theme.image.StatusOnline] <br /> {else} $[theme.image.StatusOffline]<br /> <br /> {/if}
This also means that code will work, even if you later change the images, as long as you upload the new image to overwrite the old one, keeping the same name
|
|