vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Top 'X' Stats (https://vborg.vbsupport.ru/showthread.php?t=59609)

Sirius Black 05-03-2004 12:54 AM

Great hack man !! Installed with no problems !!

Pitman 05-04-2004 07:31 PM

I need this to work with user's permissions, is that possible? :(

I mean I know that you can exclude certain forums, but I want all of the forums to show if the user that is viewing the page has permission to access that forum.

msimplay 05-04-2004 07:53 PM

Quote:

Originally Posted by Pitman
I need this to work with user's permissions, is that possible? :(

I mean I know that you can exclude certain forums, but I want all of the forums to show if the user that is viewing the page has permission to access that forum.

yeh good idea and threads / posts awaiting moderation should be excluded

sabret00the 05-04-2004 07:53 PM

i'll take a look at the code asi want it to work with permissions too, basically it's just a matter of extracting the usergroups and then their permissions and converting that data into something that the script can read, shouldn't be too hard, although it'll probably add a few queries, we'll see though, if anyone more skilled does it before me then yay :)

Pitman 05-04-2004 09:21 PM

Yeah, this is an awesome hack, it just needs to be tweaked a little :)

InfiniteWebby 05-06-2004 07:38 AM

This hack in its current form works using forum permission. It also show deleted thread only to those members who can see them as well as being able to exclude forum id's so there should not be problems with members seeing what they shouldnt be able to.

I have finished my next version found here it includes an extra page so users can specify the number of stats to show added admincp settings for post title trunctaing, username truncating, excluded forum ids, most stats to show on forumhome and extra page, default to show on forum home and extra page as well as a prefix setting for new and old posts. It is all ready to go with htl but with the new admin settings i need to create an installer to add those into the dbase.

msimplay 05-06-2004 07:50 AM

Quote:

Originally Posted by AnimeWebby
This hack in its current form works using forum permission. It also show deleted thread only to those members who can see them as well as being able to exclude forum id's so there should not be problems with members seeing what they shouldnt be able to.

I have finished my next version found here it includes an extra page so users can specify the number of stats to show added admincp settings for post title trunctaing, username truncating, excluded forum ids, most stats to show on forumhome and extra page, default to show on forum home and extra page as well as a prefix setting for new and old posts. It is all ready to go with htl but with the new admin settings i need to create an installer to add those into the dbase.

but what about moderated posts ?

sabret00the 05-06-2004 08:13 AM

Quote:

Originally Posted by AnimeWebby
This hack in its current form works using forum permission. It also show deleted thread only to those members who can see them as well as being able to exclude forum id's so there should not be problems with members seeing what they shouldnt be able to.

I have finished my next version found here it includes an extra page so users can specify the number of stats to show added admincp settings for post title trunctaing, username truncating, excluded forum ids, most stats to show on forumhome and extra page, default to show on forum home and extra page as well as a prefix setting for new and old posts. It is all ready to go with htl but with the new admin settings i need to create an installer to add those into the dbase.

based on my current installation, guests can see threads in the top 5 even in hidden forums? :(

brianstevz 05-06-2004 01:09 PM

Quote:

Originally Posted by sabret00the
based on my current installation, guests can see threads in the top 5 even in hidden forums? :(

Where is the code for the change? Also could you change this to display reputation instead of new users?

msimplay 05-06-2004 02:32 PM

Quote:

Originally Posted by sabret00the
based on my current installation, guests can see threads in the top 5 even in hidden forums? :(

yep thats what i mean about permissions
if the permissions were there
we wouldn't have to exclude forums or worry about posts in moderation displaying


All times are GMT. The time now is 09:15 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.01217 seconds
  • Memory Usage 1,740KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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