Jump to content

Members Stats on Board Index Sidebar


Adriano Faria

Recommended Posts

Members Stats on Board Index Sidebar


This hook will crate a new block on board index sidebar to show the following stats from members:

Newest Members

  • Top Authors
  • Top Posters
  • Top Posters Today
  • Top Best Answeers
  • Top Reputation
  • Most Visited

Admins can choose the default filter and use a cut off setting to filter by time frame:

  • All Time
  • Last 24 Hours
  • Last 7 Days
  • Last 15 Days
  • Last Month
  • Last Six Months
  • Last Year

The cut off setting doesn't apply to Newest Members, Top Posters Today and Most Visited filters. The block will be updated via ajax to show files from the chosen option.




 


  • Submitter
  • Submitted
    06/09/2013
  • Category
  • Discussion URL
  • Support Info
    <p><iframe src="https://invisioncommunity.com/topic/388233-members-stats-on-board-index-sidebar/?do=embed" data-embedcontent="" frameborder="0"></iframe></p>
  • Supported Versions
    0,IP.Board 3.4.x
Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 77
  • Created
  • Last Reply

This doesnt seem to work properly on my custom theme, when I expand the list it goes down to the bottom right corner, any idea howto fix?

Ok. Made tests on skin you sent me. This hook was based on Blog index filters:

SOS-1372165299-U1.png

Your skin didn't work on IP.Blog as well:

SOS-1372165329-U1.png

Also tested in a few other skins and works fine:

SOS-1372166095-U1.png

SOS-1372166297-U1.png

So the best you can do is ask for support to the skin author, since it doesn't work on a official APP (Blog), which my hook is based.

You can always ask for a marketplace moderator to test it as well.

Thank you.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...

it would be great if you would add the time cut-off ability for this mod.

so if would show today's / last week's / last month's - top authors/posters/best answers/reputation/visited.

most of the statistics seem stagnant and rarely changing except for top posters today :)

Link to comment
Share on other sites

No, sorry. So it would require 15 new menus in the end! :o

It seems a little too much for me.

No no no what I means was to add an extra settings in the ACP where stat time span is determined. For example now it acts like 'all time' stats.

And you could add just one setting , lets call it timespan and it would have a dropdown menu where you can select only one of the following:

- 1 day

- 1 week

- 2 weeks

- 1 month

- 3 months, 6 months, year and so on

and finally

- of all time

and this setting would affect only these lists. (newest members and top posters today would not be affected by it)

  • Top Authors
  • Top Posters
  • Top Best Answers
  • Top Reputation
  • Most Visited

also you need to have a setting where you determine which filter is default one. because I personally believe that top today's posters is more interesting to see than newest members. but that's just my opinion anyway. :)

Link to comment
Share on other sites

  • 2 weeks later...

I would be also interested in time span setting. For me is the all time stat is not so interesting. But daily or weekly stats. It is also better for new user experience if they see that they can get into the top of Best Answers or Reputation received. When no time span is defined then the same old users appear in the block for a long time. No changes.

Link to comment
Share on other sites

it would be great if you would add the time cut-off ability for this mod.

so if would show today's / last week's / last month's - top authors/posters/best answers/reputation/visited.

most of the statistics seem stagnant and rarely changing except for top posters today :smile:

I would be also interested in time span setting. For me is the all time stat is not so interesting. But daily or weekly stats. It is also better for new user experience if they see that they can get into the top of Best Answers or Reputation received. When no time span is defined then the same old users appear in the block for a long time. No changes.

So far, new settings:

  • Permission: which user groups you DON'T WANT to show the sidebar block
  • Default filter: admin now can choose which filter will be default
  • Filters visibility: admin now can choose if wants to show/hide specific filters
  • Cut off for filters: Last 24 Hours, Last Week, Last 15 Days, Last Month, Last Six Months, Last Year and All Time (default)

SOS-1380845051-U1.png' alt='' class='ips" alt="SOS-1380845051-U1.png">

It's missing only the cut off stuff to release... I'll leave it for tomorrow.

PS: price will be raised to $10 after all those additions. If you're willing to buy it, this is the right time. :smile:

Link to comment
Share on other sites

  • Most Visited

Unfortunately I won't apply the cut off setting to MOST VISITED filters, due to the way visits are stored on DB (serialized array on profile_portal.pp_last_visitors). It would require to load ALL members, unpack ALL these serialized arrays, then do a selection on which to include/exclude from the count. Not efficient at all if you have 10.000, 20.000, ... 50.000 members and so on...

So the cut off setting won't affect the 'Newest Members', 'Top Posters Today' and 'Most Visited' filters.

I will release it within an hour.

Link to comment
Share on other sites

What's New in Version 1.1.0:

  • Added setting to admin choose which user groups will not see the sidebar block
  • Added setting to admin choose which filter will be default
  • Added setting to define which filters will appear on sidebar block
  • Cut off for filters: Last 24 Hours, Last Week, Last 15 Days, Last Month, Last Six Months, Last Year and All Time (default)
Link to comment
Share on other sites

Adriano just noticed something on the hook, for example i have set top reputation as default filter , it shows fine but then if you change to another and go back to top reputation it only shows one.

also on settings it says Toop Repuatation

having still the cut off on all time

Link to comment
Share on other sites

Adriano just noticed something on the hook, for example i have set top reputation as default filter , it shows fine but then if you change to another and go back to top reputation it only shows one.

having still the cut off on all time

True. On my board it shows the right number of users but different number of likes! :o

Funny 'cause the script in XML and in ajax file are the same! Will need to take a look at this during the weekend.

Link to comment
Share on other sites

Adriano just noticed something on the hook, for example i have set top reputation as default filter , it shows fine but then if you change to another and go back to top reputation it only shows one.

also on settings it says Toop Repuatation

same here, also sql error are generated when top reputation was choosed manualy from drop-down menu.

Link to comment
Share on other sites

SQL Error doesn't happen on my baird, not even on Raw's board, since he didn't mention it. Anyway, post the log!

Follow the file and you'll get notified when it gets updated.

first of all - do not shout :/ second - i follow the file and no fix yet :/

third : after i choose top reputation i get an error :

Error: 1054 - Unknown column 'xx.record_id_1' in 'field list'

full logfile was send to you via PM.

Link to comment
Share on other sites

Who's shouting?!? If you said that because "SQL" is on caps lock, then I must tell that everyone out there uses SQL instead of sql.

...and yes, it's not fixed 'cause I said I can't reproduce your issue. How do you expect me to fix an error that's happening only to you? I can confirm the difference in reputation points in default filter and on ajax update, but not an SQL Error.

Anyway, I'll see what your log says.

Thank you.

Link to comment
Share on other sites

...and yes, it's not fixed 'cause I said I can't reproduce your issue. How do you expect me to fix an error that's happening only to you? I can confirm the difference in reputation points in default filter and on ajax update, but not an SQL Error.

Anyway, I'll see what your log says.

Just took a look and the error is happening on a database of IP.Content: database ccs_custom_database_1, field record_id_1. I don't have IP.Content. That's why I can't reproduce your error!

Is reputation system working just fine on that database ? Any problem on your database ?

I don't have IP.Content but it will help if you say something. Otherwise I will have to ask a customer of mine that has it to install the hook and test the reputation on it. If the hook works (shows reputation for database), then the problem will not be on my hook.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...