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)

DJDynasty239 11-17-2008 04:50 AM

It is installed and working properly and awesome, however I want to get rid of the "Today" and "Posts" part of them, they are turned off in the Display Settings, but still appear...any suggestions?

edit : I got rid of them in the "activity_statblock" ...so I believe I did that right.

My problem now is, I just ran through and did about 50 posts as a test, and the activity hasn't reflected that at all, I am not sure if I made an error when removing the 2 sections, or if it takes a full 24 hours to reflect.

Also, I am a member on boxden.com which I am sure is using your mod because they have the same thing there, however the "Longevity" was renamed to "Dope Meter" and the meter reflects the user reputation, are you aware of anyway to tie those two in together?

Thanks for the great mod, and the help bud

WetWired 11-17-2008 11:50 AM

Quote:

Originally Posted by adamskiii (Post 1666993)
the graphics are not showing up. I copied all the images to my misc folder and this is what I get:

http://i251.photobucket.com/albums/g...untitled12.jpg

any help?

thanks

From the opening post:
Quote:

Why don't the images don't show up?/Why does the postcount have 's's in front of it?
Be sure to upload one of the activity directories from activityimages.zip to the misc directory for each of your styles. To find a style's misc directory, goto the Style Manager, then from the dropdown next to the style, choose Stylevars. The setting Miscellaneous Images Folder contains the path to that style's misc directory, where you need to upload the activity directory
You need an activity directory within the misc directory, and it needs to be the correct misc directory for the style. If you right click the alt-text for the images and select properties, your browser should tell you where it's looking for the images, which is where you should put them.

WetWired 11-17-2008 11:55 AM

Quote:

Originally Posted by DJDynasty239 (Post 1667259)
It is installed and working properly and awesome, however I want to get rid of the "Today" and "Posts" part of them, they are turned off in the Display Settings, but still appear...any suggestions?

edit : I got rid of them in the "activity_statblock" ...so I believe I did that right.

My problem now is, I just ran through and did about 50 posts as a test, and the activity hasn't reflected that at all, I am not sure if I made an error when removing the 2 sections, or if it takes a full 24 hours to reflect.

Also, I am a member on boxden.com which I am sure is using your mod because they have the same thing there, however the "Longevity" was renamed to "Dope Meter" and the meter reflects the user reputation, are you aware of anyway to tie those two in together?

Thanks for the great mod, and the help bud

The today bar fills up until the midnight you have set in the activity settings, then it dumps into the main activity. The reason the today bar exists is to clarify when a user has reached the maximum contribution to their activity bar for the day.
As for the reputation, I don't know how they did it, though there's many possibilities, I'm sure.

ndut 11-17-2008 10:12 PM

cool... :)

adamskiii 11-18-2008 12:01 AM

Quote:

Originally Posted by WetWired (Post 1667437)
From the opening post:

You need an activity directory within the misc directory, and it needs to be the correct misc directory for the style. If you right click the alt-text for the images and select properties, your browser should tell you where it's looking for the images, which is where you should put them.

thanks man. its working:D

Just one thing, how would I change the position of the mod so its at the bottom of everything, for example, my thanks mod is at the top and this mod is at the bottom. How do I make it so the mod shows up under the thanks?

thanks

WetWired 11-18-2008 12:32 PM

Well, the mod purposely tries to get close to the top, so you'd need to manually edit the postbit. There are instructions for doing this in the activity customization info file in the zip(you'd want to put the insert for the stats lower in the postbit than the instructions say to). Be sure to turn off automatic postbit modification in the display settings if you manually modify the postbit.

puregraf 12-02-2008 04:18 PM

my site is still very slow when your plugin is enabled. memory goes up instantly to over 80% on my dedicated server, and also server load goes from normal under 5.00 to crazy over 55% used up.

any thoughts? the old version for the older vbulletin did not cause this problem

WetWired 12-03-2008 03:04 AM

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?

NikosN 12-03-2008 09:59 AM

Thank you

DJDynasty239 12-04-2008 01:38 AM

If you are able to tell me, what font did you use for the text on "Activity" and "Longevity"?

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.

WetWired 12-15-2008 11:53 PM

What you want is already built in. Choose "Alternate location" for automatic postbit alteration in Activity Display Settings. This is assuming you're using a horizontal postbit. If for some reason, the JS doesn't work, there is a file in the zip file detailing how to manually add the mod to your postbit after turning automatic alteration off.

Nadeemjp 12-16-2008 05:16 AM

i tried choosing alternate location, but the display didnt move.
but let me try out the description in the attached file. should i face any problem i will contact again

