Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
AdminCP Top 10 Statistic Details »»
AdminCP Top 10 Statistic
Version: 1.00, by Atakan KOC Atakan KOC is offline
Developer Last Online: Mar 2023 Show Printable Version Email this Page

Version: 3.5.8 Rating:
Released: 04-01-2006 Last Update: Never Installs: 89
Uses Plugins
 
No support by the author.

AdminCP Top 10 Statistic


Go to your admin cp, then:
Plugin System -> Manage Products -> [Add/Import Product] -> Select 'product-7.xml' from your computer then press 'Import'

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 04-05-2006, 07:50 PM
Atakan KOC's Avatar
Atakan KOC Atakan KOC is offline
 
Join Date: Feb 2006
Location: Istanbul
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by digitalltv
my question is, how can see more than 10?
AdminCP ==> Plugin System ==> Plugin Manager ==>
"AdminCP Top Statistic 1" [Edit]

Find

PHP Code:
$kyeni $db->query_read("select * FROM " TABLE_PREFIX "user order by joindate DESC LIMIT 0,10"); 
Replace (XX) 10-50

PHP Code:
$kyeni $db->query_read("select * FROM " TABLE_PREFIX "user order by joindate DESC LIMIT 0,XX"); 
Find

PHP Code:
$kiyi $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " TABLE_PREFIX "user ORDER BY posts DESC LIMIT 0, 10"); 
Replace (XX) 10-50

PHP Code:
$kiyi $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " TABLE_PREFIX "user ORDER BY posts DESC LIMIT 0, XX"); 
Find

PHP Code:
$kkonu $db->query_read("select * FROM " TABLE_PREFIX "thread order by lastpost DESC LIMIT 0,10"); 
Replace (XX) 10-50

PHP Code:
$kkonu $db->query_read("select * FROM " TABLE_PREFIX "thread order by lastpost DESC LIMIT 0,XX"); 
Reply With Quote
  #13  
Old 04-12-2006, 11:22 AM
Mathiau's Avatar
Mathiau Mathiau is offline
 
Join Date: Jan 2002
Location: Costa Rica and toronto
Posts: 227
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack works also perfectly on VBB 3.5.3
Reply With Quote
  #14  
Old 04-12-2006, 11:31 AM
digitalltv digitalltv is offline
 
Join Date: Mar 2006
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Atakan KOC
AdminCP ==> Plugin System ==> Plugin Manager ==>
"AdminCP Top Statistic 1" [Edit]

Find

PHP Code:
$kyeni $db->query_read("select * FROM " TABLE_PREFIX "user order by joindate DESC LIMIT 0,10"); 
Replace (XX) 10-50

PHP Code:
$kyeni $db->query_read("select * FROM " TABLE_PREFIX "user order by joindate DESC LIMIT 0,XX"); 
Find

PHP Code:
$kiyi $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " TABLE_PREFIX "user ORDER BY posts DESC LIMIT 0, 10"); 
Replace (XX) 10-50

PHP Code:
$kiyi $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " TABLE_PREFIX "user ORDER BY posts DESC LIMIT 0, XX"); 
Find

PHP Code:
$kkonu $db->query_read("select * FROM " TABLE_PREFIX "thread order by lastpost DESC LIMIT 0,10"); 
Replace (XX) 10-50

PHP Code:
$kkonu $db->query_read("select * FROM " TABLE_PREFIX "thread order by lastpost DESC LIMIT 0,XX"); 
great work fine :banana:
Reply With Quote
  #15  
Old 04-19-2006, 09:28 PM
Atakan KOC's Avatar
Atakan KOC Atakan KOC is offline
 
Join Date: Feb 2006
Location: Istanbul
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice
Reply With Quote
  #16  
Old 04-21-2006, 01:16 AM
NR Fatal NR Fatal is offline
 
Join Date: Mar 2006
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works like a charm!
Reply With Quote
  #17  
Old 04-24-2006, 11:22 PM
abcmississauga abcmississauga is offline
 
