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)

WetWired 12-04-2008 02:37 AM

I hand drew them.

puregraf 12-04-2008 06:39 PM

Quote:

Originally Posted by WetWired (Post 1677510)
What settings are you using? There are many settings that will increase your load, especially "activity today" settings.

Have you tried enabling the mod at a low activity time and seeing how it reacts when activity rises? (because if you have a lot of users, activity must be calculated as posts are viewed authored by users whose activity hasn't been calculated yet for the day; you can "schedule" this load increase to happen when load in general is low) If this is effective, you can set the "midnight offset" setting to keep this schedule. (changing the setting, however, invalidates all activity calculated to that point since the setting effects the calculation)

A load average of 5.00 indicates 100% utilization (for a 1 to 5 core server), so 55% would be a load decrease...

When you say the old version for the older vbulletin, you are refering to vB3.0 or vB3.5?



weeks reflected: 6
vistit weight 2.0
counted posts per day. 4


Find today's activity for all users
If enabled, then the activity today information is queried for each post; this requires an additional query per user per thread.
If disabled, then the activity today information is only queried for the logged-in user.

No


1
Find today's activity for member profile
If enabled, then the activity today information is queried for member profiles. This adds a query to the member profile page.

No


1
Find today's activity for logged-in user
If enabled, find the logged in user's activity today on each pageload. Adds an extra query to each page load for logged-in users. Note that this information is not included in the default template modifications.

No


1
Show activity breakdown in tooltip
If yes, will show visit% and post% in the activity bar tooltip

Yes

1
Use text-only stat block
If set to yes, will display activity, longevity, and activity today as text instead of using images. When this is set to yes, you do not need to upload the images directory or add the style-specific CSS.

No

1
Automatic postbit alteration
Whether or not template hooks are used to alter the postbit. Choosing "Alternate location" uses JS to move the stat block from the template hook location -- into a separate column on the horizontal postbit, or right under the avatar on the vertical postbit. If your postbit templates are siginificantly modified, "Alternate location" may not work well and you should set this to "None" and add the changes manually.

Error:
1
Remove postbit text postcount
Use JS to remove the div containing the text postcount, since the images version repeats it. Ignored if postbit alteration is "None"

Yes

1
Remove postbit text joindate
Use JS to remove the div containing the join date, since longevity is the same information displayed a different way. Ignored if postbit alteration is "None"

No

1
User profile page statistics
Choose where to display a user's activity information in their profile page

BOTH



Enable Top Activity page
YES

Top Activity detects ties
NO

Display countdown to 100%
NO

WetWired 12-04-2008 11:18 PM

I don't see anything wrong with your settings. Nothing you have set should cause a continuous load increase. Again, what version of vB was it that you didn't have the problem with?
Also, I submit for your consideration that, as I said earlier, if your server's load average is usually at 5.00, your server is usually at 100% utilization already. Adding even a small amount of extra load to an overloaded server will just stack up and cause requests to take even longer. Maybe it's time to upgrade.
That said, there are significant changes between the vB3.0 and vB3.5 version of my mod to deal with hook locations, and it is possible that that is contributing.

dxflw 12-06-2008 06:44 PM

how do i remove the word OWNER?

WetWired 12-07-2008 03:38 AM

It's in the Rank and Promotions settings. The bottom option.

xyzmary2001 12-14-2008 09:10 AM

I have a problem - that may look really hilarious, but to me is quite difficult.

What in the world is "main CSS page" and where can I find Additional CSS Definitions? I adore this mod and I always get an error, I suspect because I didn't add the definition.

Please, help me even if the question is one of a beginner. Thanks!

WetWired 12-15-2008 04:02 AM

It's a selection on the dropdown next to the style name in the style manager. I doubt that not adding it would give you an error, though. If you are getting a JS error, it is due to the way that the mod tries to use JS to get arround the limitations of template hooks. If you turn off the display options that mention JS, it should get rid of the error.

Nadeemjp 12-15-2008 06:27 AM

wet wired
i would liek to suggest that in ur next upgrade, please give more options concerning the placement of the images. i love this hack and dont want to undo it. but it is alongwith other mods, occupying a lot of place in the vertical postbit, thus making the posbit too wide.

is it possible to move it in the center of the vertical postbit? i mean not on the left, not on the right (near the avatar), but in the center? so that the width of the vertical postbit is controlled a tad. if by doing it manually it is achieved, then please do let us know which codes should we add and where should we add, cause not all of us are professional coders:)

WetWired 12-15-2008 11:22 AM

I'm not sure I understand what you're trying to achieve. Can you throw together a mock-up in paint or some such?

Nadeemjp 12-15-2008 11:33 PM

The following is what i wanted to do:

Taking the activity display from the right side and putting it in the center of the postbit.
as u can see my postbit vertical width is too much wide. :( my users complain about it but neither i nor my users, want to get rid of these hacks and mods. we wanna use all of them.


All times are GMT. The time now is 06:29 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.01316 seconds
  • Memory Usage 1,747KB
  • 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_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