Nadeemjp 12-16-2008 05:29 AM

wetwired, i am sorry but i wasnt able to understand how to accomplish what i mentioned in my post above, even by viewing the attached description. for a non technical person like me it was very confusing. could you please guide me what to follow?

thanx

WetWired 12-16-2008 01:03 PM

Assuming you're only using the horizontal postbit, go to the bottom of that file, where it has the heading "Manual postbit modifications." You'll want to do the modifications for "postbit (alternate location)". You can open your postbit template for editing from the style manager, clicking the <<>> button next to the style to change, then finding the postbit template. Find each find section in the template (the template editor's search function my be of use), then add the insert block above or below that section as indicated. Click save to save the changes. At first, you will have the activity info in both places. Go into activity display settings and set Automatic postbit modification to none to remove it from the old location.

Nadeemjp 12-16-2008 10:53 PM

ok thanx. i managed according to instructions.
but the location after these changes is some what odd.
so these are the two template changes that i should do i mean change their location and see where it gets displayed?
because i still didnt get the block displayed in the middle of the horizontal postbit. it went to the extreme right of the postbit.:)

thanx for the guidance.

WetWired 12-17-2008 02:33 AM

Hmm, so it is. It's been a long time since I've had a forum with a horizontal postbit so I'd forgotten it was on the right. For the second insert, instead add it below
Code:

                                $template_hook[postbit_userinfo_left]

                        </td>
                        <td width="100%">&nbsp;</td>


hawspipe 12-17-2008 03:50 PM

Hi,
For some reason my users are not being promoted once the "promotion criteria" is being met at any level. Do have any suggestions where I should look? I have tried running the "Do Memberlevel Promotions" job but it still doesn't work.
Thank you

WetWired 12-18-2008 12:03 PM

Have you checked the users additional groups? The promotion system does not change their main group.
Also be sure you're entering the numerical ID of the group (displayed in the drop down on the right side in the usergroup manager).

MPDesignZ 12-25-2008 12:19 PM

Hi great hack I just have one problem. After installing the hack my adminCP left nav menu collapses and will not stay open. The "Save Prefs" link at the top does not seem to save the menu to the open position. Is there any way to solve this?

WetWired 12-26-2008 04:47 AM

Hmm. I'm not sure why it does that, but it seems to only do it if the activity settings is expanded when you save prefs.

MPDesignZ 12-26-2008 05:46 AM

OK I like to keep them all extended. Is there a possible fix for this?

WetWired 12-26-2008 01:25 PM

I'm sure it's possible to fix, but it won't be simple. For now, I suggest just leaving the activity settings minimized. Eventually, I'll get a chance to look at this in-depth.

MPDesignZ 12-26-2008 09:07 PM

Quote:

Originally Posted by WetWired (Post 1694018)
I'm sure it's possible to fix, but it won't be simple. For now, I suggest just leaving the activity settings minimized. Eventually, I'll get a chance to look at this in-depth.

ok great, thanks.

xyzmary2001 12-28-2008 12:06 PM

Quote:

Originally Posted by WetWired (Post 1685652)
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.

You are right, the error still appears, and probably it is because of Java Script, but I have o clue how can I get rid of it. I simply love this mod and I cannot use it. Where should I go to turn off the display options mentioning JS?!

Thank you very, very much!

WetWired 12-29-2008 07:05 AM

Either go into activity display settings and set postbit alteration to default and both options below it to no, or you can disable it per-style by removing the contents of the activity_postbit_epilogue template.

Sunka 01-01-2009 09:48 AM

Working very good.
Installed.
Thank you for creating this MOD!

caggla 01-02-2009 01:31 PM

I am trying to pick up the member of the month by their activities in the forums.
Old members have higher levels of rep and the new yet zealous ones can not catch up with them.

How can I set today's activity to this month's activity?

thanks & regards

WetWired 01-05-2009 03:35 AM

You can't. Today's activity is a relatively quick thing requiring no calculation, whereas once you involve multiple days that is no longer the case. If you want to guage a month's activity, why not just set the activity settings to consider 4 weeks?

darknusens 01-05-2009 11:42 PM

I have a question, when I put my mouse arrow over the user posts meter, all I get is an "S" Why is that? Can I fix it?

darknusens 01-05-2009 11:44 PM

oohh.. wait.. I see what it is... there all ssssss except for the number of posts I've done right?


All times are GMT. The time now is 04:53 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.01540 seconds
  • Memory Usage 1,844KB
  • 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
  • (7)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
  • (40)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