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)

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>



All times are GMT. The time now is 05:50 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.01453 seconds
  • Memory Usage 1,743KB
  • 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
  • (2)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