vb.org Archive

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

DementedMindz 04-19-2006 11:20 AM

Uncached templates: forumhome_vbtrends (1)
Uncached templates: forumhome_vbtrends_newmember_bit (5)

i didnt do the template edit i wonder if thats why?

Edit: never mind i fixed it... sorry and 100 % complaint nice work...

wizardan 04-19-2006 11:24 AM

Statistics now reflect accurate numbers.
*upgraded*:)

hambil 04-19-2006 11:37 AM

Updated again, now you can reset your counters if needed.

steven s 04-19-2006 11:52 AM

Quote:

Originally Posted by hambil
Updated again, now you can reset your counters if needed.

Sorry, but where?
I still only have 3 settings to change.

Thanks for all your hard work and support.

hambil 04-19-2006 11:55 AM

Quote:

Originally Posted by 1996 328ti
Sorry, but where?
I still only have 3 settings to change.

Thanks for all your hard work and support.

Make sure you upload all the files (there are new files).

Then you should see a new admincp menu.

Robru 04-19-2006 12:05 PM

Active Members: 0
Threads: 22,556, Deze maand: 2647 (394%)
Posts: 73,316, Deze maand: 7601 (329%)
Members: 815, Deze maand: 105 (450%)

Active Members: 0 !! How is that possible?

hambil 04-19-2006 12:07 PM

Quote:

Originally Posted by Robru
Active Members: 0
Threads: 22,556, Deze maand: 2647 (394%)
Posts: 73,316, Deze maand: 7601 (329%)
Members: 815, Deze maand: 105 (450%)

Active Members: 0 !! How is that possible?

This hack doesn't really do anything with active members. I bet if you disable it you'll still see Active Members: 0.

Robru 04-19-2006 12:12 PM

Thanks, I'll disabled it ... :)

hambil 04-19-2006 12:15 PM

Quote:

Originally Posted by Robru
Thanks, I'll disabled it ... :)

Actually, I was half wrong. The template I wrote wasn't respecting the $show['activemembers'] setting. Fixed now. Grab and reinstall over the existing one (make sure to set allow overwrite to yes on import).

steven s 04-19-2006 12:18 PM

Quote:

Originally Posted by hambil
Make sure you upload all the files (there are new files).

Then you should see a new admincp menu.

My bad. Sorry.
Looking better, thanks.
Now one last thing (for now)
How do I get rid of the previous settings area under vBulletin Options.

hambil 04-19-2006 12:20 PM

Quote:

Originally Posted by 1996 328ti
My bad. Sorry.
Looking better, thanks.
Now one last thing (for now)
How do I get rid of the previous settings area under vBulletin Options.

It doesn't work that way. The settings area under vBulletin Options is the correct place for a hack's settings. The settings choice I put on the admincp menu is just a short cut to the same screen you'd get if you went through vBulletin Options.

SweetHome 04-19-2006 12:29 PM

thanks

Robru 04-19-2006 12:32 PM

Quote:

Originally Posted by hambil
Actually, I was half wrong. The template I wrote wasn't respecting the $show['activemembers'] setting. Fixed now. Grab and reinstall over the existing one (make sure to set allow overwrite to yes on import).

Are you sure you updated the last one? I don't get the rule Active Members anymore with the last grab, en yes I allow overwrite on import ...

Threads: 22,556, This Month: 2647 (394%)
Posts: 73,321, This Month: 7606 (330%)
Members: 815, This Month: 105 (450%)

hambil 04-19-2006 01:21 PM

Quote:

Originally Posted by Robru
Are you sure you updated the last one? I don't get the rule Active Members anymore with the last grab, en yes I allow overwrite on import ...

Threads: 22,556, This Month: 2647 (394%)
Posts: 73,321, This Month: 7606 (330%)
Members: 815, This Month: 105 (450%)

Active members is a vBulletin feature, not part of my hack. All I do is respect the settings you set in vBulletin Options under "Forums Home Page Options".

bashy 04-19-2006 01:26 PM

