vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Activity Modification (https://vborg.vbsupport.ru/showthread.php?t=177366)

alawee.blawee 06-09-2008 05:52 AM

outstanding
awesome
fantastic
fabulous

OcR Envy 06-11-2008 05:14 PM

I've noticed by visiting your forums that you've customized the script to appear around the avatar. This looks amazing btw, any chance at releaseing the code for this design?

WetWired 06-12-2008 04:00 AM

The stuff arround the avatar is just a change to the HTML. I use a different set of images and absolute position them. Unfortunately, it seems that Safari and the new FireFox don't support the z-index CSS attribute for whatever reason, so this method has issues.

clothahump 06-15-2008 10:07 AM

I am unable to see users "Today" activity, I am logged in as admin so surely I should be able to see it?

WetWired 06-16-2008 04:27 PM

Today display is disabled by default except for the logged-in user because it is the most resource intensive part of the mod (because it can change at any time, it cannot be cached between pages). You can turn it on in the Activity Display page in the control panel.

clothahump 06-16-2008 04:32 PM

Cheers, so the individual members can see their own but not others.

WetWired 06-16-2008 04:34 PM

Unless you change from the default settings, yes. If you run a small forum, then the load probably won't hurt, but since I've had several big forums interested in my mods before I default all settings to reduce queries.

f1x3d 06-17-2008 07:11 AM

In debug mode I see a message "WWU002: Today info not in cache; running today activity". How can I enable caching?
And I don't understand how "Find today's activity for logged-in user" option works. I didn't see any changes after I change it state to "Yes".

WetWired 06-17-2008 12:26 PM

As it says in the description, there are no built-in template changes for "Find today's activity for logged-in user" to support. This option was added because people wanted to show activity today for the logged in user on their portal pages or on the navbar.

The meaning of "WWU002: Today info not in cache; running today activity" is that there is no prior post on this page by the user (as of the time the message is issued), so activity today must be calculated. Activity today is only cached for the duration of the page load, as the user may make another post between the page you are viewing and the next. The cache just makes it so activity today isn't queried over and over for the same user if they have 10 posts on the same page. The main activity level, however, is stored in the user data once calculated and reused till the next "midnight."

sylar 06-23-2008 03:34 PM

Intalled, Great.


All times are GMT. The time now is 01:50 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.01596 seconds
  • Memory Usage 1,729KB
  • 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)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