MyBB Central

Full Version: My Awards 1.3
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
License is attached inside extras folder by using this software you agree to the terms of that license.

Mod Name: My Awards
Mod Author: Jesse Labrocca
Mod Website: http://www.MybbCentral.com
Mod Version: 1.3
Mod Mybb Compatibility: 1.4.2 (If you are running 1.4.1 or earlier you must upgrade first)
Mod File Edits: None
Mod File Uploads: 4
Mod Description: Give your users awards.

Installation

1. Upload Files
/root/myawards.php
/root/inc/plugins/my_awards.php
/root/inc/languages/english/myawards.lang.php
/root/inc/languages/english/admin/user_myawards.lang.php
/root/admin/modules/user/myawards.php

2. Create folder /root/uploads/awards/ (already included in download too)

3. Chmod /root/uploads/awards/ to 777.

4. Activate in admincp the plugin "My Awards".

5. You can now go into admincp under "Users & Groups" and you will see the nav menu on left for "My Awards".

The rest should be self explanatory.

DEMO: http://www.hackforums.net/myawards.php
http://www.mybbcentral.com/myawards.php

This plugin adds the award to the postbit (classic and horizontal). On the profile page you will see a row for the Awards and display the amount and a link to the details page. The awards page can also be directly linked to if you want to add a spot in your header. It's awards.php of course.

I plan to add more to this plugin but right now this is a great base. Any suggestions or bugs found please post at Mybb Central.

Troubleshooting Templates:
Here are the 2 template changes needed if they didn't take during install:

Template: postibit_author_user
Find:{$post['warninglevel']}
Add After:
Code:
<br /><!-- AWARDS -->


Template: member_profile
Find:{$reputation}
Add After:
Code:
{$myawards}


UPDATE 1.2:
Added a link from the awards to the award page in postbit.
Fixed a bug if no awards were given in the awards page.

To update simple overwrite existing files with the new ones. No activation/deactivation required.

Hopefully next version will have the Modcp for giving moderators ability to give awards from modcp.

UPDATE 1.3:
Fixed bug for forums with more than 65,000 members.
Added awards in private messages.
Added title tags to awards in postbits.

Thanks.


THIS IS A PAID PLUGIN. You must be a Mybb Subscriber in order to download it.
Wow this is a cool plugin. Congrats!!!
Thanking you so so much Labrocca. I have been hoping for a release like this. Exactly what i need for my style forum.
Im so happy.... where is the donate button?
Thanks Labrocca, this is a great plugin and one which will be used a lot on my board!
For me i had to add {$post['awards']} to the postbit template to get it to show as it had i think a comment there. Not sure as i deleted it already.
It is working and counting etc but not showing images. I have chmodded the directory and images show in CP.

*Update*

I seem to be unable to delete old awards from awards index.
Brilliant plugin Smile
Thanks for this plugin!

I have the same problem as Damin, How did you get the icons of the rewards on the postbit?
great plugin!
I have the same problem too
I had some issues getting template changes to work.

Here are the 2 template changes needed if they didn't take during install:

Template: postibit_author_user
Find:{$post['warninglevel']}
Add After:
Code:
<br /><!-- AWARDS -->


Template: member_profile
Find:{$reputation}
Add After:
Code:
{$myawards}

That's it. The rest should be good. I will test it more to see if something is wrong. I really don't like how that function works for plugins. It uses regex and normally screws up.
Quote:I seem to be unable to delete old awards from awards index.

Can you explain that further?