Looks like its all working fine at Bashy's Place ;)
Cheers m8 great looking hack ya made..... Now why the dlckens is my arrows red :( pmsl...

Bashy's Place Statistics
Threads: 3,184, This Month: 439 (-21%)
Posts: 7,567, This Month: 807 (-40%)
Members: 572, This Month: 40 (-62%)
Welcome to our newest 5 members, huggybear, Sherlock Holmes, royallady, arbnuh, TheH1dden
Thanks to our latest contributing members:
Total VIP's: 11
Check out our latest addition to the arcade, Cub Shoot 3

snakes1100 04-19-2006 03:26 PM

bashy, what don't you have installed on your site.... :D

hotwheels 04-19-2006 03:57 PM

I just installed the program and it is working flawlessly.......I do have a question though, what are the %'s based on average wise? Monthly statistic's or a time since the board opened stats?

I had 40 new member's this month and it say's that i am
Quote:

Threads: 4,727, This Month: 235 (-53%)
Posts: 46,389, This Month: 1624 (-67%)
Members: 596, This Month: 40 (-35%)
Just curious

Gizmo5h1t3 04-19-2006 04:08 PM

it says in the initial post mate...i think its compared to the board AVERAGE number of threads and posts....

Quote:

Shows trends for posts, threads and new users - this month vs. the boards average.

hambil 04-19-2006 04:26 PM

Quote:

Originally Posted by Gizmo5h1t3
it says in the initial post mate...i think its compared to the board AVERAGE number of threads and posts....

It's also month to date. So it's comparing the months so far (through the 19th) against the board average for the first 19 days of the month. That's why it has to run the extended queries once a day.

rex_b 04-19-2006 04:58 PM

How does one alter the layout of the output. I have my stats in a small box on a sidebar and this current layout doesn't look right in my small box.

hambil 04-19-2006 04:59 PM

Quote:

Originally Posted by rex_b
How does one alter the layout of the output. I have my stats in a small box on a sidebar and this current layout doesn't look right in my small box.

There are two templates: forumhome_vbtrends and forumhome_vbtrends_newmembers_bit.

rex_b 04-19-2006 05:36 PM

OK I will see what I can come up with.. hehe

username12 04-20-2006 12:41 AM

Easy install, though I can't for the life of me figure out how the percentages work.

hambil 04-20-2006 01:23 AM

Quote:

Originally Posted by username12
Easy install, though I can't for the life of me figure out how the percentages work.

Let me give an example. Let's say you openned your board on Dec 20th. You current post count average would be:

(January 1st - 19th + February 1st - 19th + March 1st - 19th) / 3

Let's use some numbers to make it easier:
(50 + 210 + 315) / 3 = 191.67

Okay, so we have your boards "Month to date" post count average, now compare it to this month: April 1st - 19th - let's say we have 392 posts so far this month.
(392 / 191.67) * 100 = 205.23
Which we round to 205.

This number is the percentage of the orginial, not the percentage increase. In other words, 392 is 205% of 191, but we don't have a 205% increase, because 191 represents 100%. So, we do a tiny bit more math.
205 - 100 = 105%
Your board has an increase of 105% in posts over the average this month so far!

That's how it works.

Omranic 04-20-2006 02:56 AM

Quote:

Originally Posted by hambil
30 queries? What are you drinking?

I Drink water
& some times schweppes :)

as I said
30+ query

our server is down now
when it it up i'll shot the screen & let you see :D

:|

pspcrazy 04-20-2006 06:55 AM

anyway so that admins can only see this?

Omranic 04-20-2006 11:37 AM

Now see with your eyes :rolleyes:


without vbTrends 1.0.0 (product Enabled)
https://vborg.vbsupport.ru/


with vbTrends 1.0.0 (product Disabled)
https://vborg.vbsupport.ru/external/2006/04/11.gif

:banana:

what you say for that ?
41 Query

hambil 04-20-2006 11:39 AM

Quote:

Originally Posted by SolidSnake@GTI
Now see with your eyes :rolleyes:


without vbTrends 1.0.0 (product Enabled)
http://phpkd.com/vb/uploaded/2006/us...1145511338.gif


with vbTrends 1.0.0 (product Disabled)
http://phpkd.com/vb/uploaded/2006/us...1145511351.gif

