Former Member
inherit
guest@proboards.com
222576
0
Nov 1, 2024 11:40:51 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Sept 14, 2015 10:27:37 GMT -8
im just wanting this moveing to my sidebar, and im not bothered it still stays in the stat/info box aswell if this makes it easier. goldenbeatz.uk/ iv got a 24hour widget in my sidebar on the right and im wanting to get rid so my site runs smooth like tom cruise thx in advanced, and im here to learn aswell
|
|
inherit
224260
0
Nov 1, 2020 15:13:16 GMT -8
Azy
632
August 2015
azayles
|
Post by Azy on Sept 16, 2015 14:23:20 GMT -8
Hi, Oreo! In the Home template, remove this section <tr class="last"> <td colspan="2"> <table> <tr> <td class="icon">$[image.online_24]</td> <td class="info last"> <table> <tbody> <tr><th>Users Online in the Last 24 Hours</th></tr> <tr><td>$[total_staff_online_24] Staff, <a class="$[view_todays_active_members_link.class]" href="$[view_todays_active_members_link.href]">$[total_members_online_24] Member{if $[total_members_online_24] != 1}s{/if}</a>, $[total_guests_online_24] Guest{if $[total_guests_online_24] != 1}s{/if}.</td></tr> <tr><td> {foreach $[online_user_24]} $[online_user_24]{if $[online_user_24.invisible]} <span class="small">(invisible)</span>{/if}$[online_user_24.comma] {/foreach} {if $[total_online_not_shown_24]} , and <a class="$[view_todays_active_members_link.class]" href="$[view_todays_active_members_link.href]">$[total_online_not_shown_24] more...</a> {/if} </td></tr> </tbody> </table> </td> </tr> </table> </td> </tr>
And in your sidebar, in HTML widget, post this <table> <tbody> <tr><th>Users Online in the Last 24 Hours</th></tr> <tr><td>$[total_staff_online_24] Staff, <a class="$[view_todays_active_members_link.class]" href="$[view_todays_active_members_link.href]">$[total_members_online_24] Member{if $[total_members_online_24] != 1}s{/if}</a>, $[total_guests_online_24] Guest{if $[total_guests_online_24] != 1}s{/if}.</td></tr> <tr><td> {foreach $[online_user_24]} $[online_user_24]{if $[online_user_24.invisible]} <span class="small">(invisible)</span>{/if}$[online_user_24.comma] {/foreach} {if $[total_online_not_shown_24]} , and <a class="$[view_todays_active_members_link.class]" href="$[view_todays_active_members_link.href]">$[total_online_not_shown_24] more...</a> {/if} </td></tr> </tbody> </table>
THIS ASSUMES that template variables work in the sidebar plugin (and if it's coded anything like my hand-coded sidebar, they ought to) If they don't, then this code, as is, won't work
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 1, 2024 11:40:51 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Sept 16, 2015 16:09:10 GMT -8
all that work sorry but it doesnt work in my sidebar, i just get a load of code text. sorry i didnt know this. thank u anyways.
|
|
inherit
224260
0
Nov 1, 2020 15:13:16 GMT -8
Azy
632
August 2015
azayles
|
Post by Azy on Sept 16, 2015 22:15:59 GMT -8
That damned plugin :-( I don't know WHY it doesn't support the forum wrapper template variables. My sidebar works by wrapping everything between the header and footer sections of the forum wrapper template in a two column table. Put everything in one column, the other column becomes the sidebar. The whole thing is in the template, so variables work. Hopefully someone can code some JS to move the table element into your sidebar plugin. I could do it, but I'm away from my laptop now till Monday.
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Sept 17, 2015 0:47:37 GMT -8
Gallant effort, Azy. It would be nice if that worked.
@joecool111
I can only get both users online and users online in the last 24 hours in the side table (redux) and it wipes out your info center stats as you can see on this site:
putteraround1.proboards.com/
This is using Jordan's move shoutbox code: support.proboards.com/thread/433242/script-move-shoutbox
I know one can clone something but I'm just not getting clone to work and I suck a javascript/jquery.
If you are interested just use Jordon's javascript and replace the "div.shoutbox.container.full' with ".info.last table" and then that div part will go in your side table content area.
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 1, 2024 11:40:51 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Sept 17, 2015 4:53:56 GMT -8
Gallant effort, Azy. It would be nice if that worked.
@joecool111
I can only get both users online and users online in the last 24 hours in the side table (redux) and it wipes out your info center stats as you can see on this site:
putteraround1.proboards.com/
This is using Jordan's move shoutbox code: support.proboards.com/thread/433242/script-move-shoutbox
I know one can clone something but I'm just not getting clone to work and I suck a javascript/jquery.
If you are interested just use Jordon's javascript and replace the "div.shoutbox.container.full' with ".info.last table" and then that div part will go in your side table content area. i'll have a look at this thank you im not bothered about it being wiped out from the bottom anyways. thanks again
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 1, 2024 11:40:51 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Sept 21, 2015 16:14:33 GMT -8
Gallant effort, Azy. It would be nice if that worked.
@joecool111
I can only get both users online and users online in the last 24 hours in the side table (redux) and it wipes out your info center stats as you can see on this site:
putteraround1.proboards.com/
This is using Jordan's move shoutbox code: support.proboards.com/thread/433242/script-move-shoutbox
I know one can clone something but I'm just not getting clone to work and I suck a javascript/jquery.
If you are interested just use Jordon's javascript and replace the "div.shoutbox.container.full' with ".info.last table" and then that div part will go in your side table content area. hello iv used this code thanks, just 1 question. Will the members online list i.e klump342 don722 admin52 fill the sidebar up and make it bigger? or do they end in klump243 ..... and 152 others ? like likes do in a post. i think iv explained it right lol
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Sept 21, 2015 16:49:17 GMT -8
Gallant effort, Azy. It would be nice if that worked.
@joecool111
I can only get both users online and users online in the last 24 hours in the side table (redux) and it wipes out your info center stats as you can see on this site:
putteraround1.proboards.com/
This is using Jordan's move shoutbox code: support.proboards.com/thread/433242/script-move-shoutbox
I know one can clone something but I'm just not getting clone to work and I suck a javascript/jquery.
If you are interested just use Jordon's javascript and replace the "div.shoutbox.container.full' with ".info.last table" and then that div part will go in your side table content area. hello iv used this code thanks, just 1 question. Will the members online list i.e klump342 don722 admin52 fill the sidebar up and make it bigger? or do they end in klump243 ..... and 152 others ? like likes do in a post. i think iv explained it right lol I really have no idea, to be honest, and no way to test it. I don't know if pulling that out/moving it out of the info center like that messes that up or not so I guess you'll have to wait and see when you get 70 members or whatever it is set at to get the "and xxx more". Sorry.
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 1, 2024 11:40:51 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Sept 21, 2015 16:55:52 GMT -8
ok i'll wait and see thanks.
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 1, 2024 11:40:51 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Sept 21, 2015 18:04:49 GMT -8
hello iv used this code thanks, just 1 question. Will the members online list i.e klump342 don722 admin52 fill the sidebar up and make it bigger? or do they end in klump243 ..... and 152 others ? like likes do in a post. i think iv explained it right lol I really have no idea, to be honest, and no way to test it. I don't know if pulling that out/moving it out of the info center like that messes that up or not so I guess you'll have to wait and see when you get 70 members or whatever it is set at to get the "and xxx more". Sorry. myshopp.uk/ iv tryed but failed lol .... how do i change the text white please ? its in the side bar on the left. edit: im putting in the right one instead.
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Sept 21, 2015 18:23:52 GMT -8
I really have no idea, to be honest, and no way to test it. I don't know if pulling that out/moving it out of the info center like that messes that up or not so I guess you'll have to wait and see when you get 70 members or whatever it is set at to get the "and xxx more". Sorry. myshopp.uk/ iv tryed but failed lol .... how do i change the text white please ? its in the side bar on the left. edit: im putting in the right one instead. You failed at what? Wouldn't it look better if you had a white background behind it instead of dangling there? You can just put it right in the div you added to your redux side table: (don't copy this whole line because I renamed my id on mine....just add the bold)
<div id="move-users" style="background-color:#ffffff;"></div>
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 1, 2024 11:40:51 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Sept 21, 2015 18:25:26 GMT -8
myshopp.uk/ iv tryed but failed lol .... how do i change the text white please ? its in the side bar on the left. edit: im putting in the right one instead. You failed at what? Wouldn't it look better if you had a white background behind it instead of dangling there? You can just put it right in the div you added to your redux side table: (don't copy this whole line because I renamed my id on mine....just add the bold)
<div id="move-users" style="background-color:#ffffff;"></div>
it is a bit dangly lol i'll go do it.
|
|
Former Member
inherit
guest@proboards.com
222576
0
Nov 1, 2024 11:40:51 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Sept 21, 2015 19:26:05 GMT -8
myshopp.uk/ iv tryed but failed lol .... how do i change the text white please ? its in the side bar on the left. edit: im putting in the right one instead. You failed at what? Wouldn't it look better if you had a white background behind it instead of dangling there? You can just put it right in the div you added to your redux side table: (don't copy this whole line because I renamed my id on mine....just add the bold)
<div id="move-users" style="background-color:#ffffff;"></div>
mycarr.uk/ iv put in the right and done some css stuff with your code but the radius i put in is only on one side and its square on the other. i tryed widening the side bar but it didnt work so im stuck.
|
|
inherit
I need a new CT, thinking.... [insert Jeopardy theme song here]
110769
0
Aug 21, 2021 0:07:21 GMT -8
Tumbleweed
20,825
September 2007
tumbleweed
|
Post by Tumbleweed on Sept 21, 2015 20:48:47 GMT -8
You failed at what? Wouldn't it look better if you had a white background behind it instead of dangling there? You can just put it right in the div you added to your redux side table: (don't copy this whole line because I renamed my id on mine....just add the bold)
<div id="move-users" style="background-color:#ffffff;"></div>
mycarr.uk/ iv put in the right and done some css stuff with your code but the radius i put in is only on one side and its square on the other. i tryed widening the side bar but it didnt work so im stuck. Looks like you got the corners rounded. So it isn't changing (side bar) when you put in a new width? Are you sure you are changing it enough to notice the difference? I don't know, my brain isn't working today but maybe since you have wide images in the forum body there is no room for wider sidebars. Probably why most people stick with one side bar rather than both? But as I said, I'm tired so I think my brain shut down. lol
|
|