[BETA] Event medals.

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Satanasov
Registered User
Posts: 1041
Joined: Sun Jul 29, 2012 5:48 am

[BETA] Event medals.

Post by Satanasov » Fri Dec 06, 2013 4:01 pm

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.
Last edited by Satanasov on Sun Nov 02, 2014 2:16 pm, edited 14 times in total.

Satanasov
Registered User
Posts: 1041
Joined: Sun Jul 29, 2012 5:48 am

Re: [DEV] Event medals.

Post by Satanasov » Fri Dec 06, 2013 4:04 pm

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
Last edited by Satanasov on Sun May 18, 2014 2:40 am, edited 2 times in total.

User avatar
Darkness_demoN
Registered User
Posts: 105
Joined: Sat Jun 16, 2012 2:20 pm

Re: [DEV] Event medals.

Post by Darkness_demoN » Wed Dec 11, 2013 6:55 am

It looks interesting and i allredy have idea how to use it in my future forum :)

User avatar
sysz
Registered User
Posts: 278
Joined: Mon Jan 30, 2012 11:36 pm
Location: Sweden, Helsingborg
Name: Kimmy Lindell Ekström
Contact:

Re: [DEV] Event medals.

Post by sysz » Sun Jan 19, 2014 1:11 am

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 =)
Currently working on the community

Satanasov
Registered User
Posts: 1041
Joined: Sun Jul 29, 2012 5:48 am

Re: [DEV] Event medals.

Post by Satanasov » Sat May 17, 2014 11:52 pm

I'm Getting closer to the 1.0 version.

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

User avatar
Darkness_demoN
Registered User
Posts: 105
Joined: Sat Jun 16, 2012 2:20 pm

Re: [DEV] Event medals.

Post by Darkness_demoN » Tue Jun 03, 2014 11:00 am

Is it redy to try ? :)

Satanasov
Registered User
Posts: 1041
Joined: Sun Jul 29, 2012 5:48 am

Re: [DEV] Event medals.

Post by Satanasov » Sat Jun 07, 2014 4:19 am

It should be redy.

Go test at will.

Satanasov
Registered User
Posts: 1041
Joined: Sun Jul 29, 2012 5:48 am

Re: [BETA] Event medals.

Post by Satanasov » Sat Jun 07, 2014 4:22 am

Moved to BETA ... go dig for errors ...

User avatar
Kiweed
Registered User
Posts: 29
Joined: Sun Jan 01, 2006 9:30 pm

Re: [BETA] Event medals.

Post by Kiweed » Sun Jun 22, 2014 12:55 am

This is in my "needed" list if im going to migrate

Thanks heaps for your efforts!

:)

Satanasov
Registered User
Posts: 1041
Joined: Sun Jul 29, 2012 5:48 am

Re: [BETA] Event medals.

Post by Satanasov » Fri Aug 29, 2014 2:47 pm

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?

nicofuma
3.2 Release Manager
3.2 Release Manager
Posts: 529
Joined: Sun Apr 13, 2014 1:47 am
Location: Grenoble - France

Re: [BETA] Event medals.

Post by nicofuma » Fri Aug 29, 2014 3:00 pm

the missing space after phpbb_event_medals in 'INSERT INTO phpbb_event_medals'?
Member of phpBB Development-Team
No Support via PM

Satanasov
Registered User
Posts: 1041
Joined: Sun Jul 29, 2012 5:48 am

Re: [BETA] Event medals.

Post by Satanasov » Fri Aug 29, 2014 3:03 pm

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.

Satanasov
Registered User
Posts: 1041
Joined: Sun Jul 29, 2012 5:48 am

Re: [BETA] Event medals.

Post by Satanasov » Mon Sep 08, 2014 7:51 pm

Ok ... this release is ready ... going on the next assignment.

User avatar
noth
Registered User
Posts: 2433
Joined: Fri Jan 07, 2005 7:10 pm
Location: North Surrey
Contact:

Re: [BETA] Event medals.

Post by noth » Thu Sep 11, 2014 9:10 pm

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
UK planning forums got a planning application in the UK?

Satanasov
Registered User
Posts: 1041
Joined: Sun Jul 29, 2012 5:48 am

Re: [BETA] Event medals.

Post by Satanasov » Thu Sep 11, 2014 10:36 pm

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.

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: Elias, GoBieN, Naguissa and 28 guests

cron