vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   vBulletin CMS Widgets - Top posters widget type (https://vborg.vbsupport.ru/showthread.php?t=236301)

Carnage 10-09-2010 10:06 AM

Quote:

Also, it would be nice if the statistics were up to date. If I use "Top posters for this week" - it'll display that I've had x amount of posts, but as soon as I post again, it will not update unless i clear the CMS cache.
In order to reduce load on your forums by executing potentially large queries on a regular basis the result is cached for a certain period depending on the timescale selected. For the this week option, it updates every 6 hours.

If your forum is fairly small < 100,000 posts you can probably get away with a much shorter time frame - this can be done by editing the code. The current timings were selected to provide a tradeoff between up to date statistics and the potential to slow down the page display time on large boards.

A future version will allow customisation of these timings in the control panel, however there is no eta on this version as I'm not currently working on this mod (my next planned release is on the PBPG mods and so I've been working flat out on them to get them ready ASAP)

Juggernaut 10-12-2010 11:16 PM

I don't see any widget after I upload the files and install, even after clearing the cms cache, I don't see any widgets in the widget manager or the layout manager.

Carnage 10-13-2010 11:16 AM

This is a widget type not a widget. To use it install the product then go into the widget manager select create new widget - the top posters widget type should appear in the drop down box.

Juggernaut 10-13-2010 04:12 PM

I can see it now, however when I try to change the configuration, when I hit save, it always resets to the default configuration of "last month" anything I can do to include all the new usergroups I've created and show last week's top poster?

Juggernaut 10-13-2010 09:40 PM

After clearing the cms cache my widget manager is broken I get a long error message relating to this widget, I already tried uninstalling the widget, but it didn't help with the problem.
PHP Code:

Fatal errorTrying to get widgettype class from invalid  widgettype '24' on line 270 in [path]/packages/vbcms/types.php in  [path]/vb/vb.php on line 287
#0  vb_error_handler(256, Trying to get widgettype class from invalid widgettype  '24' on line 270 


Juggernaut 10-16-2010 02:25 AM

You can ignore my post above, I was able to fix my issue.

Carnage 10-16-2010 08:35 AM

Might I ask how you fixed it in case anyone else comes up with the same problem?

Juggernaut 10-23-2010 02:59 AM

^^ Sorry for the long time since posting, but I manage to get rid of my error messages by uninstalling the widget, and dropping the database rows for this widget and widget type through phpmyadmin. I still can't get it running on my forum, although I think it's a great widget, it might be conflicting with another mod or template edit I might have made, so I will have to be without it for now. Thank you so much for taking your time helping me out, Carnage :D

Aurvandil 11-19-2010 06:09 AM

Quote:

Originally Posted by Carnage- (Post 2024860)
Would you want it based on posts? Members? Members joined per time period?

"Members joined per time period" and/or "posts per time period" would be great for a top social groups widget.

By the way - great work with the top poster widget, it is very useful. If one of the following features was added as well, it would be perfect:
# Exclude forum(s) from counting
# Exclude forum(s) with no post count

Lomak 11-25-2010 12:41 AM

hello

how can I specify 'Post from all time'


All times are GMT. The time now is 03:32 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.00982 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
  • (1)bbcode_php_printable
  • (2)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
  • (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