MyBB Central

Full Version: MYPS 1.09 Released ....again
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
Hehe...let's try this one more time. Smile

It's a HUGE update.

Check out this changelog.

May 27, 2007 version 1.09
===========================
Added rebuild setting to activation/deactivation
Added member profile section for myps with myps total,donation, and admin/mod edit
Added myps top 10 richest members to forum stats page
Added hooks to myps_recount, myps_display, myps_profile and myps_stats functions
Added logging for donations and mod actions
Added reset of moderator logs in admincp
Added reset of donation logs in admincp
Added Helpdocs section along with key for myps earnings and actions.
Added History section linked from usercp miscellaneous nav
Fixed recount function so if mypsperchar is 0 it will ignore the count so it's much faster
Fixed notification on donations
Fixed bug where guest can donate 0 myps
Fixed bug with language files in admincp

1.09 is running on this site so you can view how the new features work.

Check out your history page but it will most likely be blank until you make a donation to someone. And the new help page is great as you can point it out to members that are clueless how it works or what points are earned for what actions.

Enjoy and as always please point out any bugs. And yes...this is Mybb 1.2.7 compatible.
So I downloaded it. VERY NICE!

I still get the

Depreciated function call: update_forum_count

When deleting a post? Am I missing where to change this function or is it supposed to be changed in the MYPS files?

Thanks again Labrocca
I don't believe update_forum_count is used in MYPS.

EDIT: I just double checked and it's not. For whatever reason you get that message it's not from MYPS core.

Check all your plugin files...do a search for it.
Yes yes, thanks Lex and Labrocca on this. I found that function in the "Post on registration" plug-in. I have informed Tikitiki about it. Thank you again.

And the plug-in is working great as far as I can tell Labrooca. Post re-count worked. I like the new features. Again, great job. It's coming along well.
Thanks and yes...it does seem like it's coming along very well.
I've introduced "multipage" in the history page AND seperated Sent To from Recieved From Wink As default (when visiting myps.php?action=history ) it gives you the results from "Sent To" . For testing i've set itemsperpage to 1 .

[Image: multipage_history.jpg]

Edit :: In your history queries i don't see WHERE modaction='don' ... it also returns actions like add, ... mustn't they appear in the admin logs ?

Edit :: Using that 'timestamp' in the DB isn't a good idea =P it returns a wrong date =P My suggestion is to use a INT(11) and adding the time into DB by time() . That works without any problems overhere.

Edit :: Added Ways of Sort + Ordening =P (For sorting on username, i've added the username to the DB of sender and reciever )

// New Stats

[Image: myps_stats.jpg]


In the function ( function myps_display($post) { .... } ) There's need for a guestpost check. If a guest has posted, there appears "Points: (edit)"
Can easily be fixed by changing
Code:
if ($mybb->settings['myps_status'] != "off"){
into
Code:
if ($mybb->settings['myps_status'] != "off" && $post['uid'] != 0){
Dang Lex...you're finding all the bugs that's great. I was considering adding sort options eventually. Looks like you are helping me get to 2.0 a LOT faster. Smile

As for the history page displaying the moderator actions...I prefer not to as it's a history of donations. admincp will have all actions viewable in logs.

I guess the timestamp thing really pissed me off because I was having a problem getting it display in the format selected by the forums. DING- It just hit me why too. Sometimes I code too late at night and I have to wait till the next day to get my head straight.

Lex...if you can post all your file changes in a zip here that would be great. I want to take a look and see what I can add to MYPS core if you don't mind. You have done some excellent work and I thank you for the help. I will give you special mention and credit in future releases.
OK =P It should be a complete plugin [Template Changes, Table Change, Code Changes are all made] . If you have a test forum running, you could try it overthere.
Thanks and yes ..I have test forum. lo3.com/mybb/ hehe
Well, I've uploaded Lex's version on my forum. Seems to be doing well. Hopefully the points get accrued correctly, as I've been having problems with that. The recount does well, but then I've noticed that when someone posts, they don't get any points. Maybe it will do better now.
Pages: 1 2 3 4 5
Reference URL's