online statistics script, i want to move it
4 posters
Page 1 of 1
online statistics script, i want to move it
How do I move the online statistics at the bottom of my forum to the tab "statistics" or an HTML page? Is there a code to embed it somewhere? Also once it is on my page that I want, how do I remove the one on the bottom of the forum without disabling it? I dont want to have duplicates.
Re: online statistics script, i want to move it
well you would have to remove this from the home page index template.
Then add to the Statistics template, The problem is? where is the Statistics template??? because it's sure not the one in the gallery templates, and it seems it is not the one in the portal mod_statistics
So not sure at this point, i will see if i can locate which one the Statistics page is in.
Other then that i do not know of anyway to place it on a html page,
Unless you was going to sacrifice a template you do not want, add the code, then put that page link in a iframe????
Honestly your better off just leaving it where it is.
You dont have to display it on the home page if you want, you can set that in Structure and hierarchy bottom of the page.
- Code:
<!-- BEGIN disable_viewonline -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<td class="catHead" colspan="2" height="28">
<!-- BEGIN switch_viewonline_link -->
<span class="cattitle"><a class="cattitle" href="{U_VIEWONLINE}" rel="nofollow">{L_WHO_IS_ONLINE}</a></span>
<!-- END switch_viewonline_link -->
<!-- BEGIN switch_viewonline_nolink -->
<span class="cattitle">{L_WHO_IS_ONLINE}</span>
<!-- END switch_viewonline_nolink -->
</td>
</tr>
<tr>
<td class="row1" rowspan="6" align="center" valign="middle"><img src="{L_ONLINE_IMG}" id="i_whosonline" alt="{L_WHO_IS_ONLINE}" /></td>
<td class="row1" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />
{TOTAL_USERS}<br />
{NEWEST_USER}</span></td>
</tr>
<tr>
<td class="row1"><span class="gensmall">{TOTAL_USERS_ONLINE}<br />
{RECORD_USERS}<br />
<br />
{LOGGED_IN_USER_LIST}</span></td>
</tr>
{L_CONNECTED_MEMBERS}
{L_WHOSBIRTHDAY_TODAY}
{L_WHOSBIRTHDAY_WEEK}
<tr>
<td class="row1"><span class="gensmall">{LEGEND} : {GROUP_LEGEND}</span></td>
</tr>
<!-- BEGIN switch_chatbox_activate -->
<tr>
<td class="row1">
<span class="gensmall">{TOTAL_CHATTERS_ONLINE} : {CHATTERS_LIST}<br />
<!-- BEGIN switch_chatbox_popup -->
<div id="chatbox_popup"></div>
<script type="text/javascript">
//<![CDATA[
insertChatBoxPopup('{disable_viewonline.switch_chatbox_activate.switch_chatbox_popup.U_FRAME_CHATBOX}', '{L_CLICK_TO_JOIN_CHAT}');
//]]>
</script>
<!-- END switch_chatbox_popup -->
</span>
</td>
</tr>
<!-- END switch_chatbox_activate -->
</table>
<!-- END disable_viewonline -->
Then add to the Statistics template, The problem is? where is the Statistics template??? because it's sure not the one in the gallery templates, and it seems it is not the one in the portal mod_statistics
So not sure at this point, i will see if i can locate which one the Statistics page is in.
Other then that i do not know of anyway to place it on a html page,
Unless you was going to sacrifice a template you do not want, add the code, then put that page link in a iframe????
Honestly your better off just leaving it where it is.
You dont have to display it on the home page if you want, you can set that in Structure and hierarchy bottom of the page.
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: online statistics script, i want to move it
neh, iframes dont work for me I d rather just embedd the source code, LGforum did it on his site? Is there a way to make it similar?
Re: online statistics script, i want to move it
The statistics on my site are grabbed from the statistics widget with Javascript.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: online statistics script, i want to move it
LGforum wrote:The statistics on my site are grabbed from the statistics widget with Javascript.
okay, so can you give me the code for the widget? Then I can take it from there.
Re: online statistics script, i want to move it
There is no code for it. Its a widget provided by forumotion, in widgets management.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: online statistics script, i want to move it
okay, so do I put
- Code:
#onlinestats
- Code:
.onlinestats
Re: online statistics script, i want to move it
Well I'm not sure what your asking now?
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: online statistics script, i want to move it
okay, so whats the javascript and what do I put in it
Re: online statistics script, i want to move it
XDirect12345 wrote:okay, so whats the javascript and what do I put in it
Bump
Re: online statistics script, i want to move it
XDirect12345 wrote:okay, so whats the javascript and what do I put in it
I haven't answered because... I don't know. I don't know where you want to put it, what your circumstance is and what your wanting to do with it. Sorry. Your first post says 'somewhere' or 'a tab', maybe I'd need to visit your forum to get it a bit better.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: online statistics script, i want to move it
you put yours in a tab on AvacWeb, I was hoping to get something similar. My statistics tab is a HTML Page if that helps.
Is there anyway to get the stats that you have? I got the widgets but I just dont know how to achieve what I want.
I want the stats to be like yours from avacweb, under a tab. It sounds like Im plagiarizing, but im trying not to, sorry. I just trying to make it a little easier for users.
You can visit my forum if it helps, look at my statistics tab, you cant miss it.
Hopefully we can reach a compromise or a goal.
Is there anyway to get the stats that you have? I got the widgets but I just dont know how to achieve what I want.
I want the stats to be like yours from avacweb, under a tab. It sounds like Im plagiarizing, but im trying not to, sorry. I just trying to make it a little easier for users.
You can visit my forum if it helps, look at my statistics tab, you cant miss it.
Hopefully we can reach a compromise or a goal.
Re: online statistics script, i want to move it
Well it depends where you have you statistics widget.
When I visit your forum as a guest I see its the third and fourth ones down so this script would grab that widget put it in a new DIV, and when you click your statistics tab, it will display those statistics in the middle of the page where your forums are:
...I was bored.
When I visit your forum as a guest I see its the third and fourth ones down so this script would grab that widget put it in a new DIV, and when you click your statistics tab, it will display those statistics in the middle of the page where your forums are:
- Code:
var showing_stats = false;
$(function(){
var div = document.createElement('div');
div.id = 'new_stats'; div.style.display = 'none';
document.body.insertBefore(div, document.body.firstChild);
var x = $('#left .forumline');
div.appendChild(x[2]); div.appendChild(x[3]);
$(document.getElementById('menu').firstChild.lastChild.firstChild).click(function(e) {
e.preventDefault();
var main = document.getElementById('main');
if(showing_stats) {
main.innerHTML = showing_stats;
showing_stats = false;
}
else {
showing_stats = main.innerHTML;
main.innerHTML = document.getElementById('new_stats').innerHTML;
}
});
});
...I was bored.
Last edited by LGforum on May 29th 2012, 12:33 am; edited 1 time in total
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: online statistics script, i want to move it
its perfect, but one problem, its on the header, which I dont want.
Re: online statistics script, i want to move it
Oh yeah I missed a little bit out. The post above is edited and should work for you now.
Just know though, it will need changing should you change the position of those widgets.
Just know though, it will need changing should you change the position of those widgets.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: online statistics script, i want to move it
okay, so how do I hide the who is online at the bottom without messing up the who is online in the statistics tab.
Re: online statistics script, i want to move it
Well you can turn that off in the admin panel, I think it's in display tab, but I forget exactly and on my phone now. Someone else will maybe let you know soon. Turning it off there won't affect the widgets.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: online statistics script, i want to move it
Is it possible to put the javascript on this page? http://xdirect12345.forumotion.com/h3-statistics-tab-page
I know it sounds like im restating the answer to my own question. But I want it to be in an HTML Page.
Is it possible to do it like this?
I know it sounds like im restating the answer to my own question. But I want it to be in an HTML Page.
- Code:
<Head>
bla bla bla...
<head>
<body>
javascript here
</body>
Is it possible to do it like this?
Similar topics
» Move Chatbox Statistics
» How to put Statistics script on page source?
» Script Needed For Removing Statistics
» How to remove statistics (the one below who is online)?
» How to change background of Who's online and Statistics
» How to put Statistics script on page source?
» Script Needed For Removing Statistics
» How to remove statistics (the one below who is online)?
» How to change background of Who's online and Statistics
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum