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)

Snake 02-13-2006 04:20 PM

Thanks, works fine on my forums. :)

http://forums.philosopherslegacy.net

The Realist 02-14-2006 11:50 AM

Any ideas anyone?

Quote:

Originally Posted by The Realist
Getting this error in regards to uncached templates on the botton of my forums:

Uncached templates: topXstats_member_bit (5)
Uncached templates: topXstats_poster_bit (5)
Uncached templates: topXstats_stats_bit (1)
Uncached templates: topXstats_thread_bit (5)

How to I cach them?


Snake 02-14-2006 11:57 AM

Yeah I would like to know as well.

InfiniteWebby 02-15-2006 03:09 AM

Quote:

Originally Posted by The Realist
Any ideas anyone?

It's already in the product. Try re-uploading and installing it.

CupraSi 02-15-2006 05:52 PM

Uploaded fine for me thanks ;)

One question

When you are in ACP it says something about extended stats pages

What is this please as I cant see it and when I click on the stats link I get a 404 page

RDX1 02-17-2006 01:29 PM

When installing:

Code:

Database error in vBulletin 3.5.3:

Invalid SQL:

                                INSERT INTO setting
                                (varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, product)
                                VALUES
                                (
                                        'topXstats_displayrecords_forumhome',
                                        'topXstats',
                                        '5',
                                        '5',
                                        'number',
                                        '',
                                        10,
                                        0,
                                        1,
                                        'topXstats'
        ),
        (
                                        'topXstats_displayrecords',
                                        'topXstats',
                                        '30',
                                        '30',
                                        'number',
                                        '',
                                        20,
                                        0,
                                        1,
                                        'topXstats'
        ),
        (
                                        'topXstats_maxdisplayrecords',
                                        'topXstats',
                                        '200',
                                        '200',
                                        'number',
                                        '',
                                        30,
                                        0,
                                        1,
                                        'topXstats'
        ),
        (
                                        'topXstats_excludedforums',
                                        'topXstats',
                                        '0',
                                        '0',
                                        'free',
                                        '',
                                        40,
                                        0,
                                        1,
                                        'topXstats'
        ),
        (
                                        'topXstats_threadchars',
                                        'topXstats',
                                        '0',
                                        '0',
                                        'number',
                                        '',
                                        50,
                                        0,
                                        1,
                                        'topXstats'
        ),
        (
                                        'topXstats_userchars',
                                        'topXstats',
                                        '0',
                                        '0',
                                        'number',
                                        '',
                                        60,
                                        0,
                                        1,
                                        'topXstats'
        ),
        (
                                        'topXstats_newpostprefix',
                                        'topXstats',
                                        '[New]',
                                        '[New]',
                                        'free',
                                        '',
                                        70,
                                        0,
                                        1,
                                        'topXstats'
        ),
        (
                                        'topXstats_oldpostprefix',
                                        'topXstats',
                                        '[Old]',
                                        '[Old]',
                                        'free',
                                        '',
                                        80,
                                        0,
                                        1,
                                        'topXstats'
        );

MySQL Error  : Duplicate entry 'topXstats_displayrecords_forumhome' for key 1
Error Number : 1062
Date        : Friday, February 17th 2006 @ 07:45:55 AM
Script      : *
Referrer    : http://www.*/plugin.php?do=productadd
IP Address  : *
Username    : *
Classname    : vb_database


CupraSi 02-17-2006 02:21 PM

Quote:

Originally Posted by CupraSi
Uploaded fine for me thanks ;)

One question

When you are in ACP it says something about extended stats pages

What is this please as I cant see it and when I click on the stats link I get a 404 page

Anyone know about the extended stats?

Muscolino 02-21-2006 10:03 PM

Yet another hack I'm having problems with :(

I've installed it but get this:
Quote:

Database error in vBulletin 3.5.3:

Invalid SQL:
SELECT userid, usergroupid, IF(displaygroupid=0, usergroupid, displaygroupid) AS displaygroupid, username, posts FROM user ORDER BY posts DESC LIMIT 0,;

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number : 1064

