[ABD] Forum Statistics 0.3.0

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
.:: Chico ::.
Registered User
Posts: 463
Joined: Fri Aug 03, 2007 6:35 am
Location: Rio de Janeiro
Contact:

Re: [BETA] Forum Statistics

Post by .:: Chico ::. » Wed Dec 05, 2007 3:27 am

RedTrinity wrote:
.:: Chico ::. wrote: Press "CREATE NEW MODULE" and create 5 (FIVE) modules with anyname, but if you press beside at list of "add module", you'll see the names, they are these:
FORUM ACTIVITY
BASIC STATISTICS
FORUM CONTRIBUITIONS
PERIODIC STATISTICS
SETTING STATISTICS
The list is the dropdown one, yeah? Titled "Choose Module"? I am not getting any statistic related modules coming up in that list :(
That's it!

so, make sure you have uploaded all files correctly, like language files at your correct language folder, and for your correct template folder.

try to purge cache.

This should be like this in picture:
Image

RedTrinity
Registered User
Posts: 1327
Joined: Sat May 06, 2006 3:32 am

Re: [BETA] Forum Statistics

Post by RedTrinity » Wed Dec 05, 2007 3:53 am

Thanks Chico, I appreciate your help. Am still trying to get it working, even uploaded all the module files to every folder within the includes folder (as well as the fs one) but it just isn't detecting them :(

All other files seem to be in their right places.

Will keep trying, though.

idiotnesia
Registered User
Posts: 509
Joined: Sun Jun 18, 2006 10:58 am
Location: www.phpbbindonesia.com
Name: Pungky Putra
Contact:

Re: [BETA] Forum Statistics

Post by idiotnesia » Wed Dec 05, 2007 3:56 am

wow another nice mod from you ..
I'll test it soon after i'm home

BTW, do you think that the index page become much slower because you add so many sql queries there? Especially if we run in huge database

.:: Chico ::.
Registered User
Posts: 463
Joined: Fri Aug 03, 2007 6:35 am
Location: Rio de Janeiro
Contact:

Re: [BETA] Forum Statistics

Post by .:: Chico ::. » Wed Dec 05, 2007 3:58 am

idiotnesia wrote:wow another nice mod from you ..
I'll test it soon after i'm home

BTW, do you think that the index page become much slower because you add so many sql queries there? Especially if we run in huge database
I'm afraid of it too.

;)
RedTrinity wrote:Thanks Chico, I appreciate your help. Am still trying to get it working, even uploaded all the module files to every folder within the includes folder (as well as the fs one) but it just isn't detecting them :(

All other files seem to be in their right places.

Will keep trying, though.
Start all over again
Install it in localhost with a new installation of phpbb3

i hate when this happen.

Good Luck

RedTrinity
Registered User
Posts: 1327
Joined: Sat May 06, 2006 3:32 am

Re: [BETA] Forum Statistics

Post by RedTrinity » Wed Dec 05, 2007 4:00 am

.:: Chico ::. wrote:
Start all over again
Install it in localhost with a new installation of phpbb3

i hate when this happen.

Good Luck
You are kidding me, right? I can't start over... I have a forum with over 660 members, 200,000 posts and about 40 MODs installed :S

.:: Chico ::.
Registered User
Posts: 463
Joined: Fri Aug 03, 2007 6:35 am
Location: Rio de Janeiro
Contact:

Re: [BETA] Forum Statistics

Post by .:: Chico ::. » Wed Dec 05, 2007 4:06 am

RedTrinity wrote:
.:: Chico ::. wrote:
Start all over again
Install it in localhost with a new installation of phpbb3

i hate when this happen.

Good Luck
You are kidding me, right? I can't start over... I have a forum with over 660 members, 200,000 posts and about 40 MODs installed :S
You've got PUNK'D
haha

no Redtrinity, you did not understand me, start all mod installation again, not your site... :?

RedTrinity
Registered User
Posts: 1327
Joined: Sat May 06, 2006 3:32 am

Re: [BETA] Forum Statistics

Post by RedTrinity » Wed Dec 05, 2007 4:28 am

.:: Chico ::. wrote: no Redtrinity, you did not understand me, start all mod installation again, not your site... :?
Hehe ok :P Will do that now.

RedTrinity
Registered User
Posts: 1327
Joined: Sat May 06, 2006 3:32 am

Re: [BETA] Forum Statistics

Post by RedTrinity » Wed Dec 05, 2007 4:46 am

Hmm I noticed that all the other modules in the dropdown list (where the stats ones should be) and their files within the folder where all the other module files are kept all start with "ACP_xxxxx" but there doesn't seem to be any files within the Statistics package that start with that extension... would that be causing this issue by any chance??

RedTrinity
Registered User
Posts: 1327
Joined: Sat May 06, 2006 3:32 am

Re: [BETA] Forum Statistics

Post by RedTrinity » Wed Dec 05, 2007 4:54 am

Ok nm... I don't know how the heck I just got it working but it appears I did :lol: Have finally gotten the Stats menu appearing where it should be on the far left menu and am now able to add the submenus automatically!

So progress finally being made, will update soon when I am hopefully done with a complete install :D

User avatar
TheUniqueTiger
Registered User
Posts: 303
Joined: Wed Sep 05, 2007 7:57 pm
Location: India
Contact:

