|
Author | Topic: Active Users in Past 24 Hours Icon Image (Read 2,033 times) |
SubDevo Co-Admin Code Support member is offline
![[avatar] [avatar]](http://i486.photobucket.com/albums/rr230/FridayFiles/598px-Lunar_libration_109.gif)
Creator of LSD...
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Mar 2009 Gender: Male  Posts: 2,594 Location: MI, USA Karma: 102 |  | Active Users in Past 24 Hours Icon Image « Thread Started on Jun 7, 2009, 4:57am » | |
Active Users in Past 24 Hours Icon Image by SubDevo Tested in IE, FF, Opera, Safari and Chrome.
This code allows you to use your own custom image for the "Active Users in the Past 24 Hours" section of the Info Center. Simple as that!
Enjoy!!!  SubDevo
Preview:
![[image] [image]](http://i486.photobucket.com/albums/rr230/FridayFiles/Forum_Posts/AU24.gif)
Just put the URL to your image in this line: var imgURL="URL TO IMAGE"; // Image URL.
Location: Main FooterCode:<script type="text/javascript"> /* Active Users in Past 24 Hours Icon Image by SubDevo */ /* Main Footer - Please leave this header intact. Do not repost. */ /* [url]http://interoceandesigns.com[/url] or [url]http://lsdp.proboards.com[/url] */
var imgURL="URL TO IMAGE"; // Image URL.
if(pb_action=="home"){ for(var tb=document.images,x=tb.length-1;x>0;x--){ if(tb[x].alt=="online"){tb[x].src=imgURL;break;} }} </script> |
|
|
![[image] [image]](http://i486.photobucket.com/albums/rr230/FridayFiles/siganimation6left_off.gif) ![[image] [image]](http://i486.photobucket.com/albums/rr230/FridayFiles/siganimation6right_off.gif)
![[image] [image]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Sigs/IOD-MB-SubDevo-3.png) Why are you looking at my signature, [ME]? |
|
Pebble Code Helper IOD Supporter member is offline
![[avatar] [avatar]](http://i1136.photobucket.com/albums/n494/pebbleleague/FootballGif.gif)
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Mar 2011 Gender: Male  Posts: 1,179 Location: Here & There Karma: 155 |  | Re: Active Users in Past 24 Hours Icon Image « Reply #1 on Jun 14, 2011, 5:47pm » | |
I just got rid of a great big bit of code and replaced it with this tiny bit of wondefullness getting the same result ! Cheers Sub.
|
|
|
SubDevo Co-Admin Code Support member is offline
![[avatar] [avatar]](http://i486.photobucket.com/albums/rr230/FridayFiles/598px-Lunar_libration_109.gif)
Creator of LSD...
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Mar 2009 Gender: Male  Posts: 2,594 Location: MI, USA Karma: 102 |  | Re: Active Users in Past 24 Hours Icon Image « Reply #2 on Jun 14, 2011, 5:54pm » | |
You're welcome! Yup, I believe this is the smallest, fastest code for this purpose.
|
![[image] [image]](http://i486.photobucket.com/albums/rr230/FridayFiles/siganimation6left_off.gif) ![[image] [image]](http://i486.photobucket.com/albums/rr230/FridayFiles/siganimation6right_off.gif)
![[image] [image]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Sigs/IOD-MB-SubDevo-3.png) Why are you looking at my signature, [ME]? |
|
JJ Senior Member IOD Supporter member is offline
![[avatar] [avatar]](http://i36.photobucket.com/albums/e31/AlsoJJ/Album4/Hootyowl%20Specific/smlgry5237.gif)
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Jan 2011 Gender: Female  Posts: 920 Location: Kentucky USA Karma: 21 |  | Re: Active Users in Past 24 Hours Icon Image « Reply #3 on Jun 22, 2011, 7:41pm » | |
OMG!! Here's JJ doing the happy dance. It has always irked me that those last two images on the bottom of the board were identical.
Honestly, Sub... I looked at this code, looked and looked and went... hmm, I can already put an image there. Then a lightbulb went off and it was like, OMG, I can change the bottom image. I love it. Thank you very much.
|
|
|
SubDevo Co-Admin Code Support member is offline
![[avatar] [avatar]](http://i486.photobucket.com/albums/rr230/FridayFiles/598px-Lunar_libration_109.gif)
Creator of LSD...
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Mar 2009 Gender: Male  Posts: 2,594 Location: MI, USA Karma: 102 |  | Re: Active Users in Past 24 Hours Icon Image « Reply #4 on Jun 23, 2011, 12:09am » | |
LMAO You're welcome JJ!
|
![[image] [image]](http://i486.photobucket.com/albums/rr230/FridayFiles/siganimation6left_off.gif) ![[image] [image]](http://i486.photobucket.com/albums/rr230/FridayFiles/siganimation6right_off.gif)
![[image] [image]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Sigs/IOD-MB-SubDevo-3.png) Why are you looking at my signature, [ME]? |
|
LunyRed Senior Member member is offline
![[avatar] [avatar]](http://i208.photobucket.com/albums/bb261/Sid_Jr0602/Avatars_II/Upset_Kuro_Usagi_100x100.gif)
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Sept 2009 Gender: Male  Posts: 542 Location: An archipelago in SE Asia Karma: 14 |  | Re: Active Users in Past 24 Hours Icon Image « Reply #5 on May 10, 2012, 12:25am » | |
Whelp! So I found a link to this code thanks to Speed and now I'm thinking of trying this one out! 
Hmm... Since my forum has multiple skins, I'm assuming I should use the if & else statements on this line?
var imgURL="URL TO IMAGE"; // Image URL.
|
![[image] [image]](http://i741.photobucket.com/albums/xx54/44udonge/Mine/GOTS-ProudMember-LunyRed.png) [ME] and I are best buddies~ Unlike me, [ME] is obsessed with Justin Bieber.. o_o' |
|
Pebble Code Helper IOD Supporter member is offline
![[avatar] [avatar]](http://i1136.photobucket.com/albums/n494/pebbleleague/FootballGif.gif)
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Mar 2011 Gender: Male  Posts: 1,179 Location: Here & There Karma: 155 |  | Re: Active Users in Past 24 Hours Icon Image « Reply #6 on May 10, 2012, 12:01pm » | |
May 10, 2012, 12:25am, LunyRed wrote:Whelp! So I found a link to this code thanks to Speed and now I'm thinking of trying this one out! 
Hmm... Since my forum has multiple skins, I'm assuming I should use the if & else statements on this line?
var imgURL="URL TO IMAGE"; // Image URL. |
|
Yep, that should work fine.
EDIT: How many skins do you have ? If it's a lot then we could knock up a few lines of code to make it easier to enter the skin id's and image URL's.
|
|
|
riccetts New Member member is offline
![[avatar] [avatar]](http://i797.photobucket.com/albums/yy258/riccetts/skins/natale5.gif)
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Feb 2012 Gender: Male  Posts: 16 Location: AL Karma: 2 |  | Re: Active Users in Past 24 Hours Icon Image « Reply #7 on May 10, 2012, 7:21pm » | |
I suppose you can change the word "online" to what ever serves the need. Am I right about that ?
| |
|
Pebble Code Helper IOD Supporter member is offline
![[avatar] [avatar]](http://i1136.photobucket.com/albums/n494/pebbleleague/FootballGif.gif)
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Mar 2011 Gender: Male  Posts: 1,179 Location: Here & There Karma: 155 |  | Re: Active Users in Past 24 Hours Icon Image « Reply #8 on May 11, 2012, 2:40am » | |
May 10, 2012, 7:21pm, riccetts wrote:I suppose you can change the word "online" to what ever serves the need. Am I right about that ? |
|
What is it you want to do ? I'm going to say no, but it depends on what you mean.
|
|
|
RADesign Administrator member is offline
![[avatar] [avatar]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Sigs/IOD-RAD-Admin-Avvy.png)
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Mar 2009 Gender: Male  Posts: 1,601 Location: IOD Karma: 136 |  | Re: Active Users in Past 24 Hours Icon Image « Reply #9 on May 12, 2012, 1:48am » | |
Since there is no "online" in either the title nor the code, I assume you are referring to the "Users online" section in the preview image that Sub provided.  If so, then yes, you can change both the icon and/or the title for that section.
|
|
|
LunyRed Senior Member member is offline
![[avatar] [avatar]](http://i208.photobucket.com/albums/bb261/Sid_Jr0602/Avatars_II/Upset_Kuro_Usagi_100x100.gif)
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Sept 2009 Gender: Male  Posts: 542 Location: An archipelago in SE Asia Karma: 14 |  | Re: Active Users in Past 24 Hours Icon Image « Reply #10 on May 22, 2012, 3:31am » | |
May 10, 2012, 12:01pm, Pebble wrote: EDIT: How many skins do you have ? If it's a lot then we could knock up a few lines of code to make it easier to enter the skin id's and image URL's. |
|
Ah, my forum currently has 3 forum skins only.
|
![[image] [image]](http://i741.photobucket.com/albums/xx54/44udonge/Mine/GOTS-ProudMember-LunyRed.png) [ME] and I are best buddies~ Unlike me, [ME] is obsessed with Justin Bieber.. o_o' |
|
Grand-Pappy Junior Member member is online
![[avatar] [avatar]](http://i49.tinypic.com/34t7nyh.gif)
I am Pro-boards version of alzheimer's in other word i may ask the same question many times.
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Jan 2012 Gender: Male  Posts: 139 Location: Not where i want to-be Karma: 2 |  | Re: Active Users in Past 24 Hours Icon Image « Reply #11 on Jul 20, 2012, 5:33am » | |
Hi, my first post on here. This code work 100% for me but as i haven't a clue on how to change the code for it to work on forum statistics & users online icons. Any help gratefully received.
B10akaPP
|
God helps those who help them self's, but God help those who try to help those who are trying to help them self's. |
|
Pebble Code Helper IOD Supporter member is offline
![[avatar] [avatar]](http://i1136.photobucket.com/albums/n494/pebbleleague/FootballGif.gif)
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Mar 2011 Gender: Male  Posts: 1,179 Location: Here & There Karma: 155 |  | Re: Active Users in Past 24 Hours Icon Image « Reply #12 on Jul 20, 2012, 8:31am » | |
Jul 20, 2012, 5:33am, Grand-Pappy wrote:Hi, my first post on here. This code work 100% for me but as i haven't a clue on how to change the code for it to work on forum statistics & users online icons. Any help gratefully received.
B10akaPP
|
|
Hi B10akaPP, Wlecome to IOD!
The Forum Statistics and Users Online icons can be changed by going to: Admin> Skins / Forum Colors> Customize Images> Pick skin and continue> and it should be in the images, 2nd box from the bottom.
|
|
|
Grand-Pappy Junior Member member is online
![[avatar] [avatar]](http://i49.tinypic.com/34t7nyh.gif)
I am Pro-boards version of alzheimer's in other word i may ask the same question many times.
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Jan 2012 Gender: Male  Posts: 139 Location: Not where i want to-be Karma: 2 |  | Re: Active Users in Past 24 Hours Icon Image « Reply #13 on Jul 20, 2012, 9:01am » | |
HI Pebble & thanks for the assistance. It looks like i fallen at the first hurdle, i can not see any of those two images anywhere in the board images you mentioned in the location?
B10akaPP
|
God helps those who help them self's, but God help those who try to help those who are trying to help them self's. |
|
Pebble Code Helper IOD Supporter member is offline
![[avatar] [avatar]](http://i1136.photobucket.com/albums/n494/pebbleleague/FootballGif.gif)
![[homepage] [homepage]](http://vegasfoxxgfx.com/IOD/GOTS-Images/Misc/MP-ContactIcons/GOTS-Homepage_off.png) Joined: Mar 2011 Gender: Male  Posts: 1,179 Location: Here & There Karma: 155 |  | Re: Active Users in Past 24 Hours Icon Image « Reply #14 on Jul 20, 2012, 10:23am » | |
It's not obvious due to Proboards changing their icons......
![[image] [image]](http://i1136.photobucket.com/albums/n494/pebbleleague/onlineSTATS.png)
The statistics image is on the left and the online image is on the right.
There's a code here you might be interested in: http://interoceandesigns.com/index.cgi?b....splay&thread=28 that might be helpful as it shows the images that you actually have on your site.
|
|
|
|