vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Statistics Modifications - Cyb - Top Posters In Month X (https://vborg.vbsupport.ru/showthread.php?t=133564)

Valter 12-08-2006 10:00 PM

Cyb - Top Posters In Month X
 
vB 3.7 VERSION HERE:
https://vborg.vbsupport.ru/showthread.php?t=177963


===

Info:
Top posters statistics for any single month


Installation:
Import XML file (as product) through AdminCP: Plugin System > Manage Products > [Add/Import Product]


To set options go to:
vBulletin Options > Cyb - Top Posters In Month X


Versions:
v1.0 - Dec 09. 2006.
-Initial release
v1.1 - Mar 07. 2007.
-Text fields changed to menus
-Guests automatically excluded from stats
-Updated query for better compatibility with different servers
-Updated ACP settings to allow you to list available years and number of results in menus
v1.2 - May 01. 2007.
-Bug fix (post count in current month bigger than total post count for some users)
-Improved compatibility with right-to-left styles
-Some code optimizations
v1.3 - Aug 05. 2007.
-Added page navigation
-Added option to view top posters in whole year
-Added option to exclude users from stats
-Added option to exclude forums from counts
-Group membership checking works now for supplementary usergroups too
v1.4 - Aug 06. 2007.
-Fixed bug where guest posts are counted and shown as blank line in stats
-Page navigation also shown at the bottom of the page
v1.5 - Sep 15. 2007.
-Another "unknown poster" bug fix
-Fixed bug where month is switched to current one on page select
-Easier to set years (set starting year only, others are generated automatically)
-Several minor bug fixes...


Click INSTALL if you like this hack.

farooqaaa 12-09-2006 09:17 AM

Ahh nice one Cyber!!!

I really love it :).

First to click *install.

Snake 12-09-2006 09:35 AM

Very nice! :)

shadowevil 12-09-2006 10:34 AM

mod nice ... i like it ....

shadowevil click *installed*

projectego 12-09-2006 10:45 AM

Installed! :)

Artificial_Alex 12-09-2006 10:46 AM

gj -installs-

nedo_a 12-09-2006 12:40 PM

i get this message

Not Found

The requested URL /misc.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Kihon Kata 12-09-2006 01:43 PM

Installs!! One problem, it shows all my moderators/supers/jr. admins that I excluded in the admin panel.

help?

Queball_Beast 12-09-2006 03:42 PM

To think I was just searching the forum for something like this, and just as I gave up, went back to vb.org home, then I found this lol awesome and right on time.

"Clicks install"

HPIA 12-09-2006 04:08 PM

Can I have the url to a demo?

Valter 12-09-2006 04:27 PM

Live demo here:
http://www.bihforum.com/misc.php?do=cybtpimx

It's in Bosnian but you can see all you need.


Kihon,

Be sure you have put right usergroup IDs and separated them with ','.

Quantnet 12-09-2006 04:37 PM

very nice. Installed.

It would be nicer if the month and year box have drop down menu instead of typing in. Just a suggestion

lovelypk 12-09-2006 06:23 PM

cool. Installed.

Kihon Kata 12-10-2006 01:32 PM

of course. This was an easy hack to understand and I thought I understood it correctly.

http://www.makeuptalk.com/images/temp/test1.jpg

http://www.makeuptalk.com/images/temp/test2.jpg

Many of my my moderators and admins are on that page

Not working

Quote:

Originally Posted by Cybernetec (Post 1135229)
Kihon,

Be sure you have put right usergroup IDs and separated them with ','.


Valter 12-11-2006 10:28 AM

Hi Kihon,

Screenshot 2 has nothing with my hack.
As I can see at the bottom of the table on screenshot it's some Paul M's hack.

To access top posters in month x page you need to point your browser to FORUMS/misc.php?do=cybtpimx

Kihon Kata 12-11-2006 12:44 PM

Quote:

Originally Posted by Cybernetec (Post 1136248)
Hi Kihon,

Screenshot 2 has nothing with my hack.
As I can see at the bottom of the table on screenshot it's some Paul M's hack.

To access top posters in month x page you need to point your browser to FORUMS/misc.php?do=cybtpimx

LMAO! You're right. OMG. Sorry! Looking/working good now.

zethon 12-15-2006 07:24 PM

I changed the following query:
PHP Code:

            $cub_tpim_get $vbulletin->db->query_read_slave("
                SELECT COUNT(post.dateline) AS cybpcount, post.userid, user.username, user.usergroupid, post.visible, user.posts, user.joindate
                FROM " 
TABLE_PREFIX "post AS post
                LEFT JOIN " 
TABLE_PREFIX "user AS user ON (post.userid = user.userid)
                WHERE post.visible = '1' AND post.dateline > 
$fromtime AND post.dateline < $totime $cybexclgroups
                GROUP BY userid
                ORDER BY cybpcount
                DESC LIMIT 
$nrofresults
            "
); 

