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)
-   -   Top 'X' Stats (https://vborg.vbsupport.ru/showthread.php?t=93065)

Qwest 11-27-2005 02:08 PM

CRAP nevermind I found it. It's on the bottm.

I want it on the top like on http://www.dholaholic.com/forum/ :)

tormodg 11-27-2005 02:53 PM

Read through the thread. You can place the code wherever you want in the FORUMHOME template.

Snoop-It 11-27-2005 03:43 PM

I think i asked this before.. but what vbphrase do i have to edit to change the colour for NEW and OLD.. i done this in the old version via template.. but since were using products its harder to find it.

I want to make [NEW] in red and [OLD] in blue - so its different and stands out. no one will take notice whats new and whats not if its not clearly highlighted on my board... which is why im looking into changingcolours etc....

any ideas on what vbphrase i have to edit?

cheers.

InfiniteWebby 11-28-2005 10:12 PM

Quote:

Originally Posted by dholaholic
I think i asked this before.. but what vbphrase do i have to edit to change the colour for NEW and OLD.. i done this in the old version via template.. but since were using products its harder to find it.

I want to make [NEW] in red and [OLD] in blue - so its different and stands out. no one will take notice whats new and whats not if its not clearly highlighted on my board... which is why im looking into changingcolours etc....

any ideas on what vbphrase i have to edit?

cheers.

It's in the settings.

caliman 11-28-2005 11:03 PM

Quote:

Originally Posted by mainframe
Hi Infinityweb,

thanks for your fast reply.
I have turned on debug mode and found the problem.
I have arround 90.000 registerred users on my forum(www.funfiles.ws) and arround 1500 online practicly every day arround 19:00. Because your plugin is sorting them on posts it's taking 0.34 seconds to get the top users from the database.
I've added an index in the mysql table users for posts and now it's only taking 0.0008 seconds so thats defenitly a change..

If anyone uses your plugin and have many registerred users and lots of them online I would suggest the same. add an index for posts in the user table by executing the below query in your admincp

Code:

ALTER TABLE `user` ADD INDEX ( `posts` )
Kindest Regards,
MainFrame


I hope to have this problem some day! Thanks for sharing.

lsgworldl 11-30-2005 07:55 PM

I have a problem with my skin it dosnt fit right in it lol as you can see here

http://pspgameforums.com/forum/index.php?

InfiniteWebby 11-30-2005 10:25 PM

Quote:

Originally Posted by lsgworldl
I have a problem with my skin it dosnt fit right in it lol as you can see here

http://pspgameforums.com/forum/index.php?

That's really a problem that your skin designer needs to fix.

cbr929rrerion 12-02-2005 08:02 PM

how can I adjust the width of the part that shows on forum home? I dont want 100% I want 95% but cant seem to find the part that determines the width that shows on the home page

ShadowOne 12-05-2005 06:34 PM

i put this and it doesnt stretch my tables on 3.5.1 plus i like the interface better without newest members showing up...

PHP Code:

<!-- top statistics box -->  <br />    <table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">  <thead>      <tr>          <td class="tcat" colspan="3">              <a style="float:$stylevar[right]href="#top" onclick="return toggle_collapse('forumhome_statistics')"><img id="collapseimg_forumhome_statistics" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_statistics].gif" alt="" border="0" /></a>              <a href="topXstats.php$session[sessionurl_q]">$vbphrase[statistics] - <phrase 1="$displayrecords">$vbphrase[top_x]</phrase></a></td>      </tr>  </thead>  <tbody id="collapseobj_forumhome_statistics" style="$vbcollapse[collapseobj_forumhome_statistics]">      <tr>          <td class="thead" width="23%" align="$stylevar[left]nowrap="nowrap">$vbphrase[top_posters]</td>          <td class="thead" width="77%" nowrap="nowrap">$vbphrase[latest_replies]</td>      </tr>      <tr>          <td class="alt2" width="23%" valign="top">          <table>              <tr>                  <td width="100%" nowrap="nowrap">$vbphrase[member]:</td>                  <td align="right" nowrap="nowrap">$vbphrase[posts]:</td>              </tr>              $topXstats_posters_bits          </table>          </td>          <td class="alt2" width="77%" valign="top">          <table>              <tr>                  <td width="70%" nowrap="nowrap">$vbphrase[thread]:</td>                  <td width="30%" nowrap="nowrap">$vbphrase[last_poster]:</td>                  <td align="right" nowrap="nowrap">$vbphrase[views]:</td>                  <td align="right" nowrap="nowrap">$vbphrase[replies]:</td>                  </tr>              $topXstats_threads_bits          </table>          </td>      </tr>  </tbody>  </table>    <br />  <br />  <!-- end top statistics box --> 


cbr929rrerion 12-05-2005 09:37 PM

I like it and it works but I wish it had the newest member in it, can you add that, I tried, no luck.. I have it on there now working the way you posted but I would like newest members and their post count as in original..

Thats for this tho.. if ya can add the other it will be great..


Quote:

Originally Posted by ShadowOne
i put this and it doesnt stretch my tables on 3.5.1 plus i like the interface better without newest members showing up...

PHP Code:

<!-- top statistics box -->  <br />    <table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%" align="center">  <thead>      <tr>          <td class="tcat" colspan="3">              <a style="float:$stylevar[right]href="#top" onclick="return toggle_collapse('forumhome_statistics')"><img id="collapseimg_forumhome_statistics" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_forumhome_statistics].gif" alt="" border="0" /></a>              <a href="topXstats.php$session[sessionurl_q]">$vbphrase[statistics] - <phrase 1="$displayrecords">$vbphrase[top_x]</phrase></a></td>      </tr>  </thead>  <tbody id="collapseobj_forumhome_statistics" style="$vbcollapse[collapseobj_forumhome_statistics]">      <tr>          <td class="thead" width="23%" align="$stylevar[left]nowrap="nowrap">$vbphrase[top_posters]</td>          <td class="thead" width="77%" nowrap="nowrap">$vbphrase[latest_replies]</td>      </tr>      <tr>          <td class="alt2" width="23%" valign="top">          <table>              <tr>                  <td width="100%" nowrap="nowrap">$vbphrase[member]:</td>                  <td align="right" nowrap="nowrap">$vbphrase[posts]:</td>              </tr>              $topXstats_posters_bits          </table>          </td>          <td class="alt2" width="77%" valign="top">          <table>              <tr>                  <td width="70%" nowrap="nowrap">$vbphrase[thread]:</td>                  <td width="30%" nowrap="nowrap">$vbphrase[last_poster]:</td>                  <td align="right" nowrap="nowrap">$vbphrase[views]:</td>                  <td align="right" nowrap="nowrap">$vbphrase[replies]:</td>                  </tr>              $topXstats_threads_bits          </table>          </td>      </tr>  </tbody>  </table>    <br />  <br />  <!-- end top statistics box --> 




All times are GMT. The time now is 05:51 AM.

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.01391 seconds
  • Memory Usage 1,828KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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