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.
In the plugin file find this:

PHP Code:
            WHERE awuid='".intval($post['uid'])."'
            
ORDER BY u.awutime 

Change to this:
PHP Code:
            WHERE awuid='".intval($post['uid'])."'
            
ORDER BY u.awutime DESC
            LIMIT 0
,
Thanks for the code labrocca - it works great.

Is it possible to send the user who is awarded the award a personal message to let them know they have got the award?

Thanks,
Lee
That's next version.
lol I took like 30 minutes to realize I had to click the drop down menu for granting an award. You got to somehow "fix" that. It's confusing.
MyAwards is great but I would really love to see the following features :-
- Easier way to grant badges, maybe outside of the admin panel.
- Able to grant more than 1 badge at a time eg, I wan to give user1, user2 and user3 the same bagde. There should be a way to simply grant all at the same time.
- A way to grant badges automatically when the get a specific amount of Post count and Reputation.
Great plugin works great Smile
This works perfect , but 1 thing i wanted to ask , Like you have it in HF where if i put my mouse over it tells me the award name , In my forum i have to click on it to see the award name.
Go to the inc/plugins/my_awards.php

Find this:

$awards .= "<a href=\"myawards.php?awid=".$results['awid']."\"><img src=\"uploads/awards/".$results['awimg']."\" border=\"0\" alt=\"".$results['awname']."\" /></a>";

Change it to this:

$awards .= "<a href=\"myawards.php?awid=".$results['awid']."\"><img src=\"uploads/awards/".$results['awimg']."\" border=\"0\" title=\"".$results['awname']."\" alt=\"".$results['awname']."\" /></a>";

That adds the title tag which works on some browsers when you hover.
thanks lab, you the best bro.
Im having trouble w/ the #3 step of this. I'm new so I'm still trying to figure things out...any help?