Join Date: Dec 2005
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great thanks
Reply With Quote
  #18  
Old 04-24-2006, 11:35 PM
FLMom's Avatar
FLMom FLMom is offline
 
Join Date: Feb 2006
Location: Florida
Posts: 386
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to install this, but I can't... when I click on the xml file to install, this is what I get:

Code:
 <?xml version="1.0" encoding="ISO-8859-1" ?> 
- <product productid="7" active="1">
  <title>AdminCP Top 10 Statistic</title> 
  <description /> 
  <version>1.00</version> 
  <apm_releasedate>1143928800</apm_releasedate> 
  <apm_author>Atakan KOC</apm_author> 
  <apm_relatedurl /> 
  <apm_extrainfo /> 
  <apm_extraedit /> 
  <codes /> 
  <templates /> 
- <plugins>
- <plugin active="1">
  <title>AdminCP Top Statistic 1</title> 
  <hookname>admin_index_main1</hookname> 
- <phpcode>
- <![CDATA[ 
$kyeni = $db->query_read("select * FROM " . TABLE_PREFIX . "user order by joindate DESC LIMIT 0,10");

while ($kyeni2 = $db->fetch_array($kyeni))
{
$yeniler = $yeniler."<a href=\"user.php?do=edit&u=".$kyeni2[userid]."\">".$kyeni2[username]." </a>(".$kyeni2[posts].") <br />";
}


$kiyi = $db->query_read("SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM " . TABLE_PREFIX . "user ORDER BY posts DESC LIMIT 0, 10");

while ($kiyi2 = $db->fetch_array($kiyi))
{
$eniyiler = $eniyiler."<a href=\"user.php?do=edit&u=".$kiyi2[userid]."\">".$kiyi2[username]."  </a>(".$kiyi2[posts].") <br />";
}

$kkonu = $db->query_read("select * FROM " . TABLE_PREFIX . "thread order by lastpost DESC LIMIT 0,10");

while ($kkonu2 = $db->fetch_array($kkonu))
{
$ensonkonu = $ensonkonu."[<a href=\"../showthread.php?goto=newpost&t=".$kkonu2[threadid]."\" target=\"_blank\">*</a>] ".substr($kkonu2[title], 0, strrpos(substr($kkonu2[title], 0, 50), ' ')) . '...'."<br />";
}


print_table_start();
 print_table_header("AdminCP Top Statistic",3);

echo "<tr align=\"left\" valign=\"top\"> <td class=\"thead\">Newest Members</td><td class=\"thead\">Top Members</td><td class=\"thead\">Latest Replies</td></tr>";


echo "<tr><td class=\"alt1\">$yeniler</td><td class=\"alt2\">$eniyiler</td><td class=\"alt1\">$ensonkonu</td></tr>";

 print_table_footer(2, '', '', 0);

  ]]> 
  </phpcode>
  </plugin>
  </plugins>
  <phrases /> 
  <options /> 
  </product>
How can I get this to my computer so I can upload this to my site?
Reply With Quote
  #19  
Old 06-07-2006, 06:44 PM
T?RKMEN T?RKMEN is offline
 
Join Date: Jan 2005
Location: Turkey
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice, thank you
Reply With Quote
  #20  
Old 06-09-2006, 09:35 PM
Wired1's Avatar
Wired1 Wired1 is offline
 
Join Date: Nov 2003
Location: Orlando, FL, USA
Posts: 1,361
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FLMom
I want to install this, but I can't... when I click on the xml file to install, this is what I get:


How can I get this to my computer so I can upload this to my site?
PLEASE read the MANUAL!

Importing / Installing a Product
Reply With Quote
  #21  
Old 06-09-2006, 09:36 PM
ericgtr's Avatar
ericgtr ericgtr is offline
 
Join Date: Apr 2003
Location: Portland, Oregon
Posts: 1,407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FLMom, right click on the .xml file and do a "Save As" and you can save it that way.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:51 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.06634 seconds
  • Memory Usage 2,328KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (12)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete