Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Module CMPS: Top Posters Details »»
Module CMPS: Top Posters
Version: 1.2, by Zachariah Zachariah is offline
Developer Last Online: Jan 2020 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-22-2005 Last Update: 12-15-2005 Installs: 97
Template Edits
Additional Files Is in Beta Stage  
No support by the author.

Top Posters on your 2.0 CMPS.

/* -----------------10/22/2005 7:52pm-----------------
Hope it helps !!! Zachariah @ http://www.gzhq.net

1 Query Added to page.

DEMO

================================================== =====
Tested on:
vBulletin 3.5.0
vBadvanced CMPS v2.0.0 (vB 3.5)
================================================== =====

-------------------------------------------------------*/

*** How to Use:
================================================== =====
Edit top_posters.php
===============
$limit = 20; / # of users to view.

Save.



Error LOG
----------
1.2
Ok, last time I hope.

~ fixed templates to work in firefox
~ fixed php file.

Upgrade
- Import XML product
- edit top_posters.php / $limit = 20; - Upload

1.1
- Changed Module Identifier:gallery_image to top_poster
(Duh! you know what was on my mind ~ very little ha!)


Click Install for updates.

Show Your Support

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

Comments
  #12  
Old 10-23-2005, 12:12 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks clicked install.
Reply With Quote
  #13  
Old 10-23-2005, 02:54 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Error LOG
----------

1.1
- Changed Module Identifier:gallery_image to top_poster
(Duh! you know what was on my mind ~ very little ha!)

To update delete the module and recreate with new info from the install.txt thats it.
Reply With Quote
  #14  
Old 10-23-2005, 03:35 PM
HansMuenchen HansMuenchen is offline
 
Join Date: May 2005
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachariah
Error LOG
----------

1.1
- Changed Module Identifier:gallery_image to top_poster
(Duh! you know what was on my mind ~ very little ha!)

To update delete the module and recreate with new info from the install.txt thats it.
Hi,

that also don't work at me I did the changes but without result.
Also my other modules will go down if I use it with the option: use shell.
See Picture 1 and if I say : don't use shell it looks normal but in both pictures u see, that no top posters are into the module

Greetings
Hans
Reply With Quote
  #15  
Old 10-23-2005, 04:00 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HansMuenchen
Hi,

that also don't work at me I did the changes but without result.
Also my other modules will go down if I use it with the option: use shell.
See Picture 1 and if I say : don't use shell it looks normal but in both pictures u see, that no top posters are into the module

Greetings
Hans
Ill poke through the code, keep the errors comming -

We will smash them - :bunny:
Reply With Quote
  #16  
Old 10-23-2005, 04:02 PM
Wachtmeister's Avatar
Wachtmeister Wachtmeister is offline
 
Join Date: Apr 2004
Location: West-Berlin, Germany
Posts: 190
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

when visiting http://www.webgurus.de/ you will notice a small display error into the top posters box.

<li> is not allowed in <td> and firefox handles this other then IE. IE displays it "correct", firefox displays the "discs" outsite of the box.
Reply With Quote
  #17  
Old 10-23-2005, 04:06 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Wachtmeister
Hello,

when visiting http://www.webgurus.de/ you will notice a small display error into the top posters box.

<li> is not allowed in <td> and firefox handles this other then IE. IE displays it "correct", firefox displays the "discs" outsite of the box.
Ya I forgot , new updates soon.
Reply With Quote
  #18  
Old 10-23-2005, 04:55 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Error LOG
----------
1.2
Ok, last time I hope.

~ fixed templates to work in firefox
~ fixed php file.

Upgrade
- Import XML product
- edit top_posters.php / $limit = 20; - Upload
Reply With Quote
  #19  
Old 10-23-2005, 04:57 PM
HansMuenchen HansMuenchen is offline
 
Join Date: May 2005
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachariah
Error LOG
----------
1.2
Ok, last time I hope.

~ fixed templates to work in firefox
~ fixed php file.

Upgrade
- Import XML product
- edit top_posters.php / $limit = 20; - Upload
The only result after update you can see in the screenshot!
Forgotten I also use the firefox!
But in IE it's the same

No display of the top users!

Greetings
Hans
Reply With Quote
  #20  
Old 10-23-2005, 05:01 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HansMuenchen
The only result after update you can see in the screenshot!
Forgotten I also use the firefox!
But in IE it's the same

No display of the top users!

Greetings
Hans
Just installed - ver.1.2 show 10 only
re-download and upload the php file ... My upload was trashed. ISP is freaking out.
Reply With Quote
  #21  
Old 10-23-2005, 05:25 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachariah
Just installed - ver.1.2 show 10 only
re-download and upload the php file ... My upload was trashed. ISP is freaking out.


Ok.
I have had a few different outputs.
People that have problems w/ the data filling the table.

Beta Testers Please.
top_posters.php

Code:
<?php

$limit = 20;

// ### TOP STATS ########################################

$top_stats = array();
// TOP POSTERS
$top_posters = $db->query("SELECT * FROM ".TABLE_PREFIX."user ORDER BY posts DESC LIMIT $limit");
while($top_poster = $db->fetch_array($top_posters))
{
//eval('$top_stats .= "' . fetch_template('adv_portal_topposters_bit') . '";');
eval('$top_stats[\'adv_portal_topposters_bit\'] .= "' . fetch_template('adv_portal_topposters_bit') . '";');
}
unset($top_poster);
$db->free_result($top_posters);
eval('$home[$mods[\'modid\']][\'content\'] = "' . fetch_template('adv_portal_topposters') . '";');
//eval('$home["$mods[modid]"][\'content\'] = "' . fetch_template('adv_portal_topposters') . '";');
?>

Pair 1
Code:
//eval('$top_stats .= "' . fetch_template('adv_portal_topposters_bit') . '";');
eval('$top_stats[\'adv_portal_topposters_bit\'] .= "' . fetch_template('adv_portal_topposters_bit') . '";');
Pair 2
Code:
eval('$home[$mods[\'modid\']][\'content\'] = "' . fetch_template('adv_portal_topposters') . '";');
//eval('$home["$mods[modid]"][\'content\'] = "' . fetch_template('adv_portal_topposters') . '";');
If you HASH one, Unhash the other. (I think I am mixing CMPS ver.)
Use this in your PHP file and give me some results.

?!?!? Tested on:
EX:
vBulletin 3.5.0
vBadvanced CMPS v2.0.0 (vB 3.5)
Top Posters on your 2.0 CMPS 1.2
Reply With Quote
Reply


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 02:02 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04583 seconds
  • Memory Usage 2,319KB
  • 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
  • (3)bbcode_code
  • (6)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
  • (3)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