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 02-11-2009 05:28 PM

Quote:

Originally Posted by zorag (Post 1740935)
On the Top Activity page is there any way to include the previous 3 months of data (in 3 links Dec, Jan, Feb) - I'm more than willing to pay for this function.

I'm not sure what exactly you want. If you want separate lists for separate months, a skilled modder should have little trouble converting the "Top Activity" "forumhome_start" hook into a standalone PHP file providing the functionality you want. Key points for the modder are:
  • The current code contains optimizations to exclude people that could not appear in the top X; these optimizations are completely irrelevent to this task and will need to be removed for proper functioning
  • The $WWU002startOfDay and $WWU002startOfCycle variables are used in the queries for determining when the data is relative to. startOfDay should be at midnight GMT of the relevant day; startOfCycle should be adjusted based on the activity mod time zone setting.
  • The caching of the data will obviously need to be done differently. Realisticly, each month needs only be calculated once and stored.

I have no intention of adding this feature to the mod because I do not believe that referencing activity levels at discrete points in time (other than the present) is of great value. I do not do commission work. I hope that the information I have provided is sufficent for you to get a good result from someone who does.

ilovevbull 02-12-2009 08:49 PM

I didn't know once you installed this,it would get rid of how many post my members had is there anyway i can get that back AND still have the activity modification?

WetWired 02-12-2009 10:32 PM

This mod displays that number itself. You can tell it to leave the old number from the display settings.

lussos 03-02-2009 02:26 PM

Is there a way of removing certain usergroups in the "Activity Page"? example: banned user groups.

WetWired 03-03-2009 07:29 AM

Currently there is not, though obviously a banned member's activity will fall.

I assume that this is an automated news poster you're trying to deal with? If it always posts in the same forum, you can make posts in that forum not count to reduce activity level.

I suppose it would be easy enough to add some sort of usergroup check, though it would disturb the optimizations that prevent checking everyone's activity each day for the list.

adamskiii 03-05-2009 11:50 PM

Hi there. I just need some help. I have installed successfully :D and want to change the location so the mod shows up right under my avatar. I added the code in the postbit legacy template but now I get two of the mods showing up. One in the default location and the other showing up under my avatar. Could you please help me fix this so I only have the one under the avatar showing up?

Thanks

adamskiii 03-07-2009 05:58 PM

I got it to work under the avatar :D, just one more thing, how do I make a box around it in the postbit_legacy?

thanks

WetWired 03-07-2009 06:53 PM

I suppose you could wrap it in
Code:

<div style="border:1px solid black"></div>

adamskiii 03-07-2009 06:58 PM

where would I add the code? I am not good at coding things, :P

thanks

WetWired 03-09-2009 04:22 AM

Arround what you added to move what you moved.


All times are GMT. The time now is 09:08 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.01985 seconds
  • Memory Usage 1,736KB
  • 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_code_printable
  • (1)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