Jump to content

Flitterkill

Friends
  • Posts

    1,402
  • Joined

  • Last visited

  • Days Won

    4

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Everything posted by Flitterkill

  1. Kitchen Sink 11 Released! Should fix most of the stuff that needs fixing. Back when IPS 4.0 was released one of the first things I threw out into the Marketplace was a derpy little thing that allowed you to adjust the number of topics displayed (or files displayed) when viewing a forum or downloads category as IPS had for reasons unknown hardcoded it to 25 and had no setting to adjust it. IPS finally got around to sticking that setting in natively a version or two ago, and now with the Leaderboard this old code now conflicts. I should probably remove the free plugin from the Marketplace, as it is, jsut removing it from KS will solve that problem. This should fix the months old dual avatar display bug that occurred for some in the userMenu. Also when displaying dual stats (topic count and post count) I *think* it's better but not all the way there yet. I might not have folded those fixes into this dev build though. Yell at me if not.
  2. The blue circles means there are unread posts for you in the topic. Click the circle, takes you to the first unread post. If the circle is instead a star, that means that you have posted in the topic and there are unread posts in the topic. Clicking the star takes you to the first unread post. If the star is grey, that means you have posted in the topic but you have read everything in the thread. No circle or star means you haven;t posted in the topic but you have read everything in there. Should the topic title itself always link to the first unread post? Perhaps. If you want that behavior here you go: Now, here's where it get's tricky. If you don't want to use the above plugin and actually want a link within the topic to take you to the newest posts which is what you are asking for, hmmmm. Thing is, once you are in a topic, by defualt you have now "read" it. Not sure what you ask can be done (easily at least) on IPS4x. Best solution is probably the plugin linked above.
  3. Might have been caching that did it. I'll make a note to test that in the future. It may be that after dragging it to the top you have to disable/refresh/enable to get the datastore and other things going in the right direction again.
  4. Be sure to drag KS to the top of the plugin list in the ACP.
  5. System Overview grabs the size of your installed IPS directory. That's everything that is in there. To do that I have to crawl every file under your root IPS directory. All of them. There can be a ton of files there and that crawl might time out if your PHP script run time limit is on the low side. This is why I have this particular part of the widget on a 24 hour timer as it is a pretty hard routine. I can imagine on larger boards that have been in existence for years with all files stored locallly there could easily be 50,000 or more files to traverse. So, not out of the realm of possibility the next time you/someone else hits the dashboard more than 24 hours from now the same thing will happen. It seems the routine finishes behind the scenes so when you refresh the page after the page times out you are getting the IPS directory size already calculated and saved in settings. I'll give this a think and see if I can either do it another way or perhaps farm this method out to the IPS tasks system (which is probably what I will do...) Also, just a reminder to all. You have to allow access to /proc in your open_basedir settings if you are using open_basedir for security reasons. You also need to allow the disk_free_space (and diskfreespace) functions in PHP (not have them disabled). I can only get what you allow me to get...
  6. @Vianney Gantelmi No problems now?
  7. Looking at this now. It seems fine on profile view but when you tab over to the user's activity feed it bugs out. EDIT: Fixed. Gonna look at other stuff and see if I want to add anything else before release.
  8. Updates: Spacious ACP 5: - Fixes Online Admins widget avatar display Spacious Widgets 2: - Fixes stupid bug on my part that broke widgets on PHP7 installations - Better detection of disk space remaining - General code improvements @CodingJungle did me a solid and worked through some of my stupidity. The lesson being an unremarkable code error might *not* throw a whoops error while developing on PHP5 (and possibly PHP7 too...) and in fact the thing developed might work just fine. Until you put it on something running PHP7... Database widget is the next new thing and I'll probably get around to looking at responsive CSS for the widgets one of these days.
  9. Been sitting on some junk for awhile (other work had me elsewhere). While I've got a few I'll be working on an update to KS tonight. I think I'll get the better styled follow buttons in place. This also has the long time done but never released fix for the usermenu conflicts some have been having. Also, better handling of dual stats on forum views. Basically once you get into the five digit range for both stats or higher, formatting breaks. This will "fix" it but I'll probably have to add in few settings for you to adjust the width of that area manually for edges cases. That or just tell you the css to add. For those of you not following my work closely I've recently updated Spacious ACP. Much improved and it includes Spacious Widgets. You might want you some of that...
  10. PM me acp acess and I'll take a look
  11. Sounds like you got it figured out. spacious_acp.xml = theme spaciouswidgets.tar = app
  12. Well, there's nothng to "fix" per se... If your server has open_basedir set in php.ini it needs to allow /proc to be read otherwise I can't get at the memory and cpu info files. Now if there is a bug, it's that I might be caught out in recent IPS changes in how they make apps handle versioning. And that will be taken care of when I bite the bullet, update my dev install, and set a new version number on the file.
  13. Perfect. Looking now (or when I get the pm that is...)
  14. I'll need ACP access for this. PM me pls. (Although there is a tiny bug in the new version. Doubt it is causing your problems though...)
  15. Just updated the download for Spacious Widgets. Just grab the tar file from the Marketplace and then choose upload a new version from the app controls for SW in the Applications area of your ACP. Only two things. Those of you with open_basedir problems still need to allow /proc for pulling cpuinfo and meminfo information but this update fixes any problems with open_basedir and reading how much diskspace you have remaining. The other thing is I added some better text to the full details link. All that does is displays the entire contents of cpuinfo and meminfo. Now if you have the open_basedir problem I mention what you need to do rather than just say undetected. Again, this is in the full details link; the widget itself will still say undetected in those areas. I still (one day) have to go through this and add language vars instead of leaving a lot of this stuff hardcoded...
  16. So can you test again? It's working here. What sites were you trying to add? I should have probably mentioned this but if your site (or a site you are trying to track against) has no SW stats due to low traffic volume then nothing will be displayed. In this example, you can see the top SW embed shows the IPS site has super-low traffic so it isn't being tracked. In the second SW embed beneath, since this IPS site doesn't have any stats, it isn't being displayed at all. The other two sites I added are being displayed however. Also, the sites you choose, if one of them has traffic magitudes above the others, the graph will look like it has a single line up top (for the big site) and the other one or two will be buried at the bottom. Here, let me swap out slashdot.org for google.com... Arstechnica has 30-ish million views a month. Drop in the bucket compared to Google's 15+billion...
  17. @Foolboy Yes, just add /proc and that will fix the meminfo and cpuinfo pulls. Update later this afternoon will fix diskspace display. Just starting the SImilarWeb fix now.
  18. Hitting the sack now. The update will fix some of the system overview problems. Might need to fix the open_basedir stuff on your server. If you could pm me acp access I'll get on this in the morning.
  19. Finally got someone with "shared" hosting to test this against. I say "shared" as if you are using a control panel of some sort to set up everything on your server many times the way you configure websites ends up being as if you are running a shared hosting situation. Same difference. So, update to widgets is forthcoming (next 24 hours) that tightens up a few things. System Overview Widget: 1) open_basedir. A giant pain in the ... Those of you that are on true shared hosting will probably run into this problem. If you see undetected for some of the variables in this widget you probably have this problem. If this is enabled on your server (shared or otherwise) I will not be able to read in meminfo or cpuinfo at all. Centos/Red Hat/Ubuntu these "files" exist in /proc. You will need to add /proc in the open_basedir bit in... php.ini, httpd.conf, or other places depending upon how your server is set up. Those of you using VestaCP will need to edit the configuration templates, then rebuild the website in the control panel, and restart Apache, etc. Everyone will need to restart Apache/etc... when you change these settings. 2) Same problem with pulling diskfreespace as that makes an open_basedir check. Since this is just a check of free space available I changed the directory it hits to make the check from / to your IPS default directory. Gets the same result; bypasses the problem completely.
  20. Forum Statistics (Wide) Somewhat surprised we never got even a basic Forums widget out of the gate so here we go... First up is the distinction between content, topics, posts, and responses. IPS works off of a content model/philosophy. Everything is "content" and is actually recorded as such in the members database. You have a content count and that is topics you've made, images you've posts, posts made in topics, etc. All the same pile. This matters here as I strongly believe there is a distinction to be made between topics created and posts made within those topics. So, here I have a responses statistic. Responses are all the posts that are NOT the first or topic creation posts. Your forum may have but a few people starting converstations but many responding. Maybe you take action to get people to start more converstations? Perhaps you have many topics started but few responses? Well then, get working on that problem! Topics: Total count. Topics made over the last 28 days, last 7 days, last 24 hours. Responses: Same as above but just responses. The example above comes from a small forum used as a knowledge repository and there will always be far more topics than responses so treat the above as just a pretty picture. You've noticed the bar graphs on the right sides of course. These are the last 8 weeks of your topics and responses. Hover over each bar to get the amount created each week. I then do some derpy math to get the high mark, flag it at 100%, and graph out the others in relation. Enjoy your 8-week trend lines (read them left to right, 8 weeks out to 1 week out). Again, RTL languages I have no CSS for. Buyer beware; or hit me up with access to a site so I can work on it. Yes, looking much further back would be more valuable but treat this as near-term information to catch trends as they happen; not the long term history of your forums. That will require far more work than I'm willing to invest in a single widget. Also, don't yell at me for my great and grand bar graphing abilities. I LOVE D3 and svg drawn graphs and dashboards and all that but I'm not gonna start pulling javascrpt libraries and doing that sort of work for just a widget or two. Besdies, I have divs, and background colors, and css transform? What else do I need One tiny quirk here with this method. Any weekly value that actually would be zero I have to display as 1px high otherwise the bar won't display. Told you this was derpy! What else we got? The usual counts. Forums with most topics. Forum with most posts. These are all linked by the way (opens in a new tab). Top three topic starters and top three responders. I think I'll add in a... hmmm... 2 week?...4 week?... lookback for these so you can see who's performing now rather than all-time. I'll still leave these here of course or hide them with a popup modal under a more details button. Lastly there is a highest repped post link. The link text is for the topic but the link goes to the post itself. That was by request though you can now find a better front end widget in the Marketplace I believe.
  21. Member Statistics (Wide) First of the wide only widgets. The reason is the stat bar. I still need to add some css to account for phone view but that at least is doable. Side view is going to require some reworking to make it fit and I'm not sure if it is worth it honestly. Maybe I can do it all with the plain responsive css. We'll see... Anyways... yes, Members! Member count plus the last 28 days (four week), last 7 days, and last 24 hours active counts. That's unique counts of course. This way you can track how many members are actually actively participating in your forums (or at least visiting a bit). The inactive count are the number of unique members who have not visited your site in the last 6 months. Could be a variety of reasons but more or less if gives you an idea of how much dead member weight you are carrying. It's one thing to brag about a forum with 10,000 members but not so much when only maybe 200 are active... Again, its numbers for you to think about. Members on-line are the members publicly or anonymously on your site right now. Guests are, well, guests on-line - might/probably counts search bots too. New member count is a simple count of new registered members over the last 7 days. I do have some more to add on here but if you are expecting a wide ranging statistical package, don't. If you want a nice member count by week I hear you but again, not going to happen with these widgets as those numbers aren't being tracked anywhere and will require some back-end work well beyond the scope of these widgets.
  22. SimilarWeb (Wide and Side) SW is one of those traffic/ranking services. These are thier two default widgets packed together in one IPS dashboard widget. First one covers the sources of traffic to your site, the other one tracks visitor counts. You can track two additional sites alongside your own on visitor counts. Just go to Spacious Widgets settings and add them in. Stats will be "rough" unless you sign up and so on and so forth but they are a pretty decent starting point even without working with SimilarWeb directly. Alexa (Wide and Side) Your basic stock Alexa ranking (for whatever that is worth...). I hit the API every 7 days so refreshing madly won't help you (they update on a 7 day schedule anyways). Pulls both global and national rankings. Flags up/down when it refreshes based on last value. Hit the button to go to the Alexa page for your site. No I'm not planning on storing past values for weeks on end; this is just a derpy little thing to give you something to think about. When you first add this widget to your dashboard nothing will display. Just refresh the page to kickstart it. I used this widget to play around with using the IPS settings database as low-end CRON (instead of the IPS Tasks system) Don't be put off by the screenshots here. Spacious ACP allows you to toggle on/off the modern dashboard widget style. These screenshots were on the default style.
  23. Gallery Overview (Wide and Side) Mostly a rework of the default Gallery widget but with the new style Spacious stats. The dskspace count is only the originals. That isn't indicated on the IPS Gallery widget and it should be as you may get the idea that that is the entirety of the Gallery space being used. Technically, it's correct, but every image also gets built out into large, medium, small versions but those are stored elsewhere and thier sizes not recorded in the database. Obviously you can see the big addition here. Four most viewed images. Yes those are linked as well. Totally responsive so feel free to use this widget wide or side. Don't have Gallery? Well, I did check for that but by all means use the widget for what good it will do you Recent System Errors (Wide and Side) Last five errors, linked. Errors within the last 24 hours are flagged with a red background. System logs direct link too. Made this as I wanted to see errors as they are being thrown, not a week or two later when I get around to looking at the logs.
  24. System Overview (wide and side views) For this I grab meminfo and cpuinfo plus a few other things. Server Load: Number of threads you have available to you mathed out to the actual load percentages. That's in order of 1 minute load, 5 minute load, 15 minute load. This is a live look every time you view the dashboard. If you need help with these numbers you can ask here in this thread but you may get better help in the Server forums here in the IPS forums. Total System Memory: Keep in mind that many times these numbers are going to be conservatively rounded for display. The server used for the above screen shot has 2GB of memory but when you get the actual bit numbers it will work out to that. No worries. VPS, shared, or dedicated this is the amount of memory availabe to you. Memory Available/Memory Free: This stat will display as one or the other depending upon what your server supports. Older servers will only display memory free which is the technically correct amount of un-used memory on your server. However, that number is somewhat misleading, and so, newer versions of memino provide memory available which is, as you can guess, the amount of memory available to be used. Long technical discussion to explain it but simply put, some memory in use is just being used becasue it can be used, not because it *must* be used and that is a critical distinction. Most server will have the up to date meminfo and will display memory available. IPS System Size: This is the total size of your local IPS installation. All of it. It does not pull in the size of any off-server storage. That means if you have set up a separate FTP or Amazon S3 storage for whatever, that is not being accounted for. This statistic updates every 24 hours as crawling the entire IPS installation directory is somewhat expensive. IPS Database Size: How big your data and index are. Server Diskspace Available: How much you have to work with. For everyone except Community in the Cloud users once this number drops to something like 5GB of space you'll get a yellow wrap warning and less than 1GB it will be red. I'll probably let you set these alert levels in a later update. CIC users should go to the Spacious Widgets settings and toggle on the CIC user setting and then enter your quota amount. This will change the Server Diskspace Available stat to Quota Remaining and will work the same as Diskspace Available. CIC user will not get yellow/red warnings on low useage. Marked for a later update. More details will pop out a modal giving you a bit more information (not that big of a deal) and for users wanting the straight up cpuinfo and memifo files hit the full details link. Now for the caveats... I can't control what your server provider allows. There may be cases where the reading of cpuinfo and meminfo are prevented. Can't help you there, sorry. Also, there may be cases where I can't crawl your IPS installation correctly due to a server setting. Might be able to get around that but I got no takers for shared hosting beta testers so here we are ... And lastly, CIC users. You will not (or should not? I forget already...) have server load displaying as a stat. IPS staff member <NAME REDACTED> assured me that the secret Amazon sauce they use to create and load balance the CIC stuff means that the load statistic is somewhat meaningless. I've seen stunningly high and stunningly low numbers when testing on a CIC site with no real feel for impact one way or the other so I have no reason to not believe <NAME REDACTED>. To save the support crew some grief I've just pulled that stat out when you toggle on CIC user in the settings. Inquisitive minds can still find out what they use for the base Amazon cloud system and the database they use. Enjoy! @EmpireKickass No sample version. It works. No reason for it to ever not work unless IPS does something way drastic like blow up the theme system. And the widgets are pretty isolated from everything else; they would have to, again, blow up the dashboard widgets in a future update and then it would still be just updating to the new normal.
  25. Spacious Widgets Before diving into the widgets themselves, let me show you the options menu. Under the cusomization tab you'll find the settings for Spacious Widgets. It may not seem intuitive but this is where you can change the ACP login page settings (not in the Spacious ACP theme settings). It was far easier to do here with the application and some hooks than using a theme and let's leave it at that. If you want to add custom background images to the ACP login page please grab this from the Marketplace. It's free and does a fantastic job. No need for me to duplicate that work here. What you do get though is the ability to change the background color (if not using that image addon above), change the login text, some font colors, etc. Knock yourself out. The other settings are for the System Overview widget and the SimilarWeb widget and will be discussed later in this thread. Widgets marked in this thread as Wide and Side will work correctly in both positions. Those marked with just wide will really work just in the wide position. This will eventually be worked around but will require a ton of css work. This is because dashboard widgets have little if anything to do with the blocks/widgets you get on the front end. Those get a variable passed through to them indicating vertical or horizontal meaning you can account for position in the widget template. Here in the dashboard, nope, which means really tough css to get around it (if even...)
×
×
  • Create New...