The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Help Me with statistic in tabs like this

4 posters

Go down

Help Me with statistic in tabs like this Empty Help Me with statistic in tabs like this

Post by Paradise July 12th 2013, 12:32 am

I want to have my forum quick stat, Who is online and chat box just like this one

source forum: http://www.webartzforum.com/


 
Help Me with statistic in tabs like this Webart10


Last edited by Paradise on July 22nd 2013, 1:34 pm; edited 1 time in total
Paradise
Paradise
Forumember

Male Posts : 117
Reputation : 1
Language : English

http://igboist.forumotion.com/forum

Back to top Go down

Help Me with statistic in tabs like this Empty Re: Help Me with statistic in tabs like this

Post by Karim Patron July 12th 2013, 12:37 am

it depends on what the forum is using as versions

i am not pretty sure that it works for phpBB 3
Karim Patron
Karim Patron
Forumember

Posts : 55
Reputation : 4
Language : English, French, Arabic

Back to top Go down

Help Me with statistic in tabs like this Empty Re: Help Me with statistic in tabs like this

Post by levy July 12th 2013, 12:44 am

If you have phpBB2 / punBB : http://www.csshelp.net/t119-turn-statistics-into-tabs-phpbb2-and-punbb-only

for phpBB3 - create a new javascript and mark on forum index and fill with that :

Code:
$(function(e) {
('Copyright (c) 2012 - 2013 D World Oficial. All right reserved. Un script util pentru a da un nou aspect statisticilor pe versiunea phpbb3.');
$('.h3:contains("Cine este conectat?")').before('<li style="display: inline; margin: 10px 5px 0 0px; float: left;"><span onclick="whos()" style="background-color: #DDE7F0;  clear: both;  padding: 5px 10px;margin: 5px 0 -6px;border-radius: 3px 3px 0 0;">Who is online</span></li><div id="onlinestats"></div><li style="display: inline; position: relative; top: 10px;"><span onclick="stats()" style="background-color: #DDE7F0;  clear: both;  padding: 5px 10px; margin: 5px 5px -6px 0px; border-radius: 3px 3px 0 0;">Statistici</span></li><div id="laststats" style="float: right; display: none;"></div><li style="display: inline; position: relative; top: 10px;"><span onclick="chatbox()" style="background-color: #DDE7F0;  clear: both;  padding: 5px 10px;margin: 5px 5px 0 0px;border-radius: 3px 3px 0 0;">Chatbox</span></li><div id="chatstats" style="display: none;"></div><li style="display: inline; position: relative; top: 10px;"><span onclick="newtab()" style="background-color: #DDE7F0;  clear: both;  padding: 5px 10px;margin: 5px 0 -6px;border-radius: 3px 3px 0 0;">Newtab</span></li><div id="newtab" style="display: none;"></div>');

// Stats / Whosonline / Chatbox / Newtab
$('.h3:contains("Cine este conectat?"), #i_whosonline +p').prependTo('#onlinestats');
$('.h3:contains("Statistici"), p.page-bottom').appendTo('#laststats');
$('.h3:contains("Chatbox")').prependTo('#chatstats');
$('div.page-bottom, #chatbox_popup').remove();
});

// Function show/hide active element.
function whos() {
document.getElementById("onlinestats").style.display= 'inline';
$('#laststats, #chatstats, #newtab').hide();
}

// Function show/hide active element.
function stats() {
document.getElementById("laststats").style.display= 'inline';
$('#onlinestats, #chatstats, #newtab').hide();
}

// Function show/hide active element.
function chatbox() {
document.getElementById("chatstats").style.display= 'inline';
$('#onlinestats, #laststats, #newtab').hide();
}

// Function show/hide active element.
function newtab() {
document.getElementById("newtab").style.display= 'inline';
$('#onlinestats, #laststats, #chatstats').hide();
}

 Now go in your CSS and add that

Code:
#onlinestats, #laststats, #chatstats, #newtab {
background-color: #DDE7F0;
clear: both;
padding: 3px 10px;
width: 700px;
margin: 5px 0;
border-radius: 0 3px 3px 3px;
float: left!important;
}

