Flags?

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Scam Warning
User avatar
david63
Registered User
Posts: 17381
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Flags?

Post by david63 »

Allen142 wrote:When does this support as an extension?
When somebody creates it
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Flags?

Post by RMcGirr83 »

david63 wrote:Has anyone requested them and/or created PRs for them?
No idea but one would think that registration and other items in the UCP would come rather firstlyish. That doesn't lesson the fact that they still don't exist.
david63 wrote:
Allen142 wrote:When does this support as an extension?
When somebody creates it
and when the events exist to be able to make an extension for it.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
Wolfsblvt
Registered User
Posts: 634
Joined: Sun Oct 26, 2014 9:12 pm
Location: Solingen, Germany
Contact:

Re: Flags?

Post by Wolfsblvt »

RMcGirr83 wrote:Until the UCP files get updated to add events it is not possible to port 3.0 mods that add items such as this. So waiting for UCP events.
What events are missing?
There are some. I used them in my online time extension, for example.
ucp_prefs_personal_append.html
php functions
If you have a specific extension request and you are willing to pay for, you can write me a PM.
My extensions (Trending: @Mention SystemAdvanced PollsUser Online Time)

»Du kamst zu uns. Deine Stimme kam. Du zeigtest uns die Sterne. Sie funkelten. Wir konnten sehen.«

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Flags?

Post by RMcGirr83 »

Ones for ucp_register (eg, to hook an anti spam thingy during registration) as well as ucp_profile for starters.

I use the prefs for my elonw extension but as that has to do with the users preferences on the forum doesn't really seem to fit for a flag extension. profile would be better for this...though I suppose a module could be created to circumvent this issue.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
cece74
Registered User
Posts: 498
Joined: Mon Jan 12, 2015 8:55 pm

Re: Flags?

Post by cece74 »

Me too need this extension. I hope that someone developments. Thank You.

User avatar
Frogmen
Registered User
Posts: 120
Joined: Fri Dec 28, 2007 11:48 pm
Location: Palma De Mallorca. Spain

Re: Flags?

Post by Frogmen »

No Flags? :cry:

LPRI
Registered User
Posts: 148
Joined: Thu Feb 21, 2013 1:06 am

Re: Flags?

Post by LPRI »

Flags please! :D

sp3ctre
Registered User
Posts: 303
Joined: Sun Jul 15, 2007 11:06 am

Re: Flags?

Post by sp3ctre »

This extension is one I use on my 3.0.13 board... It works really well and helps in cutting down spam in the following ways:

- I found a lot of new spam users were coming from Tapatalk... I found this as it bypassed the required field (i.e. no flag shown)
- Spam accounts often choose the first option in the list (Afghanistan!). Funnily enough I don't have many users there!

For these reasons I would like the mod to be on 3.1 as well, as it is really useful, as well as helping forum users know where people are from. i.e. no point recommending a service in the UK to someone in the US.

sp3ctre
Registered User
Posts: 303
Joined: Sun Jul 15, 2007 11:06 am

Re: Flags?

Post by sp3ctre »

Thinking about it, I wonder if this could be simplified a lot... Would it not be possible to have the following? :

- Simply create a mandatory profile field for country (flag) with the Name of the country and then the country code in brackets

- Add a plugin for the viewtopic page so it adds the field, but instead of adding the country name it parses the country code and looks up the png flag file (e.g. us.png)

- Add similar code to add the same to the member list.

This looks at first glance to simplify things a lot... any thoughts?

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Flags?

Post by RMcGirr83 »

In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

sp3ctre
Registered User
Posts: 303
Joined: Sun Jul 15, 2007 11:06 am

Re: Flags?

Post by sp3ctre »

Thanks for that, although there's not much to see at this point in it's development.

Back to my idea... I have the list in my required fields, so the country displays as "Country: United Kingdom (gb)". What I would like to do now is replace:

United Kingdom (gb)


with

<img src="gb.png" />

so I can then use this in the template.

Is this something that is fairly easy to create a plugin/extension for?

Post Reply

Return to “Extension Requests”