I changed it to:

Quote:

WHERE post.visible = '1' AND post.dateline > $fromtime AND post.dateline < $totime $cybexclgroups AND post.userid != 0
I allow some Guest posts. These were being included in the original script with blank usernames. This took care of the problem.

Quantnet 12-16-2006 10:06 AM

Thanks Mike-D
Works great

hoopsta 12-31-2006 09:06 PM

what is the actual url to find this info? I have a custom template with no drop-down box

Terminatoronly 01-01-2007 01:03 PM

thanks for releasing this hack i need it much :D installed and nominated for mod of the month :D

Valter 01-01-2007 04:22 PM

Quote:

Originally Posted by hoopsta (Post 1148256)
what is the actual url to find this info? I have a custom template with no drop-down box

YourForum/misc.php?do=cybtpimx

Mecho 01-02-2007 09:13 PM

Thanks .. Installed

Danny Diamond 01-03-2007 12:21 AM

installed. Very cool and couldn't be easier. I added it to my navbar.

MTVSlick 02-11-2007 03:29 PM

how can i move this top stats window to the bottom of my forums?

Mark,

PinkDaisy 02-11-2007 06:29 PM

great hack! Thanks.. :)

MTVSlick 02-21-2007 01:19 AM

thank you

Mark,

GrendelKhan{TSU 02-21-2007 06:36 AM

simple goodness. thanks!

< clicks installed :)

quachvu 02-27-2007 08:22 AM

can you make a script to count top threads poster in specific forum box each month? because i need to know how many threads each member has written in specific forum in each month. thanks

Gizmo5h1t3 03-01-2007 04:11 PM

gettin this error on mine when i click on the text in navbar dropdown??

Quote:

Fatal error: Call to undefined function: query_read_slave() in /home/*******/public_html/forum/misc.php(98) : eval()'d code on line 53

Mecho 03-01-2007 06:40 PM

i have a problem today in Stats ( check the attachment )

my site was opened in 2006 :D this Ghost User registered in 1970 ... :D any idea ?

Valter 03-07-2007 11:20 AM

v1.1 - Mar 07. 2007.
-Text fields changed to menus
-Guests automatically excluded from stats
-Updated query for better compatibility with different servers
-Updated ACP settings to allow you to list available years and number of results in menus

To upgrade:
-Import product XML, allow overwrite.
-Revert hack's templates if any modified.

Valter 03-07-2007 09:16 PM

Quote:

Originally Posted by Quantnet.org (Post 1135240)
very nice. Installed.

It would be nicer if the month and year box have drop down menu instead of typing in. Just a suggestion

Changed in last version. I've also added some code which improves basic menu functionality. This shows current month by default and doesn't reset after page update.

Quote:

Originally Posted by Gizmo5h1t3 (Post 1193464)
gettin this error on mine when i click on the text in navbar dropdown??

Fixed in v1.1.

Quote:

Originally Posted by Mecho (Post 1193557)
my site was opened in 2006 :D this Ghost User registered in 1970 ... :D any idea ?

I guess that's guest's posts. Fixed also in v1.1.

cunder 03-10-2007 02:12 PM

Hello

I cannot find the link in the drop-down box :confused:
Must you put the YourForum/misc.php?do=cybtpimx self in the link drop-down box

if so, how you must do that :)
thanks

cunder 03-11-2007 07:28 AM

Quote:

Originally Posted by cunder (Post 1200222)
Hello

I cannot find the link in the drop-down box :confused:
Must you put the YourForum/misc.php?do=cybtpimx self in the link drop-down box

if so, how you must do that :)
thanks

HELP [bump]:(

Valter 03-12-2007 07:08 AM

Quote:

Originally Posted by cunder (Post 1200222)
Hello

I cannot find the link in the drop-down box :confused:
Must you put the YourForum/misc.php?do=cybtpimx self in the link drop-down box

if so, how you must do that :)
thanks

Copy/paste content of your navbar template here (or by PMs)...

quachvu 03-12-2007 08:52 AM

can you make a script to count top threads poster in specific forum box each month? because i need to know how many threads each member has written in specific forum in each month. thanks

MeMySelfNi 03-18-2007 01:25 AM

i would love to add this to my site...but i have idiots who would freepost their way to the top of that list...

ohgenki 03-28-2007 02:20 AM

can we have one for threads and thanked posts as well? :(

milsirhc 03-28-2007 12:42 PM

can we put this in the side bar?

Mudvayne 04-07-2007 03:58 AM

Installed :).


All times are GMT. The time now is 06:25 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.01308 seconds
  • Memory Usage 1,817KB
  • 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
  • (1)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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