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)

Magnumutz 04-30-2008 05:33 PM

Thanks, in the install file, it kinda messed with my mind :p
I really didn't understood it.

But thanks for clearing everything out.

Playa82 04-30-2008 05:48 PM

is there an easier way to add them seperate ?

like this:

https://vborg.vbsupport.ru/external/2008/04/1.jpg

i got that @ my site, but it's a lot of coding to do that... see below:

1st Line:
Code:

<div class="pbit" align="left">
  <table class="WWU002postbit" cellspacing="2" cellpadding="0">
    <tr>
      <td><img src="$stylevar[imgdir_misc]/activity/textactivity.gif" /></td>
      <td><img src="$stylevar[imgdir_misc]/activity/textlongevity.gif" /></td>
    </tr>
    <tr>
      <td title="$WWU002_activityinfo"><img src="$stylevar[imgdir_misc]/activity/activity$WWU002_activitylevel.gif" class="i" /></td>
      <td title="$WWU002_longevityinfo"><img src="$stylevar[imgdir_misc]/activity/long$WWU002_longevitylevel.gif" class="i" /></td>
    </tr>
 </table>
</div>

2nd Line:
Code:

<div class="pbit" align="left">
  <table class="WWU002postbit" cellspacing="2" cellpadding="0">
    <tr>
      <td><img src="$stylevar[imgdir_misc]/activity/texttoday.gif" /></td>
      <td><img src="$stylevar[imgdir_misc]/activity/textposts.gif" /></td>
    </tr>
    <tr>
      <td title="$WWU002_todayinfo"><img src="$stylevar[imgdir_misc]/activity/today{$WWU002_todaylevel}_$WWU002_maxtodaylevel.gif" class="i" /></td>
      <td dir="ltr"><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[1].gif" class="il" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[2].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[3].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[4].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[5].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[6].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[7].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[8].gif" class="im" /><img src="$stylevar[imgdir_misc]/activity/posts$WWU002_postsd[9].gif" class="ir" /></td>
    </tr>
  </table>
</div>


Karnal Sinn 04-30-2008 06:56 PM

Quote:

Originally Posted by Magnumutz (Post 1503642)
Thanks, in the install file, it kinda messed with my mind :p
I really didn't understood it.

But thanks for clearing everything out.

The previous version of this mod has the manual instructions.

WetWired 04-30-2008 07:18 PM

Quote:

Originally Posted by Playa82 (Post 1503659)
is there an easier way to add them seperate ?

Quote:

Originally Posted by Karnal Sinn (Post 1503739)
The previous version of this mod has the manual instructions.

Unlike the previous versions of the mod, the actual blocks that are added to the postbits and the profile page are in separate templates so they are easier to modify and so you can modify them without manually adding them to the templates. The activity_rankblock template creates the WWU002_rankblock variables, which by default is just the rank text wrapped in a div if the rank text is enabled. The activity_statblock template creates the WWU002_statblock variables, which contains the activity and longevity information.

In the past, the feeling that I got was that people were not very interested in information in customizing the look, so I stuck with the customization information I've had since the beginning, but I'll try to put together a better explanation.

turkcom 05-03-2008 11:44 PM

how can i activate the border around the grahics?

WetWired 05-04-2008 01:00 AM

You need to add the CSS to your style as instructed in the installation instructions

turkcom 05-04-2008 07:35 AM

Quote:

Originally Posted by WetWired (Post 1507543)
You need to add the CSS to your style as instructed in the installation instructions

Thank you for this great hack.
It runs now perfectly.

Magnumutz 05-06-2008 07:17 AM

What was updated today? Cuz the change log is the same...

butch3r 05-06-2008 11:43 AM

Nothing changed..

Question to developer: why cp help do not display?

butch3r 05-06-2008 11:51 AM

And by the way: here comes xml for russian users
P.S. CPHELP phrases are not translated

WetWired 05-06-2008 12:15 PM

Quote:

Originally Posted by butch3r (Post 1510312)
Nothing changed..

Question to developer: why cp help do not display?

That would be a bug that noone caught in beta3, related to moving the options to their own pages.

Chadi 05-08-2008 10:35 PM

This hack is crashing the browser when viewing threads.

I've duplicated this in IE7, FF2/3 and Opera 9

WetWired 05-09-2008 02:31 AM

Can I get the output of AdminCP|Maintenance|Activity Maintenance|Configuration diagnostic, please?

I expect that it's a problem with the code for the postbit "Alternate position"; try setting it to "Default position" and see if the problem persists. Also, a sample postbit source when the problem is happening may be useful (or the source for the whole page). If "Default position" doesn't work, you can set it to "None," which completely removes the JS from the page but leaves everything else enabled, until I figure out the problem.

Xorn 05-09-2008 02:52 AM

Mod does not work for me. I uploaded .xml from manage products | Add/Import Products

but after that nada, i got nothing. Cant view it in vbullet options, or in the maintenence. all that shows up on my site is "novStats" under the postbit