georgedd 02-23-2006 05:58 AM

There seems to be a bug/ security issue I just discovered with this plugin. If the title of a new thread contains HTML tags, it's displayed as is (not converted to entities) by the top x stats plugin...

georgedd 02-25-2006 01:04 AM

BTW, I've gone ahead and fixed the "non entity" bug I reported above. For those interested, inside topxstats.php (or edit directly in vbulletin control panel), find the lines:

Code:

                else
                {
                        $getstats_thread[titletrimmed] = $getstats_thread[title];
                }
        }

and add beneath it one extra line:
Code:

                else
                {
                        $getstats_thread[titletrimmed] = $getstats_thread[title];
                }
        }
        $getstats_thread[titletrimmed]=htmlspecialchars($getstats_thread[titletrimmed]);

Also, inside the template "topXstats_thread_bit", find:

Code:

title="<phrase 1="$getstats_thread[title]"
and change that to:

Code:

title="<phrase 1="$getstats_thread[titletrimmed]">
I highly recommend you implement the above changes or changes of your own. Otherwise, someone can execute arbitrary JavaScript code on your site just by entering as the title of a thread the script, such as:

Code:

<script>alert("hi")</script>

firstrebel 02-25-2006 09:20 AM

Quote:

title="<phrase 1="$getstats_thread[titletrimmed]">
Should this be
Quote:

title="<phrase 1="$getstats_thread[titletrimmed]"
without the (>) at the end. Or include it in the code that needs to be changed. Otherwise you end up with
Quote:

title="<phrase 1="$getstats_thread[titletrimmed]">>
Bob

Za4a Tuner 02-25-2006 10:25 AM

Quote:

Originally Posted by firstrebel
Should this be without the (>) at the end. Or include it in the code that needs to be changed.

Leave it away ;)

@ georgedd
Many thanks for your info ;) ->
i did the changes => and it works :D

Damien2005 02-25-2006 11:42 PM

Hello all,
can anyone help me to get the forumtitle in to the topxstats?

Greetz..

RDX1 03-01-2006 05:15 AM

How do I set it to exclude certian forums?

Damien2005 03-01-2006 05:52 PM

Admincp vBulletin Options >>> Top 'X' Stats by InfiniteWebby >>> Excluded Forums ;)

Damien2005 03-01-2006 05:54 PM

Quote:

Originally Posted by Damien2005
Hello all,
can anyone help me to get the forumtitle in to the topxstats?

Greetz..

No one :surprised:

cecdah 03-08-2006 06:18 PM

Thanks, great hack.

One question; Any possibility of placing this on my right sidebar? :)

Ruler68jg 03-14-2006 02:36 PM

I installed it working perfectly for me, but I just want to know I want to install it on the top I mean right after the main menu. I acutelly want both this and "WHO IS ONLINE" both to gatheron the top right after the main menu.

kind regards

ruler

plateau 03-15-2006 06:49 AM

Quote:

Originally Posted by Ruler68jg
I installed it working perfectly for me, but I just want to know I want to install it on the top I mean right after the main menu. I acutelly want both this and "WHO IS ONLINE" both to gatheron the top right after the main menu.

kind regards

ruler

try to play with the templates.

NeutralizeR 03-16-2006 01:46 AM

Is it possible to redirect the thread link to the last post instead of the last unread post?

Regards

crzy 03-16-2006 05:13 PM

Hello i dont wanna show admins, s.mods and mods on top poster.. Is there anyway to do this possible..?

Thanks

Julie 03-19-2006 08:26 PM

Quote:

Originally Posted by Ruler68jg
I installed it working perfectly for me, but I just want to know I want to install it on the top I mean right after the main menu. I acutelly want both this and "WHO IS ONLINE" both to gatheron the top right after the main menu.

kind regards

ruler

In the FORUMHOME template, locate $navbar and add the code below that and add <br> 's as you want/need...

DrHUS 03-23-2006 10:41 AM

how may i can make the topXstats show the Top poster on special forum (just one forum .. like forumID= 10 ..) and the amount of posts the user post on that forum only.. (Or %)

Lineman28645 03-23-2006 02:00 PM

Does this work with vb 3.5.4?

cuphongle 03-25-2006 06:34 AM

Quote:

Originally Posted by Lineman28645
Does this work with vb 3.5.4?


yes it does

cuphongle 03-25-2006 06:40 AM

wonder if it can hide from guests?

kazido 03-25-2006 01:30 PM

No one has answered the questions about using this with CMPS. I am using 3.5.4 with CMPS 2.1.0 and cant create a module with topXstats.php. Other modules come up but not that one. The file is in the forum root...

http://www.ozls1.com.au/forum/topXstats.php

...cause it's displayed here.

Im sure some ppl have worked this out, pls help the noob!!! :)
Cheers

furst 03-27-2006 07:36 AM

Is there any way I can get rid of all of the stats and be left with three columns of latest posts from whatever forumids I want?

q8-star 03-28-2006 04:18 PM

I'm having a problem here .

when I move the thread to a new forum ,in the extended page I get a duplicate link for this specific thread .Now I've tried updating lots of counters but that didn't help .

Any suggestion on that ?

Pathor 04-02-2006 11:48 AM

Quote:

Originally Posted by q8-star
I'm having a problem here .

when I move the thread to a new forum ,in the extended page I get a duplicate link for this specific thread .Now I've tried updating lots of counters but that didn't help .

Any suggestion on that ?

I have the same problems. Any help?

manutdvn 04-03-2006 05:35 AM

Quote:

Originally Posted by teedizz
How do I make this a little smaller because as of right now its making my forumhome look off centered.

http://img396.imageshack.us/img396/4...titled27nd.jpg

I have exactly the same problem. Does anybody know how to fix this?

Thanks.

manutdvn 04-03-2006 05:38 AM

I fixed this. Thanks.

Datenpapst 04-03-2006 05:14 PM

The Statictics shows the title in turkish? Is this normal? I have installed turkish as a language but its not my standard language.

?statistik - En ?ok 5
En ?ok Mesaj Yazanlar En Son ?ye Olanlar En Son Cevaplar

WTF? :(

DementedMindz 04-05-2006 01:58 AM

anyway to group the templates together in admincp?

Datenpapst 04-05-2006 11:31 AM

need help please :(

Bibi01 04-05-2006 01:08 PM

Hello, Thank you very much that functions super, how then I to put the stats over one week for best the posteurs
sorry but my english is not good:confused:
Bibi

masterross 04-06-2006 08:37 AM

can be add top X reputations too?

Posof 04-09-2006 05:58 PM

:confused:


Can someone help me with this...

I want edite the Hack ( topXstats ) but dont now how..
Please see attachment for more info..

You have now 3 colums

Top Posters Newest Members Latest Replies

I want the FIRST colum ( delete ) gone, use 2 colums..

Thanks..

ChrisBaktis 04-11-2006 10:20 PM

Anyway to change this so instead of new posts it will display the top members via a custom profile field?

Glennskij 04-12-2006 06:18 AM

I did what was said in the readme-file, but no "Top stats" appear.
However, nothing appears on the frontpage!
The php-file is working fine, but i have to enter it manually.

I did this:
Quote:

3) In your FORUMHOME template find:

<!-- end what's going on box -->

And after it add:

<if condition="$show['topXstats']">
$topXstats
</if>
so that my FORUMHOME is like this:
PHP Code:


<!-- what's going on box -->
    <if condition="$show['
topXstats']">
    $topXstats
    </if>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
    <tr>
        <td class="tcat" colspan="2">$vbphrase[whats_going_on]</td>
    </tr>
</thead> 

Please help! Thanks!


All times are GMT. The time now is 04:06 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.04687 seconds
  • Memory Usage 1,853KB
  • 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
  • (6)bbcode_code_printable
  • (1)bbcode_php_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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