National Flags

More flags needed - National Flags

More flags needed

by Bullseye! » Mon Mar 06, 2017 1:24 am

How would I go about adding more flags... I looked the only United Kingdom one I found was Wales/Cymru.. well & Gibraltar, no Scotland, England or Northern Ireland... it could cause an international incident lol


Also when I goto setup in the ACP I get this message:

For National Flag Settings:
Fatal error: Can't use method return value in write context in /home1/bullseye/public_html/ext/rmcgirr83/nationalflags/controller/admin_controller.php on line 587
Other than that, it's an awesome extension!


~John~
Bullseye!
Registered User
Posts: 181
Joined: Sun Mar 21, 2010 11:42 pm

Re: More flags needed

by RMcGirr83 » Mon Mar 06, 2017 2:48 am

https://github.com/rmcgirr83/phpBB-3.1- ... 7706baf2a2

there is a button on the page that displays all the flags in the upper right where you can add flags. Upload of image must be set to 32 x 32.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22105
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: More flags needed

by Bullseye! » Mon Mar 06, 2017 10:32 am

Ok thanks for that.. I'll give that look, is there a reason for the cap error?
Bullseye!
Registered User
Posts: 181
Joined: Sun Mar 21, 2010 11:42 pm

Re: More flags needed

by RMcGirr83 » Mon Mar 06, 2017 10:47 am

What is a "cap" error?
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22105
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: More flags needed

by Bullseye! » Mon Mar 06, 2017 4:59 pm

Sorry, I was using the phone, it was meant to ACP.....
Bullseye!
Registered User
Posts: 181
Joined: Sun Mar 21, 2010 11:42 pm

Re: More flags needed

by RMcGirr83 » Mon Mar 06, 2017 5:19 pm

That is what the link on github I gave fixes. It is an issue with PHP versions less than 5.6
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22105
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: More flags needed

by Bullseye! » Mon Mar 06, 2017 7:48 pm

Done... I just updated to 5.6 :)
Bullseye!
Registered User
Posts: 181
Joined: Sun Mar 21, 2010 11:42 pm