Chadi 05-09-2008 04:24 AM

Quote:

Originally Posted by WetWired (Post 1513326)
Can I get the output of AdminCP|Maintenance|Activity Maintenance|Configuration diagnostic, please?

I expect that it's a problem with the code for the postbit "Alternate position"; try setting it to "Default position" and see if the problem persists. Also, a sample postbit source when the problem is happening may be useful (or the source for the whole page). If "Default position" doesn't work, you can set it to "None," which completely removes the JS from the page but leaves everything else enabled, until I figure out the problem.

Where is this??

AdminCP|Maintenance|Activity Maintenance|Configuration

I do not see anything under admincp > maintenance that has to do with activity maintenance or configuration.

WetWired 05-09-2008 12:20 PM

Should be here
Attachment 80192
If not, try Ctrl-F5 to force refresh everything. If you see the Activity Settings section at the top of the navigation, you should see the Activity Maintenance link.

WetWired 05-09-2008 12:22 PM

Quote:

Originally Posted by Xorn (Post 1513359)
Mod does not work for me. I uploaded .xml from manage products | Add/Import Products

but after that nada, i got nothing. Cant view it in vbullet options, or in the maintenence. all that shows up on my site is "novStats" under the postbit

You may have to force-refresh your AdminCP with Ctrl-F5 to see the new sections, though you should still see the stats in the postbit and user profile pages. If you see the Activity Maintenance link after refreshing, please run a configuration diagnostic and post the results, otherwise, please go to the Plugin Manager and check the Activity Modification section, which should look like this if the mod is propperly installed:

newtsys 05-11-2008 12:23 AM

all installed with ease but I can not get my post count to show. The box remains empty. Any suggestions here wetwired?

never mind I found it thanks anyways..

clicked installed

AppleTalk.tv 05-24-2008 11:56 PM

I know you said to check the .css in the instation guide, but I still don't see it mate.

I looked, but can't find it. Anyway I am trying to do two things.

One: Add a box for each of the four things. Around each of them. And then also if possible, how can I get the box around the whole postbit part of the activity? (and if it is just .css, around everything like they have)

Thanks for any info dude!

test site

there is an example of what I am trying to do with it.

Let me know. :)

WetWired 05-25-2008 03:53 AM

I really don't see how you can miss it. It's practically the only thing in the installation guide. I've highlighted it in the attached screenshot. Be sure to copy and paste from the actual activity_mod_install.html, as there is more to the right not shown in the image.

To add a box arround the whole thing, you'd add something like the following to the css:
Code:

table.WWU002postbit {border:1px solid black;}
which would add a 1px black border arround it.

safakuygur 05-25-2008 06:08 AM

thanks good hacks

DS MrSinister 05-26-2008 07:37 PM

Can you add a option that places the stats under the quick links and not the navbar it self. that would be great if you would..

Thanks

steve1966 05-27-2008 01:52 PM

great addition thank you

Super Jinni 05-27-2008 02:36 PM

one question

does it track user activities and show where user go and what he did? so if you want to know where every user went and what he did you can find that out in single page

does it do that?

WetWired 05-28-2008 04:25 AM

No, it only adds tracking for whether or not a user visited, and that only is used, with post data, to generate a number indicating how active a user is on the forum.

AppleTalk.tv 05-30-2008 05:39 PM

Alright I got the css to work. but now how does one center it in the center of the postbit?

nevermind. I just edited the activity_statblock and added <center> to the begining and </center> to the end.

Euro-Shakar 05-30-2008 06:56 PM

Hi, I'm a little bit new to all of this, so if my question may sounds a bit noobish,
sorry for that.

my forum current version is 3.7.1, I tried to install this hack, but seems like all get massed up in Admin cp and on the user profile...
In some parts you don't see the text that should be written.
now is it something that I need to try fix by myself? since I see that some basic things that should have work normal doesn't ... (text..)
or this patch support only 3.7.0 and I need to wait for 3.7.1 ?

Mr saleki 05-30-2008 08:38 PM

very good thanks sir

ninjamaster 05-30-2008 09:01 PM

thanks m8 will try this later :)

WetWired 06-01-2008 08:21 PM

Quote:

Originally Posted by Euro-Shakar (Post 1536491)
Hi, I'm a little bit new to all of this, so if my question may sounds a bit noobish,
sorry for that.

my forum current version is 3.7.1, I tried to install this hack, but seems like all get massed up in Admin cp and on the user profile...
In some parts you don't see the text that should be written.
now is it something that I need to try fix by myself? since I see that some basic things that should have work normal doesn't ... (text..)
or this patch support only 3.7.0 and I need to wait for 3.7.1 ?

I'm not sure exactly what you are asking. If you could, please go to the AdminCP|Maintenance|Activity Maintenance page (you may have to force-refresh your admincp for it to show), and click the Go button under Configuration Diagnostic. Please copy and paste the results page into a text file and post it.

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:38 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.01444 seconds
  • Memory Usage 1,832KB
  • 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
  • (3)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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