Re: [BETA] Forum Statistics

Post by TheUniqueTiger » Wed Dec 05, 2007 7:24 am

Guys, I'm sorry for the bugs reported by .::Chico::. , they were actually unhandled divide by zero errors, which have been fixed and the bugfix version will be put up today. There were many possibilities of division by zero which were unhandled but now I've fixed them. I just went to sleep after posting the MOD! :D

The typos in install instructions have been noted. I'll make it a replace statement rather than a after-add statement so that its a workaround anyway.

For the module creation instructions, let me explain in detail. Initially even I tried giving sql statements to work. But soon found out that making some minor changes would break most of the modules since it identifies the modules order by the left & right ids. If you are creating them yourself, it would be easier thats what I feel. And more importantly why have phpBB3 devs kept the Module management and creation feature for? Just utilise the good job done by them.

The module creation instructions are a bit too long and that was the best I could put in words there. I hope you could understand them...

One more thing I would like to clarify... once you have edited all the files, and login to your ACP, there will be 'Forum Statistics' under module management (below Moderator control panel). Enter it. Now when you are creating a module (or a category), the url shows 'mode=fs', which makes the current module (or category) go under fs even though the parent is 'No parent'. The install instructions in this regard are correct. I'll urge you to read them properly and understand before continuing.
(btw, the module categories under UCP & MCP also have parent as 'No parent'!)

Thanks .::Chico::. for the test board. I'll be posting the 0.1.2 version (beta 2) today. Hopefully that won't have any bugs.

Thanks.
You have only One Life... So before you are History, make sure you make it to the History books! - TheUniqueTiger

RedTrinity
Registered User
Posts: 1327
Joined: Sat May 06, 2006 3:32 am

Re: [BETA] Forum Statistics

Post by RedTrinity » Wed Dec 05, 2007 7:37 am

I did get it working and it looks great, well done UniqueTiger :D I don't have any complaints or feedback at all as I am generally happy with it atm, but I couldn't help but notice that the Monthly Periodic Stats are incorrect?

For example atm it lists 389 new registrations for December 2007 (we have had about 5 sofar this month) and then it has just 4 for last month, when we had almost 50. The months before that all the way back to Jan are all 0, which is incorrect.

I'm assuming the monthly posts and topics stats are incorrect too as they look very similar to the above.

Any ideas? :D

Thanks in advance!

Nikki :)

RedTrinity
Registered User
Posts: 1327
Joined: Sat May 06, 2006 3:32 am

Re: [BETA] Forum Statistics

Post by RedTrinity » Wed Dec 05, 2007 7:41 am

Oh, forgot to ask - what is the proceedure in regards to displaying statistics of protected forums? For example, we have an admin section where only admin are able to access - will any entries in the statistics for this section be available to general members to view?

I hope that the permissions work accordingly for the display of these protected areas in the same way they do for the general forum - similar to that of the statistics mod for PHPBB2 :) So in other words, admin have the admin topics/section stats displayed as entries but non-admin cannot see them - and alternative entries instead related to the sections they can see/access.

If that makes sense :)

User avatar
TheUniqueTiger
Registered User
Posts: 303
Joined: Wed Sep 05, 2007 7:57 pm
Location: India
Contact:

Re: [BETA] Forum Statistics

Post by TheUniqueTiger » Wed Dec 05, 2007 9:49 am

For the one who had asked if so many queries on the index page would make loading slower, I'll like to clarify that the statistics are shown on an entirely different page and not on the index page. You can access this page by clicking the 'Statistics' link on the index page where statistics are normally shown.

@ RedTrinity,
Atm the statistics are shown from all forums irrespective of whether the user can see/read or not. I already have the permissions thing at the back of my mind and thats one thing I'll like to complete in future.

About the wrong statistics, on my localhost, it shows the stats correctly. I'll need to check more. I'd like to have .::Chico::.'s opinion on this whether he is seeing the same wrong stats...

Will get back when I find out more...
You have only One Life... So before you are History, make sure you make it to the History books! - TheUniqueTiger

User avatar
TheUniqueTiger
Registered User
Posts: 303
Joined: Wed Sep 05, 2007 7:57 pm
Location: India
Contact:

Re: [BETA] Forum Statistics

Post by TheUniqueTiger » Wed Dec 05, 2007 9:56 am

Oh, and forgot to mention another thing, I'm planning to overhaul the daily and monthly statistics, since I myself feel there is an easier and shorter way to get and sort those stats. Initially I felt that they could not be done the way I've implemented hourly stats, but a little more thought made it clear I can get them in that easier way too!
You have only One Life... So before you are History, make sure you make it to the History books! - TheUniqueTiger

User avatar
NeoID
Registered User
Posts: 406
Joined: Mon Jun 06, 2005 10:12 pm
Location: Norway
Contact:

Re: [BETA] Forum Statistics

Post by NeoID » Wed Dec 05, 2007 11:24 am

@TheUniqueTiger
Your doing an amazing job, my community is really interested in your mod as I've upgraded from phpbb2 to phpbb3. Great work, I'll give it a try myself when Beta2 is released.

I seems some have got it running already, would be nice to get hold of some pics. :)
Norsk Anime Forum
http://www.AnimeNord.com

Locked

Return to “[3.0.x] Abandoned MODs”