Page 1 of 6

[BETA] Event medals.

Posted: Fri Dec 06, 2013 4:01 pm
by Satanasov
Image

Description:

I manage little forum and from time to time (once a month at least) we have gatherings to see us out of the online and fully on-life. This is good, but how to track who is active and who only talks?

This is why I created this little mod on 3.0 ... now almost converted to 3.1 extension.

Features:

Add event "award" (in my case medal) to user profile.
Allow user to choose who can see the awards*
Allow admin panel option to add medals
Allow admin panel option to change medals and delete them

Custom ACL for who can add and modify event awards except the administrators.

Status:

Ready

Requirements:
phpBB 3.1-a1 or higher
PHP 5.3.3 or higher

Repository:
https://github.com/satanasov/eventmedals


Installation:
1. As this mod/ext is developed to work with other modifications I have made in the phpBB 3 system it is required a bit of "manual labor" - you have to create new DB table called (prefix)_users_custom with UNIQUE column 'user_id' (like the one governing user IDs).

2. Copy repository to $phpbb_root_path/ext

3. Navigate to Admin Panel -> Customization -> Unable mod.

WARNING - The extension runs ok, but the sqlite3 tests fail. If someone can help with that it will be appreciated.

Re: [DEV] Event medals.

Posted: Fri Dec 06, 2013 4:04 pm
by Satanasov
30.12.2013
- Added edit/delete event in control panel
- Changed the way event medal table is working (droped the index and made primary the event/user_id relation)

18.05.2014
- Version 1.0.0

Re: [DEV] Event medals.

Posted: Wed Dec 11, 2013 6:55 am
by Darkness_demoN
It looks interesting and i allredy have idea how to use it in my future forum :)

Re: [DEV] Event medals.

Posted: Sun Jan 19, 2014 1:11 am
by sysz
This is the kind of mod i have been looking for my forum for a while now but i gave up rather fast when i realise it would probaly mean alot of work, so when i see this i simply cant wait until phpbb 3.1 and this Extension is released.

Keep up the good work mate =)

Re: [DEV] Event medals.

Posted: Sat May 17, 2014 11:52 pm
by Satanasov
I'm Getting closer to the 1.0 version.

A few more TO DO's ... Feel free to test and propose new features.

Re: [DEV] Event medals.

Posted: Tue Jun 03, 2014 11:00 am
by Darkness_demoN
Is it redy to try ? :)

Re: [DEV] Event medals.

Posted: Sat Jun 07, 2014 4:19 am
by Satanasov
It should be redy.

Go test at will.

Re: [BETA] Event medals.

Posted: Sat Jun 07, 2014 4:22 am
by Satanasov
Moved to BETA ... go dig for errors ...

Re: [BETA] Event medals.

Posted: Sun Jun 22, 2014 12:55 am
by Kiweed
This is in my "needed" list if im going to migrate

Thanks heaps for your efforts!

:)

Re: [BETA] Event medals.

Posted: Fri Aug 29, 2014 2:47 pm
by Satanasov
Hello guys ... I've started working on this so it can be finished on time.

But I hit a snag - all seems fine but the travis tests fail on inserting the object in the SQLite3 database.

Can someone take a look here and see if there is a mistake?

Re: [BETA] Event medals.

Posted: Fri Aug 29, 2014 3:00 pm
by nicofuma
the missing space after phpbb_event_medals in 'INSERT INTO phpbb_event_medals'?

Re: [BETA] Event medals.

Posted: Fri Aug 29, 2014 3:03 pm
by Satanasov
This is inserted by $db->sql_build_array('INSERT', $sql_ary) (otherwise there are two spaces)

You can see the efect in the last commit.

EDITED: About 1/8 of the functional tests are writen and work. I still can't make the sqlite3 to work - it fails with error.

Re: [BETA] Event medals.

Posted: Mon Sep 08, 2014 7:51 pm
by Satanasov
Ok ... this release is ready ... going on the next assignment.

Re: [BETA] Event medals.

Posted: Thu Sep 11, 2014 9:10 pm
by noth
but the Repository doesn't work :( and there is no Screenshot :?

Does the extension come with the medal images? I know some other BB software do these medals so phpBB would be good to have this (to keep up with the Joneses) AND I do like the sound of "Allow user to choose who can see the awards*" very slick :D

Re: [BETA] Event medals.

Posted: Thu Sep 11, 2014 10:36 pm
by Satanasov
Oh! Snap! I have forgotten to change the repo.

And yes it comes with the images. Tomorrow I will change the repo an add screensbots to all my extensions.

EDIT: Done.