vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=139)
-   -   [Release] Top10 Status (https://vborg.vbsupport.ru/showthread.php?t=86044)

imported_subu1 04-20-2003 02:50 PM

ok, now i am as normaly user on my Board, but i see this private Forum, although this is a private Forum (bibi)

its my Germanboard :)

you know war i mean :(

imported_subu1 04-20-2003 02:51 PM

ups i forgot my Pic :)

edit: ups where is my attachment :confused:

imported_subu1 04-22-2003 08:56 AM

oh my gott, i am verryyyyy stupid, i forgot to put this in phpinclude

PHP Code:

// STATISTICS V2 (NanoEntity)?hololith.com 
$statusexclude "75,94,110,76,77,104,80,79,6,99,112,4"// What forums should we exclude/hide from INDEX.PHP? EXAMPLE: "1,106,78,910".
$statuslimit "10"// What limit should we set for INDEX.PHP?

// POSTERS 
$hl_posters $DB_site->query("SELECT userid,username,posts FROM user ORDER BY posts DESC LIMIT $statuslimit");
while (
$hl_poster $DB_site->fetch_array($hl_posters)) {
    
$hl_postername .= "<a href=\"member.php?s=$session[sessionhash]&action=getinfo&userid=$hl_poster[userid]\" title=\"View profile for $hl_poster[username]\">$hl_poster[username]</a><br>";
    
$hl_posterposts .= "$hl_poster[posts]<br>";
}
// /POSTERS 

// MEMBERS 
$hl_members $DB_site->query("SELECT userid,posts,username,joindate FROM user ORDER BY joindate DESC LIMIT $statuslimit");
while (
$hl_member $DB_site->fetch_array($hl_members)) {
    
$hl_membername .= "<a href=\"member.php?s=$session[sessionhash]&action=getinfo&userid=$hl_member[userid]\" title=\"View profile for $hl_member[username]\">$hl_member[username]</a><br>";
    
$hl_memberposts .= "$hl_member[posts]<br>";
}
// /MEMBERS 

// REPLIES 
$hl_replies $DB_site->query("SELECT thread.replycount,thread.threadid,thread.lastpost,thread.lastposter,thread.views,thread.title,user.userid FROM thread LEFT JOIN user ON (user.username=thread.lastposter) WHERE forumid NOT IN($statusexclude) ORDER BY lastpost DESC LIMIT $statuslimit");
while (
$hl_reply $DB_site->fetch_array($hl_replies)) {
    
$hl_replytitle2=unhtmlspecialchars($hl_reply['title']);
    
$hl_replytitle=iif(strlen($hl_replytitle2)>22,substr($hl_replytitle2,0,17)."..".substr($hl_replytitle2,-10),$hl_replytitle2);
    
    
$hl_replythread .= "<i>[$hl_reply[replycount]]</i> <a href=\"showthread.php?s=$session[sessionhash]&threadid=$hl_reply[threadid]\" title=\"$hl_replytitle2\">$hl_replytitle</a><br>";
    
$hl_replyposter .= "<a href=\"member.php?s=$session[sessionhash]&action=getinfo&userid=$hl_reply[userid]\" title=\"View profile for $hl_reply[lastposter]\">$hl_reply[lastposter]</a><br>";
    
$hl_replyviews .= "$hl_reply[views]<br>";
}
// /REPLIES 

eval("\$hl_top10status = \"".gettemplate("hl_statistics")."\";");

// /STATISTICS V2 (NanoEntity)?hololith.com 

now it works, (hide is hide)but now i have top20 :confused: :D

http://www.cover.netcheckershosting....subu/Top20.gif

I thank you much for yours strive, where is my error,hihi

Breaker 04-22-2003 09:07 AM

if u look, it is the top 10 twice :)

imported_subu1 04-22-2003 09:40 AM

it now also saw, what I can do, where I must search

thank you

sonic3d 04-22-2003 10:49 PM

lol. to make it twenty just chnage it to this

$statuslimit = "20"

l8er
sonic

imported_Jamie 04-29-2003 11:47 PM

This is weird. When i put 5 in the $statuslimit It still shows 10! :( Someone please help!

sonic3d 04-30-2003 12:39 AM

r u sure it isn't repeating the 5 from b4.

make sure you wrote/copied every thing right.

l8er
sonic

imported_Jamie 04-30-2003 01:36 AM

Fixed it. Thanks man

MindTrix 11-22-2003 09:34 PM

Just installed, its brilliant thanks


All times are GMT. The time now is 08:42 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.04347 seconds
  • Memory Usage 1,755KB
  • 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
  • (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
  • (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