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-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


All times are GMT. The time now is 05:09 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.01097 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)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
  • (10)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