vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Module CMPS: Top Posters (https://vborg.vbsupport.ru/showthread.php?t=99069)

Snake 10-23-2005 12:12 PM

Thanks clicked install.

Zachariah 10-23-2005 02:54 PM

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.

HansMuenchen 10-23-2005 03:35 PM

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

Zachariah 10-23-2005 04:00 PM

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

We will smash them - :bunny:

Wachtmeister 10-23-2005 04:02 PM

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.

Zachariah 10-23-2005 04:06 PM

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 :o , new updates soon.

Zachariah 10-23-2005 04:55 PM

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

HansMuenchen 10-23-2005 04:57 PM

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

Zachariah 10-23-2005 05:01 PM

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.

Zachariah 10-23-2005 05:25 PM

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


All times are GMT. The time now is 12:07 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.01127 seconds
  • Memory Usage 1,749KB
  • 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
  • (3)bbcode_code_printable
  • (6)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