Include the punbb api (common/common.php) and then there is a user variable with you can make sure it is not "guest"
2 2013-10-21 16:47
Re: [Extension] om_medals 0.0.3 (4 replies, posted in PunBB 1.4 additions)
Nice, you beat me to make a working version.
I just released my version, then realized you have created one!
3 2013-10-21 16:40
Re: [Extension] Medal Extension [0.1] (23 replies, posted in PunBB 1.4 additions)
Version 0.1 Released
There may be bugs, and the code is unclean, but it works.
Has:
Admins can register medals, and upload an icon.
Admins can give medals to a user.
Admins can revoke (take away) medals from a user.
Medals are displayed on author info in users post.
Coming soon:
Polish and comment code
Move grant/revoke a user's medal to user's profile
Add medals tab in user profile
Edit: just seen ommedals, it is your choice what you use.
4 2013-05-13 15:47
Re: [Extension] Medal Extension [0.1] (23 replies, posted in PunBB 1.4 additions)
All you need to do I add the folder to the extensions folder, and use the extensions manager to install it.
It is not complete yet, there is no way to give users medals (this is the only thing that needs to be done before release.
There is a "Medals" tab in the admin section, which is used to define medal types.
5 2013-04-14 13:45
Re: [Extension] Medal Extension [0.1] (23 replies, posted in PunBB 1.4 additions)
The first post has the link to the github repo.
TODO
Award medal to user form
bug fixing
Uninstall script
6 2013-04-12 16:53
Re: [Extension] Medal Extension [0.1] (23 replies, posted in PunBB 1.4 additions)
Progress:
Install script
Medal definition script
7 2013-04-12 13:59
Topic: [Ext Help] A manage page for my extension (2 replies, posted in PunBB 1.4 troubleshooting)
Where would the best place for a manage page for my extension be?
I have added a "manage" link to the admin > extensions page using:
if ($ext['title'] == "Medals"){
$forum_page['ext_actions']['manage'] = "<span><a href=\"\">Manage</a></span>";
}
But I do not know where I should place the actual page that manages it.
the page will:
Define and delete medal definitions
8 2013-01-29 16:53
Re: [Extension] Medal Extension [0.1] (23 replies, posted in PunBB 1.4 additions)
No, sorry. I have been busy lately
9 2013-01-02 16:29
Re: [Extension] Medal Extension [0.1] (23 replies, posted in PunBB 1.4 additions)
10 2012-12-21 18:43
Topic: [Extension] Medal Extension [0.1] (23 replies, posted in PunBB 1.4 additions)
This extension will add medals to the forum.
Has:
Admins can register medals, and upload an icon.
Admins can give medals to a user.
Admins can revoke (take away) medals from a user.
Medals are displayed on author info in users post.
Coming soon:
Polish and comment code
Move grant/revoke a user's medal to user's profile
Add medals tab in user profile
Here is the extension: https://github.com/rubenwardy/punbb_medals
Similar: ommedals, it is your choice what you use, they look exactly the same.