Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Number of reactions in Prostats 1.9.6
#11
(03-06-2019, 11:13 PM)vintagedaddyo Wrote: @canadacommunity

No worries, glad it may help some folks. Perhaps if and or when I have the free time to do so I shall look into maybe adding full localization support thus removing all hardcoded text.

@vintagedaddyo

That would be awesome, but once again thanks for the current prostats fix!
Reply
#12
Great! Thanks a lot Vintagedaddyo!
Reply
#13
(03-07-2019, 06:57 AM)wageral Wrote: Great! Thanks a lot Vintagedaddyo!

No worries, glad it helped. Keep an eye on the github repo...., no promises when as I have alot of other stuff going on in life at the moment, but when I get the free time to do so I will try and make it a point to at least add full localization support for this pkg version..., as I think that will vastly improve the existing pkg and hopefully make the usage more readily available to a larger array of locales and users.
MyBB Themes Team - Making more professional themes by the hour. (Retired)
My Mods | Offer me a coffee!
Reply
#14
It is probably a dumb question but why there are two 'prostats.php' files in the package; one in the root (together with the 'floatstats.php') and another one in 'inc/plugins'.
Is there a reason for that? (I want to learn more about it, that's why I ask)

Package: https://github.com/vintagedaddyo/MyBB_Pl...ter/Upload

Note: in earlier versions there was only one 'prostats.php' , located in the inc/plugin folder........
Reply
#15
@vintagedaddyo
Oh for awile I noticed one other small bug in prostats  (it is to do with the time in the last 24 hours) in latest post, is there any way to fix this please? I circled the problem in the picture attached to this post.



   
Reply
#16
(03-07-2019, 04:37 PM)wageral Wrote: It is probably a dumb question but why there are two 'prostats.php' files in the package; one in the root (together with the 'floatstats.php') and another one in 'inc/plugins'.
Is there a reason for that? (I want to learn more about it, that's why I ask)

Package: https://github.com/vintagedaddyo/MyBB_Pl...ter/Upload

Note: in earlier versions there was only one 'prostats.php' , located in the inc/plugin folder........

Oh, thanks for pointing that out when I uploaded the repo I must have forgotten to take that out of my local directory..., was a lil tired and meant to remember to remove that but must have forgotten in the process of tackling several projects at once.... primarily I had that in there for my own usages ie: edit primay in main the copy to correct package directory...., sorry, I will remove that from the repo shortly and you can disregard that file. ** should be sorted now, I had to overwrite the files as when I was removing them both I realized one was the file with your extra requested modification and so I needed to re-add that..., hahaha, I'm human too and often get overworked when having to handle several projects at once, while also managing to respond and help in support requests while often times lacking in sleep so I can make mistakes like that, the fact that I also have to hotspot into my phone or simply use my phone to do any of this online and being in a almost total deadzone also does not help things to say the least but I try to correct any issues when I can. Should be all good now though.


(03-07-2019, 09:45 PM)canadacommunity Wrote: @vintagedaddyo
Oh for awile I noticed one other small bug in prostats  (it is to do with the time in the last 24 hours) in latest post, is there any way to fix this please? I circled the problem in the picture attached to this post.

Did you modify the input? Ie: to set for today/ yesterday ? temporarily you could simply empty that input ie: m-d until I have time to look at it and it should remove your issue for now*


Anyhoo, thank you for bringing this to my attention and I will add this to my evergrowing list of things to do if and or when my free-time allows.

Look for:

Quote:Date and Time format

The format of Date and Time which would be used in stats. [More Information]

m-d, H:i


* ok, you can simply replace date time format with:

M-d, h:i

And keep the following as is:
Quote:Date and Time variable part

A part of Date and Time format that must be replaced with "Yesterday" or "Today".
m-d


Should hopefully sort you out:
[Image: nme243.png]

Commit added to repo:
https://github.com/vintagedaddyo/MyBB_Pl...67280e6fe3
MyBB Themes Team - Making more professional themes by the hour. (Retired)
My Mods | Offer me a coffee!
Reply
#17
(03-07-2019, 10:53 PM)vintagedaddyo Wrote:
(03-07-2019, 09:45 PM)canadacommunity Wrote: @vintagedaddyo
Oh for awile I noticed one other small bug in prostats  (it is to do with the time in the last 24 hours) in latest post, is there any way to fix this please? I circled the problem in the picture attached to this post.

Did you modify the input? Ie: to set for today/ yesterday ? temporarily you could simply empty that input ie: m-d until I have time to look at it and it should remove your issue for now*


Anyhoo, thank you for bringing this to my attention and I will add this to my evergrowing list of things to do if and or when my free-time allows.

Look for:

Quote:Date and Time format

The format of Date and Time which would be used in stats. [More Information]

m-d, H:i


* ok, you can simply replace date time format with:

M-d, h:i

And keep the following as is:
Quote:Date and Time variable part

A part of Date and Time format that must be replaced with "Yesterday" or "Today".
m-d


Should hopefully sort you out:
[Image: nme243.png]

Commit added to repo:
https://github.com/vintagedaddyo/MyBB_Pl...67280e6fe3


Thanks again for replying quickly, so i have done one thing and that is....

searched for this in prostats.php


'value' => ps_SetSettingsValue('ps_date_format', 'm-d, H:i'),


replaced it with below



'value' => ps_SetSettingsValue('ps_date_format', 'M-d, h:i'),


I have refreshed my board a few times but the 000000 still shows probably due to dns cache unless there is something else i must do. Again thanks so much for your help @vintagedaddyo
Reply
#18
(03-08-2019, 01:56 AM)canadacommunity Wrote:
(03-07-2019, 10:53 PM)vintagedaddyo Wrote:
(03-07-2019, 09:45 PM)canadacommunity Wrote: @vintagedaddyo
Oh for awile I noticed one other small bug in prostats  (it is to do with the time in the last 24 hours) in latest post, is there any way to fix this please? I circled the problem in the picture attached to this post.

Did you modify the input? Ie: to set for today/ yesterday ? temporarily you could simply empty that input ie: m-d until I have time to look at it and it should remove your issue for now*


Anyhoo, thank you for bringing this to my attention and I will add this to my evergrowing list of things to do if and or when my free-time allows.

Look for:

Quote:Date and Time format

The format of Date and Time which would be used in stats. [More Information]

m-d, H:i


* ok, you can simply replace date time format with:

M-d, h:i

And keep the following as is:
Quote:Date and Time variable part

A part of Date and Time format that must be replaced with "Yesterday" or "Today".
m-d


Should hopefully sort you out:
[Image: nme243.png]

Commit added to repo:
https://github.com/vintagedaddyo/MyBB_Pl...67280e6fe3


Thanks again for replying quickly, so i have done one thing and that is....

searched for this in prostats.php


'value' => ps_SetSettingsValue('ps_date_format', 'm-d, H:i'),


replaced it with below



'value' => ps_SetSettingsValue('ps_date_format', 'M-d, h:i'),


I have refreshed my board a few times but the 000000 still shows probably due to dns cache unless there is something else i must do. Again thanks so much for your help @vintagedaddyo

did you uninstall it before you did this? because if not then you might need to do so if you are editing the file and not simply editing the input in acp to submit to dbs..., if it was not uninstalled then you would follow my instructions above and submit via acp input and not edit the core files also note those edits you just did are already submitted via github as I mentioned above: Commit added to repo: https://github.com/vintagedaddyo/MyBB_Pl...67280e6fe3 ..., so you could simply download the changed file rather than make the file edit.

* also note if you are using my thanks plugin with this..., https://github.com/vintagedaddyo/MyBB_Plugin-Thanks or https://community.mybb.com/mods.php?acti...w&pid=1127 I just fixed the empty value issue I just noticed on revisiting it in php 7.2 when you created a user the error would occur, anyhoo, so you would need to reinstall that plugin also..., this sort of thing happens because I don't actually use these things nor do I currently run a forum and often times it may be a year or years before someone points out an issue for me..., I work like so, I update them, fix them and then forget about them until the next time I have to help someone..., hopefully that makes sense
MyBB Themes Team - Making more professional themes by the hour. (Retired)
My Mods | Offer me a coffee!
Reply
#19
@vintagedaddyo

please bare with me.....  Blush
When i click on your url https://github.com/vintagedaddyo/MyBB_Pl...ostats.php  i dont see anywhere i can download the prostats php file but i can copy the whole text. Do I have to be a member in order to download it? Is there something I am not seeing? Here is a screenshot of what i see below in the attachment

   




Moving onto the Thanks plugin YES i also use this as it works well with prostats so I guess you have fixxed out some issues/bugs so right now I will upgrade it and let you know.  Wink
Reply
#20
(03-08-2019, 02:39 AM)canadacommunity Wrote: @vintagedaddyo

please bare with me.....  Blush
When i click on your url https://github.com/vintagedaddyo/MyBB_Pl...ostats.php  i dont see anywhere i can download the prostats php file but i can copy the whole text. Do I have to be a member in order to download it? Is there something I am not seeing? Here is a screenshot of what i see below in the attachment






Moving onto the Thanks plugin YES i also use this as it works well with prostats so I guess you have fixxed out some issues/bugs so right now I will upgrade it and let you know.  Wink

judging by your screenshot, I assume that you are on desktop..., ok you go to the reo page not file page for example:

https://github.com/vintagedaddyo/MyBB_Plugin-Prostats in the top corner there is a green button that says clone or download..., select download as zip

same also applies for mobile view but you must select desktop view to see the button

*note as for the desktop, don't select open in desktop unless you have the github desktop application for mac or windows and are trying to clone the repo for say further development purposes..., so for your usages download as a zip file is the way to go

** Also note: I added it to the mods site even though I had not planned on doing that until I had finished localization

https://community.mybb.com/mods.php?acti...w&pid=1232
MyBB Themes Team - Making more professional themes by the hour. (Retired)
My Mods | Offer me a coffee!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)