vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Statistics Modifications - vbTrends - An Enhanced Statistics Box on Forum Home (https://vborg.vbsupport.ru/showthread.php?t=143001)

hambil 03-27-2007 03:40 PM

Quote:

Originally Posted by ymy (Post 1213671)
Hi

I am Installed . but no percentage all (0%) (0%) (0%)

any help

thanks

Sounds like maybe a plug in conflict? Check and make sure vbTrends is the first plugin on the forum_complete hook.

ymy 03-27-2007 04:24 PM

Quote:

Originally Posted by hambil (Post 1213673)
Sounds like maybe a plug in conflict? Check and make sure vbTrends is the first plugin on the forum_complete hook.

Thanks a lot hambil

Yes it`s working

(86%) (62%) (234%)

excellent

ymy

spazz191 03-27-2007 06:54 PM

Quote:

Originally Posted by hambil (Post 1213672)
I have ibProArcade installed on my site along with this hack, and have no issues...

what version of ibp are you using?

hambil 03-27-2007 06:57 PM

Quote:

Originally Posted by spazz191 (Post 1213819)
what version of ibp are you using?

ibProArcade v2.6.1+

spazz191 03-27-2007 07:24 PM

Quote:

Originally Posted by hambil (Post 1213823)
ibProArcade v2.6.1+

I just upgraded to that to see if it resolved my issue and it didn't. The issue I am having is, I have my arcade set up as a link in the forums.
When I have vBTrend turned off or uninstalled I can click on the link http://sitename/forums/arcade.php for example and takes me to my arcade.

when I turn it on, it changes the link to http://sitename/forums/arcade/ and brings me to a paypal page to buy ibpro. I even changed the link to match the new one but it still does not work.

RedGTiVR6 03-27-2007 08:10 PM

installed per the instructions and everything works fine thus far!

spazz191 03-28-2007 12:03 AM

Quote:

Originally Posted by spazz191 (Post 1213849)
I just upgraded to that to see if it resolved my issue and it didn't. The issue I am having is, I have my arcade set up as a link in the forums.
When I have vBTrend turned off or uninstalled I can click on the link http://sitename/forums/arcade.php for example and takes me to my arcade.

when I turn it on, it changes the link to http://sitename/forums/arcade/ and brings me to a paypal page to buy ibpro. I even changed the link to match the new one but it still does not work.


I believe I need to do something with vBSEO. I disabled it and everything works fine. Any suggestions.

hambil 03-28-2007 12:05 AM

I've never used vBSEO. It's odd that it would cause a conflict with my hack - especially the type of conflict you are mentioning (affecting the redirect link for a forum).

I'd love to look into this on your board if you are willing to let me have privileges temporarily.

spazz191 03-28-2007 12:22 AM

Quote:

Originally Posted by hambil (Post 1214109)
I've never used vBSEO. It's odd that it would cause a conflict with my hack - especially the type of conflict you are mentioning (affecting the redirect link for a forum).

I'd love to look into this on your board if you are willing to let me have privileges temporarily.

All set, check your PM on my forum. I also turned on your hack so you can see what it does to the arcade link

shaynehammy 03-28-2007 05:48 AM

This is a great hack and could go places with more options. Keep it up.

kewl1uk 04-01-2007 11:29 AM

Problems with this after uninstalling 1.1.3 and installing 1.2.5:

Upgraded late last night and shows the percentage of active members but 0% for all the other stats. Uninstalling 1.2.5 and installing 1.1.3 doesn't work now either but worked before. Could it be because it's the start of the month?

Problems with the newest member: I have the newest member listed in a side bar on forumhome using the default vb code but the newest member is not listed there. The one that is listed is always the last to be listed in the vbtrends stats which is of course not the newest member - the first to be listed in vbtrends is the newest member. The only way to get the newest member listed in the side bar is to enable only 1 newest member in the vbtrends stats.

hambil 04-01-2007 11:32 AM

Quote:

Originally Posted by kewl1uk (Post 1217414)
Problems with this after uninstalling 1.1.3 and installing 1.2.5:

Upgraded late last night and shows the percentage of active members but 0% for all the other stats. Uninstalling 1.2.5 and installing 1.1.3 doesn't work now either but worked before. Could it be because it's the start of the month?

Since the product was recoded and re-released last month, this is the first real test of it crossing the month barrier. There does appear to be some sort of problem. Hopefully I will have it fixed today and a bug release up.

Quote:

Problems with the newest member: I have the newest member listed in a side bar on forumhome using the default vb code but the newest member is not listed there. The one that is listed is always the last to be listed in the vbtrends stats which is of course not the newest member - the first to be listed in vbtrends is the newest member. The only way to get the newest member listed in the side bar is to enable only 1 newest member in the vbtrends stats.
This is a known issue, and will be fixed in the next bug release, thanks :)

kewl1uk 04-01-2007 11:41 AM

Quote:

Originally Posted by hambil (Post 1217415)
Since the product was recoded and re-released last month, this is the first real test of it crossing the month barrier. There does appear to be some sort of problem. Hopefully I will have it fixed today and a bug release up.


This is a known issue, and will be fixed in the next bug release, thanks :)

Ok thank you. Great Mod btw

ericgray 04-01-2007 07:12 PM

it's the first of the month, and everything says -100% and -99%

this is not cool -- :|

and disabling the negative stats nukes the display overall -- :|

can't disabling the negative stats just disable the negative part, not the whole stat?

ericgray 04-01-2007 07:15 PM

also, why not have a trailing last 30,60,90 days, etc, not just the current month?

it's somewhat a useless stat today, the first -- :|

Doctor Death 04-01-2007 08:34 PM

Quote:

Originally Posted by ericgray (Post 1217744)
also, why not have a trailing last 30,60,90 days, etc, not just the current month?

it's somewhat a useless stat today, the first -- :|


Concur... a running window of stats?

Great mod.

Terminatoronly 04-02-2007 04:19 PM

Happy for this release since i really did wait for this mod to be for vb 3.6.4 :D

Thanks Alot for the coder ;)

hambil 04-02-2007 04:25 PM

Well, it's supposed to compare posts, joins, threads month to date. So, the numbers should never be that small. In other words - the first day of the month compared to the average first day of the month for all other months (or x number of months based on your admincp settings).

However, I think there is a bug I'm trying to locate at the moment that might be throwing off the numbers.

All that said, the only way I can see to 'soften' the stats, would be to expand the compare window. e.g. the last 24 hours vs. the average for the last x months. That might help some.

kewl1uk 04-03-2007 05:57 PM

Mine is just the opposite and I'm not sure whether they are right because they seem high to me:

Threads: 9,012, This Month: 70 up (77%)
Posts: 188,969, This Month: 1293 up (68%)
Members: 1,777, This Month: 8 up (4%)

I'm comparing the current with the last 12 months entered into the options in the Admin CP.

I installed 1.2.5 after uninstalling 1.1.3 just before midnight on April 1st and got 0% for all three stats. But on April 2nd the stats had recovered. Personally, I think it has something to do with the datastore cache causing the problems.

hambil 04-03-2007 06:50 PM

Quote:

Originally Posted by kewl1uk (Post 1219202)
I think it has something to do with the datastore cache causing the problems.

I think you are right. I just uploaded 1.2.6 which updates the build datastore call to use the new vb3.6 parameters. Hopefully that will fix things. Remember to reset your counters for vbTrends from its admincp options.

Staxed 04-04-2007 10:15 AM

can you alter this, or upload another version that will make this change to the vbadvanced stats template? I would like to use this but I only use the vba stats module (i have a vba column on all pages)

...i don't have this info in my forumhome template...

just let me know if you will do this or not, if not I'll play around with it myself and make it work.

hambil 04-04-2007 11:59 AM

Quote:

Originally Posted by Irisfire (Post 1219559)
can you alter this, or upload another version that will make this change to the vbadvanced stats template? I would like to use this but I only use the vba stats module (i have a vba column on all pages)

...i don't have this info in my forumhome template...

just let me know if you will do this or not, if not I'll play around with it myself and make it work.

I will add vbAdvanced support to the list, but it may not get done for a while. So it all depends on how long you want to wait :)

Staxed 04-04-2007 02:31 PM

alrighty then,

i'll work on it sometime this weekend probably...and when I get it working I'll send you the code :)

hambil 04-04-2007 02:45 PM

Quote:

Originally Posted by Irisfire (Post 1219694)
alrighty then,

i'll work on it sometime this weekend probably...and when I get it working I'll send you the code :)

That would be much appreciated, thanks :)

djjeffa 04-07-2007 11:14 PM

what happend when you reset the counter?
all my stats were up like 75% now there all down like 50% as of the beginning of this month.

hambil 04-08-2007 09:23 AM

Everytime the code runs it checks the datastore. If nothing is in the datastore, or the day in the datestore doens't match the current day, it re-runs the calculations for monthly averages. All resetting the counters does it delete the datastore entry, thus forcing a re-run of monthly stats.

mcyates 04-08-2007 12:04 PM

Quote:

Originally Posted by Blackhat (Post 1211320)
looks like this makes mysql use way to much server resources for a large site like mine :P

yeah this slows down my site also, i've uninstalled it.

ericgray 04-09-2007 01:48 PM

I just uninstalled this --

-- the stats just don't make any sense -- 500%, 600%, etc -- :(

and also, there's too much muddle at the bottom of the page, with no bold, etc. of the real stats, with this stuff unbolded --

-- i'll check back in the future to see if it's tidied up at all -- :D

eric

wolfe 04-09-2007 04:12 PM

Quote:

Originally Posted by ericgray (Post 1223291)
I just uninstalled this --

-- the stats just don't make any sense -- 500%, 600%, etc -- :(

and also, there's too much muddle at the bottom of the page, with no bold, etc. of the real stats, with this stuff unbolded --

-- i'll check back in the future to see if it's tidied up at all -- :D

eric

why dont you tidy it up yourself by editing the forumhome_vbtrends template

also m8 getting mysql error on cron job ? anyone else getting this problem.

hambil 04-09-2007 09:25 PM

There seems to be a lot of ongoing concern/criticism of the calculations used and the stats displayed. I've decided the best way to deal with this, since I can never make everyone happy, is to expose them to the end user to tweak.

I will be releasing a version soon that uses a short hand in the admincp settings to set the calculations to anything you want (within reason). The short hand in the admincp settings will be something like: Posts: ($current / $avg) * 100. Any mathematical expression will be allowed.

In addition it will include a few new hooks, for those with real ambition to put in there own php code to get monthly averages, and do the final percentage calculations. The hack will use these hooks itself, to provide an example to modify.

I'll also be adding some options for display formating for those who don't want to modify the template yet want to make some minor style changes.

ETA: Late tonight, early tomorrow (Pacific Standard Time).

djjeffa 04-09-2007 11:52 PM

Quote:

Originally Posted by mcyates (Post 1222618)
yeah this slows down my site also, i've uninstalled it.

anybody else have this problem

hambil 04-09-2007 11:55 PM

It should not have much of an impact on the load times, but, I think I have a solution for this that will also be in this upcoming release. Right now, the stats are realtime. Meaning - every post effects them as soon as someone refreshes. This adds a couple queries to forum home.

I'm putting in a 'delayed' options, where you can set the number of minutes. If set to 0 it's basically the same as realtime. However, if set to 10 for example, then the trends data would only change every ten minutes, and use much less resources.

tobias_t 04-10-2007 10:14 AM

The problem I am having with this is, if I choose to only display positive trends, it doesn't even show the absolute numbers for threads, members, posts unless the trends for them are positive, which is effectively crippling the display. Is that a bug on my end or just how this mod works?

Also, it would be very helpful having the option to limit viewing rights of the trend numbers to a certain user group. Any easy code change that would make this possible?

Thanks, Tobias

hambil 04-10-2007 01:16 PM

Quote:

Originally Posted by tobias_t (Post 1224045)
The problem I am having with this is, if I choose to only display positive trends, it doesn't even show the absolute numbers for threads, members, posts unless the trends for them are positive, which is effectively crippling the display. Is that a bug on my end or just how this mod works?

Also, it would be very helpful having the option to limit viewing rights of the trend numbers to a certain user group. Any easy code change that would make this possible?

Thanks, Tobias

Hmmm, I guess it's a bug now that I think about it. A template fix anyway. I'll add it to the upcoming release. Group permissions is a good idea too, I'll add that.

hambil 04-11-2007 03:43 AM

The latest update is complete as promised. I hope you enjoy and it solves the problems some of you are having.

voteforbird 04-11-2007 04:24 AM

Hmm… After updating to the latest one, nothing's showing: http://www.volconvo.com

Deadly Assassin 04-11-2007 04:27 AM

Installed Thanks

Just a few things..

1. The newest member in the stats is not actually the last member to join up, will this update?

2. The % has no number next to it, will this update aswell?

3. In the forumhome template for this, how do i change the colours and make the 'Active member' bold etc...
I am a bit of a newbie a this so any help would be appreciated.

Great hack though :up:

hambil 04-11-2007 05:04 AM

Quote:

Originally Posted by voteforbird (Post 1224697)
Hmm? After updating to the latest one, nothing's showing: http://www.volconvo.com

You're using a custom template, so it autoreplace likely isn't working. Turn it off in the admincp options for vbtrends, and make the manual template edits as suggested in the install.htm file.

hambil 04-11-2007 05:06 AM

Quote:

Originally Posted by Deadly Assassin (Post 1224700)
Installed Thanks

Just a few things..

1. The newest member in the stats is not actually the last member to join up, will this update?

2. The % has no number next to it, will this update aswell?

3. In the forumhome template for this, how do i change the colours and make the 'Active member' bold etc...
I am a bit of a newbie a this so any help would be appreciated.

Great hack though :up:

I can't tell by looking at the forum. I'll need an admin login. If you are okay with that then send my a pm.

loonytune15 04-11-2007 06:58 AM

Can you repost v1.2.6?

I dont particularly want to swich to the beta until its no longer a beta. And I missed the 1.2.6 update :(


All times are GMT. The time now is 01:31 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01622 seconds
  • Memory Usage 1,841KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete