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)

fanhost.com 04-13-2006 12:35 AM

anyone else having issues with this killing their server?

DementedMindz 04-13-2006 11:57 AM

Quote:

Originally Posted by fanhost.com
anyone else having issues with this killing their server?

nope not at all..

SCORPION1 04-17-2006 03:47 AM

whooooooo i have been looking for this hack nice one m8 went in like a dream:banana:

vBB-vietnam 04-17-2006 08:53 AM

I don't want forums isn't active appear the latest replies column. How to ?

Forum isn't Active mean: Will not appear but remains accessible if the forum's URL is known
(Edit in ACP -> Forum Manager -> Chose Forum, see blow:
Forum is Active (Will not appear if set to no, but remains accessible if the forum's URL is known)
)

vBB-vietnam 04-25-2006 02:36 PM

Help me, Please
Thank !

plateau 04-26-2006 07:11 AM

Quote:

Originally Posted by vBB-vietnam
I don't want forums isn't active appear the latest replies column. How to ?

Forum isn't Active mean: Will not appear but remains accessible if the forum's URL is known
(Edit in ACP -> Forum Manager -> Chose Forum, see blow:
Forum is Active (Will not appear if set to no, but remains accessible if the forum's URL is known)
)

i guess what u want is to exclude some forums from being calculated, and the current hack does not support this requirement.

what u need to do is to find out that part of code in php, and in the SQL try to exclude the those forums that u dont wanna be included in the statistic.

e.g.

search ......... where forumid != 1..............

hope the concept helps.

obmob 04-26-2006 11:37 PM

Hey, great mod, thanks... i was looking to translate it to spanish, but somehow i can't find the "Statistics - Top X" phrase :(

vBB-vietnam 04-26-2006 11:45 PM

Quote:

Originally Posted by plateau
i guess what u want is to exclude some forums from being calculated, and the current hack does not support this requirement.

what u need to do is to find out that part of code in php, and in the SQL try to exclude the those forums that u dont wanna be included in the statistic.

e.g.

search ......... where forumid != 1..............

hope the concept helps.

I write small code:

PHP Code:

//List all forum isn't active & child
$childlist $db->query_first("SELECT childlist     FROM " TABLE_PREFIX " forum    WHERE displayorder='0' "); 
if(
$childlist['childlist'])
 {
 
$excludedforums $excludedforums ',' $childlist['childlist'];
 } 

but query_first "Executes a data-reading SQL query, then returns an array of the data from the first row from the result set". Now I want returns an array of the data from the all row from the result set. How to ? I don't know about mysql & vBulletin.
THank !

e DoGG 4 sHo 05-08-2006 01:49 AM

Hi guys I have installed this Top 'X' Stats by InfiniteWebby hack on my board, and it works great on the default skin, but when I went to purchase a new skin for my site the hack does not appear on the forums at all. 1.2.1 is the version that I currently have on my site and I was told by another fellow vbulletin member that the hack should have automatically installed itself on to the new skin like the hide hack did. Is the hack just incompatible with the top x stat hack or am I doing something wrong.

Thanks for the help, I will really appreciate it.

Puntal 05-11-2006 08:46 PM

I have just installed this also,but how do i show it at the top?It's Showing at the bottom of the page...

Cumps
Puntal

dilbert 05-11-2006 10:42 PM

[high]* dilbert installs :)[/high]
This is terrific, thank you!

FreshFroot 05-18-2006 03:47 AM

Just had a question, anyway you could fix it, so it works with vbSEO? The members and top posters works fine. When it comes to the threads it doesn't take you to the last post, i'm guessing vbSEO interfere's with it......

tormodg 05-18-2006 06:56 AM

It works fine here, with vBSEO. It doesn't take you to the last post but first unread post.

lasto 05-18-2006 04:38 PM

works fine on vb3.5.4
installed flawlessy

/me clicks install

Zidane007nl 05-21-2006 08:12 PM

Installed it on my forums and it works sweet! Thanks.

B?-Y?u 05-27-2006 11:11 AM

I like it. Click Install :)

Quote:

Originally Posted by vbb-vietnam
I don't want forums isn't active appear the latest replies column. How to ?

Forum isn't Active mean: Will not appear but remains accessible if the forum's URL is known
(Edit in ACP -> Forum Manager -> Chose Forum, see blow:
Forum is Active (Will not appear if set to no, but remains accessible if the forum's URL is known)
)

Hi vbb-vietnam. I understand and I think I can help you :)

Open topXstats.php and plugin Top 'X' Stats by InfiniteWebby (Hook Location : forumhome_complete)
Find:

PHP Code:

// ## HIDE FORUMS WITHOUT THE CANVIEW, CANVIEWOTHERS OR CANSEEDELNOTICE PERMISSION ##
    
if (!($forumpermissions[$forum["forumid"]] & $vbulletin->bf_ugp_forumpermissions['canview']) AND !$vbulletin->options['showprivateforums'])  {
        
$excludedforums $excludedforums ',' $forum['forumid'];
    } 

Add Below

PHP Code:

    // ## HIDE FORUMS WITHOUT THE Not ACTIVE, DISPLAYORDER=0 ##
    
if (!$forum['displayorder'] OR !($forum['options'] & $vbulletin->bf_misc_forumoptions['active']) AND !$getinvisibles)
        {
            
$excludedforums $excludedforums ',' $forum['forumid'];
        } 

If i have time, I will write it as a option in ACP for U.
Enjoy it, compatriot :)

vBB-vietnam 05-29-2006 10:07 AM

Thank was support :banana:

Zain Jaffer 05-31-2006 03:00 PM

Anyone heard from Jonnie? (infinitewebbie).

He doesn't seem to have been active since 8th May?

redlabour 06-01-2006 09:22 AM

Hi,

i use this Hack now for Months. There was never a Problem. But now for 2 Days the latest Threads are allways shown as "New" even if i read them and the do not go to "Old"..

Anyone else with this Problem ???

Crazy - i log out to be a Guest. All changes to "old" now. I log in write a Posting and then this (my own) Posting is "New" marked. Help !!! :(

redlabour 06-02-2006 11:29 AM

Now i tested it again after mark all Forums as "read".

Answerd in another Thread then and the Thread is marked as "New" after reading. :confused:

In the Forum it is marked as "read". What the Hell ? :surprised:

redlabour 06-08-2006 04:13 PM

And will it work in the Future with vBulletin 3.6 ?

RFViet 06-09-2006 05:57 PM

My forum has adult section, I'd like to display forum name too, how do i do that ???

peterska2 06-12-2006 08:44 PM

works on 3.6 but requires one additional phrase

Phrasetype: GLOBAL
Product: TopXStats
varname: member
Text: Member

shoupz 06-25-2006 09:43 AM

just installed it, loving it!

murph5 07-05-2006 04:42 PM

Loving this, but just one problem i have noticed... if a forum is set to moderate threads before allowing them to go live, these pre-moderated threads still show up in the list to guests/members etc. When they click on the link they get "invalid thread". Is there a way to restrict pre-moderated threads from shoing in the list?

DementedMindz 07-08-2006 12:04 PM

what i think is funny is georgedd posted a fix for this so you cant execute arbitrary JavaScript code and the staff never shut this down cause of the exploit or even fixed it... for new users using this i would do these changes or you run the some serious risks

https://vborg.vbsupport.ru/showpost....&postcount=250

Paul M 07-08-2006 06:52 PM

Quote:

Originally Posted by DementedMindz
what i think is funny is georgedd posted a fix for this so you cant execute arbitrary JavaScript code and the staff never shut this down cause of the exploit or even fixed it... for new users using this i would do these changes or you run the some serious risks

https://vborg.vbsupport.ru/showpost....&postcount=250

What I find funny is that people think we could possibly be aware of every single post, in every single hack. ;)

If no one reports a problem then the chances are we will never know about it.

I will take a look at the posted fix and see if I can add it to the zip. :)

Draygonia 07-08-2006 07:07 PM

Paul M! Why did you remove it! I was just about to install :(

Exploit was found, I fixed mine, you all better do what demented says or reinstall the mod when the fix comes.

Paul M 07-08-2006 07:14 PM

Because I was applying the fix :) You can d/l it now.

popowich 07-08-2006 07:28 PM

A special e-mail should have gone out for this issue a long time ago!

Is there a similar feature that is more regularly maintained?

Are there any other known issues besides this post?

-Raymond


Quote:

Originally Posted by georgedd
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>


DrHUS 07-08-2006 11:23 PM

is there some Add-on that show me the status ( Top X stats ) for each forum (one-by-one) ??

C_P 07-10-2006 03:07 AM

Installed 1.2.1a zip upgrade no issue so far. Thank you all involved for security notice and fix.

KoC 07-14-2006 04:58 PM

Great Hack

Neo_Angelo 07-15-2006 07:34 PM

i upgraded to 3.6.0RC1 and it still works fine but it seems where it should say:

Newest members:

Member: Post:

and

Top posters:

Member: Post

mine now says

Newest member:

: post:

any idea's why this is?

Shazz 07-15-2006 07:43 PM

Its better?
________
ultimate fighters

peterska2 07-15-2006 07:49 PM

That just fixes a few missing phrases and the like when using this on 3.6.0 The actual code is exactly the same as the 3.5.4 version

Davidov06 07-16-2006 09:05 PM

Instead of actually adding the box to the bottom of my template, I've actually just added a hyperlink to /topXstats.php right next to the What's Going On? section. It looks a lot nicer.

o0Hubba0o 07-20-2006 03:22 AM

Quote:

Originally Posted by peterska2
You have some missing phrases. Let me see if I set my phrases correctly. If I did I'll export it for you.

Yes I did, import this version over writing your existing one.

Note: This version will NOT work in 3.5.4, it is for 3.6.0 beta 1 upwards only.

Thanks alot for that fix, much appreciated. ;)

Neo_Angelo 07-22-2006 09:55 AM

ah thanks for the update i needed that fix, it was damn annoying not seeing Members: lol great job ^_^

redlabour 08-04-2006 05:15 AM

Where is the Version for 3.6 ?


All times are GMT. The time now is 02:41 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.01405 seconds
  • Memory Usage 1,833KB
  • 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
  • (5)bbcode_code_printable
  • (3)bbcode_php_printable
  • (7)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