:banana:

what you say for that ?
41 Query

Um, I say that's more than a bit odd. Is that the first run where it does the extra once a day queries, or every run?

I'd also say, upgrade ;)

Omranic 04-20-2006 01:46 PM

every run
every run
every run
:(

I'll Upgrade & see what will happen


------------------------

EDIT
after uninstalling the old version & installing the new one I Get 49 query for the first run & 46 Query every run

hambil 04-20-2006 02:24 PM

Quote:

Originally Posted by SolidSnake@GTI
every run
every run
every run
:(

I'll Upgrade & see what will happen


------------------------

EDIT
after uninstalling the old version & installing the new one I Get 49 query for the first run & 46 Query every run

I can assure you the hack only runs 5 queries. You have another hack that must have hooks into something I am doing.

Omranic 04-20-2006 07:24 PM

may be
but the stange thing is that this huge number of queries doesn't appear when vbtrends is disabled

while all other hacks are working fine with or without vbtrends & with only 9 quries @ forumhome

hambil 04-20-2006 07:25 PM

Quote:

Originally Posted by SolidSnake@GTI
may be
but the stange thing is that this huge number of queries doesn't appear when vbtrends is disabled

while all other hacks are working fine with or without vbtrends & with only 9 quries @ forumhome

Again, it's only a guess, but if one of the other hacks has a hook that is being triggered by something in my hack, that would explain it.

Omranic 04-20-2006 07:56 PM

Ok
I gave the hooks a look & found that nothing active @ forumhome_start / forumhome_complete / global_complete exept vbtrends

username12 04-20-2006 08:55 PM

I tried figuring it out mathematically but didn't get numbers resembling what I was getting. Granted, my board's been open for 7 years, but the oldest post is from 2004, so the numbers would be skewed regardless. I think I'll just leave the percentages out, though I like the numbers themselves.

hambil 04-20-2006 08:57 PM

Quote:

Originally Posted by username12
I tried figuring it out mathematically but didn't get numbers resembling what I was getting. Granted, my board's been open for 7 years, but the oldest post is from 2004, so the numbers would be skewed regardless. I think I'll just leave the percentages out, though I like the numbers themselves.

I will recheck my forumals.

hambil 04-20-2006 09:03 PM

Quote:

Originally Posted by SolidSnake@GTI
Ok
I gave the hooks a look & found that nothing active @ forumhome_start / forumhome_complete / global_complete exept vbtrends

There are only eight queries max in the hack. I've looked carefully and I can't see any way to ever get more then eight queries run with this hack. Something must be going on specific to your setup.

Morrighan256 04-20-2006 09:47 PM

For some reason, my birthdays and current events disappeared on the forum home when I did this. I didn't think I pasted over any code that wasn't supposed to be replaced, but is that what I did? I can't figure out what else it might be. The statistics show up fine, but the birthdays and calender events are gone.

http://www.cipher-wotr.com/forum/index.php

hambil 04-20-2006 09:55 PM

Quote:

Originally Posted by Morrighan256
For some reason, my birthdays and current events disappeared on the forum home when I did this. I didn't think I pasted over any code that wasn't supposed to be replaced, but is that what I did? I can't figure out what else it might be. The statistics show up fine, but the birthdays and calender events are gone.

http://www.cipher-wotr.com/forum/index.php

It's possible. You can check the template history to see what you changed.

Morrighan256 04-20-2006 10:06 PM

<a href="http://img.photobucket.com/albums/v619/Morrighan256/Image2.jpg" target="_blank">http://img.photobucket.com/albums/v6...256/Image2.jpg</a>

That's what I've got--I didn't paste over anything. Now I'm really confused.

hambil 04-20-2006 10:08 PM

Quote:

Originally Posted by Morrighan256
http://img.photobucket.com/albums/v6...256/Image2.jpg

That's what I've got--I didn't paste over anything. Now I'm really confused.

Something funny is going on. I'm looking into it :)


All times are GMT. The time now is 06:05 AM.

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.01363 seconds
  • Memory Usage 1,829KB
  • 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
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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