Page 4 of 6

Re: [BETA] Event medals.

Posted: Mon Sep 07, 2015 10:07 am
by stratege1401
sorry, i did what ask ( manually creating the db stuff )

the acp stuff is working fine until i want to create a medal, then i have a new chrome windows opening with:

ERR_CONTENT_DECODING_FAILED ...

:mrgreen:

well, seem something went wrong

Re: [BETA] Event medals.

Posted: Mon Sep 07, 2015 8:06 pm
by Satanasov
Can you give me the step by step how you get this?

Re: [BETA] Event medals.

Posted: Thu Sep 10, 2015 9:04 am
by stratege1401
stratege1401 wrote:sorry, i did what ask ( manually creating the db stuff )

the acp stuff is working fine until i want to create a medal, then i have a new chrome windows opening with:

ERR_CONTENT_DECODING_FAILED ...

:mrgreen:

well, seem something went wrong
Well trying to give more info:

using phpBB v3.1.5 and PHP Version 5.4.20
using also a bunch of ext
and 3 styles (prosilver-proDVGFX(main style)-simplicity)

error occur for the 3 styles.

steps i follow:
- unzip and drop ext in /ext/bb3mobi/medals
- created new DB table called users_custom with UNIQUE column 'user_id' in good utf mode, of course
- Admin Panel -> Customization -> Unable mod DONE

i have done some screen cap:
next steps OK:
Image
Image
step 3: even manages to change the medal group name.
Image
Step 4: here come trouble, i put my first medal name in order to create it
Image
when button "crete medal" is push, i am redirected to ... nowhere
Image

screen cap under opera.

if this help.

also, my ext list:
ImageImage

thx ...

Re: [BETA] Event medals.

Posted: Thu Sep 10, 2015 9:12 am
by Satanasov
The extension should be placed in ext/anavaro/ not bb3mobi

No tables should be created manualy

Re: [BETA] Event medals.

Posted: Thu Sep 10, 2015 9:17 am
by stratege1401
Lucifer4o wrote:The extension should be placed in ext/anavaro/ not bb3mobi

No tables should be created manualy

... but i did found "name": "bb3mobi/medals", in json ...

anyway, will change it immediatelly !!!!

Re: [BETA] Event medals.

Posted: Thu Sep 10, 2015 9:19 am
by stratege1401
and by the way, less than 2 mns for anwser:

JE VOUS TIRE MON CHAPEAU !!! :D

Re: [BETA] Event medals.

Posted: Thu Sep 10, 2015 9:26 am
by Satanasov
stratege1401 wrote:
Lucifer4o wrote:The extension should be placed in ext/anavaro/ not bb3mobi

No tables should be created manualy

... but i did found "name": "bb3mobi/medals", in json ...

anyway, will change it immediatelly !!!!

Code: Select all

{
	"name": "anavaro/eventmedals",
	"type": "phpbb-extension",
	"description": "Adds support for event medals",
	"homepage": "https://github.com/lucifer4o/eventmedals",
	"version": "1.0.1",
	"time": "2014-08-22",
	"license": "GPL-2.0",
	"authors": [
		{
			"name": "Stanislav Atanasov",
			"email": "lucifer@anavaro.com",
			"homepage": "http://anavaro.com",
			"role": "Lead Developer"
		}
	],
	"require": {
		"php": ">=5.3"
	},
	"extra": {
		"display-name": "phpBB 3.1 Event medals",
		"version-check": {
			"host": "lab.anavaro.com",
			"directory": "/phpbb-ext",
			"filename": "eventmedals.json"
		},
		"soft-require": {
			"phpbb/phpbb": ">=3.1.0-RC2,<3.2.*@dev"
		}
	}
}

I think you are looking at different extension ...

Re: [BETA] Event medals.

Posted: Thu Sep 10, 2015 9:30 am
by stratege1401
wellllllllllll, maybe to much tea last night ... :mrgreen:

Re: [BETA] Event medals.

Posted: Thu Sep 10, 2015 10:00 am
by stratege1401
well, i feeeeeel sooooo stupid now !!!!

it does work !!! i do not know how i mix up the json ... i am using notepad++ and i may have mix up one of the file tabe ... so sorry.

just one last question, what is the exact format for the Custom images path:

Re: [BETA] Event medals.

Posted: Thu Sep 10, 2015 10:01 am
by Satanasov
stratege1401 wrote:well, i feeeeeel sooooo stupid now !!!!

i does work !!!

just one last question, what is the exact format for the Custom images path:
$folder/imagename.ext

Where folder is located inside the phpBB root path.

Re: [BETA] Event medals.

Posted: Thu Sep 10, 2015 10:16 am
by stratege1401
Lucifer4o wrote:
stratege1401 wrote:well, i feeeeeel sooooo stupid now !!!!

i does work !!!

just one last question, what is the exact format for the Custom images path:
$folder/imagename.ext

Where folder is located inside the phpBB root path.
Thank you so much, working fine !!!

Re: [BETA] Event medals.

Posted: Tue Nov 03, 2015 12:46 am
by RevRaz
I'm going to give this a try, is the information here current, just create the 1 table? I'll dig through the code to see what columns i need.

*Ok its uploaded, but the Extension Manager does not see it, only instructions I see is for the database, how do I get PHPBB to see it?

Re: [BETA] Event medals.

Posted: Tue Nov 03, 2015 9:58 pm
by Satanasov
This extension should be in $phpbb_root_path/ext/anavaro/eventmedals

Re: [BETA] Event medals.

Posted: Mon Nov 09, 2015 2:48 am
by RevRaz
Ok, got it to install.

I'm confused what to put in the Add Event Medals area. What do I put for Topic ID? Is that a forum post to reference? What do I put in Custom Images Path? Can I actually use custom images if so how? When I go to Edit Event Medals, in the Choose Event pulldown, the list is blank. If I choose the User and enter my name (where there is a medal), it says no medal found. When I view my profile, I can see the medal, but if I click on it, it goes viewtopic.php?t=0 which is blank. I assume this relates to my question above and I should be putting in a topic id that talks about the event or medal. At the bottom of my profile, I see Add Medal and Edit Medal, but both links say I don't have access to edit or add. What are the purpose of those links? In my profile area where I pick who can see the medal, I pick all, but when I go back to that area again, it still says No One. Does it not read the current setting? Sorry for the questions, I'm just a bit eager to get this working. Also, is there support yet for custom images? I'm hoping that's what the custom image path is referencing.

Thanks

Re: [BETA] Event medals.

Posted: Mon Nov 09, 2015 2:48 am
by RevRaz
Ok, got it to install.

I'm confused what to put in the Add Event Medals area. What do I put for Topic ID? Is that a forum post to reference? What do I put in Custom Images Path? Can I actually use custom images if so how? When I go to Edit Event Medals, in the Choose Event pulldown, the list is blank. If I choose the User and enter my name (where there is a medal), it says no medal found. When I view my profile, I can see the medal, but if I click on it, it goes viewtopic.php?t=0 which is blank. I assume this relates to my question above and I should be putting in a topic id that talks about the event or medal. At the bottom of my profile, I see Add Medal and Edit Medal, but both links say I don't have access to edit or add. What are the purpose of those links? In my profile area where I pick who can see the medal, I pick all, but when I go back to that area again, it still says No One. Does it not read the current setting? Sorry for the questions, I'm just a bit eager to get this working. Also, is there support yet for custom images? I'm hoping that's what the custom image path is referencing.

Thanks