#onlinestats .h3, #laststats .h3, #chatstats .h3 {
margin-top: 0;
}
levy
levy
Hyperactive

Male Posts : 2632
Reputation : 350
Language : English, Romanian
Location : Romania

https://portofolio.goodforum.net/

Back to top Go down

Help Me with statistic in tabs like this Empty Re: Help Me with statistic in tabs like this

Post by Paradise July 12th 2013, 1:06 am

Sorry not working
Paradise
Paradise
Forumember

Male Posts : 117
Reputation : 1
Language : English

http://igboist.forumotion.com/forum

Back to top Go down

Help Me with statistic in tabs like this Empty Re: Help Me with statistic in tabs like this

Post by levy July 12th 2013, 1:08 am

You have phpBB3 ?
levy
levy
Hyperactive

Male Posts : 2632
Reputation : 350
Language : English, Romanian
Location : Romania

https://portofolio.goodforum.net/

Back to top Go down

Help Me with statistic in tabs like this Empty Re: Help Me with statistic in tabs like this

Post by Paradise July 12th 2013, 1:23 am

yes
Paradise
Paradise
Forumember

Male Posts : 117
Reputation : 1
Language : English

http://igboist.forumotion.com/forum

Back to top Go down

Help Me with statistic in tabs like this Empty Re: Help Me with statistic in tabs like this

Post by Karim Patron July 12th 2013, 2:07 am

In the javescript you created, you need to mark on forum index only
Karim Patron
Karim Patron
Forumember

Posts : 55
Reputation : 4
Language : English, French, Arabic

Back to top Go down

Help Me with statistic in tabs like this Empty Re: Help Me with statistic in tabs like this

Post by SLGray July 12th 2013, 2:13 am

Maybe Sanket will tell you have to do that, because he is a member of that forum.


Help Me with statistic in tabs like this Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Help Me with statistic in tabs like this Empty Re: Help Me with statistic in tabs like this

Post by Paradise July 12th 2013, 4:21 pm

Karim Patron wrote:In the javescript you created, you need to mark on forum index only

 I didnt it exactly but yet no way
Paradise
Paradise
Forumember

Male Posts : 117
Reputation : 1
Language : English

http://igboist.forumotion.com/forum

Back to top Go down

Help Me with statistic in tabs like this Empty Re: Help Me with statistic in tabs like this

Post by Paradise July 14th 2013, 9:59 pm

bump
Paradise
Paradise
Forumember

Male Posts : 117
Reputation : 1
Language : English

http://igboist.forumotion.com/forum

Back to top Go down

Help Me with statistic in tabs like this Empty Re: Help Me with statistic in tabs like this

Post by Paradise July 22nd 2013, 1:32 pm

I have tried to get that kind of statistic on my forum but I got a problem.... 

Members connected and birthdays are giving me serious headache in my phpbb2 forum version

see what I meanHelp Me with statistic in tabs like this Rule10
Paradise
Paradise
Forumember

Male Posts : 117
Reputation : 1
Language : English

http://igboist.forumotion.com/forum

Back to top Go down

Help Me with statistic in tabs like this Empty Re: Help Me with statistic in tabs like this

Post by levy July 22nd 2013, 1:36 pm

Hello , check for this in your index_body :

Code:
 {L_CONNECTED_MEMBERS}
 {L_WHOSBIRTHDAY_TODAY}
 {L_WHOSBIRTHDAY_WEEK}

And delete them.
levy
levy
Hyperactive

Male Posts : 2632
Reputation : 350
Language : English, Romanian
Location : Romania

https://portofolio.goodforum.net/

Back to top Go down

Help Me with statistic in tabs like this Empty Re: Help Me with statistic in tabs like this

Post by Paradise July 22nd 2013, 1:55 pm

I want them included in the tabs
Paradise
Paradise
Forumember

Male Posts : 117
Reputation : 1
Language : English

http://igboist.forumotion.com/forum

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum