[RC] Country Flag User Edition

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Anti-Spam Guide
Locked
User avatar
rime
Registered User
Posts: 17
Joined: Wed Nov 19, 2008 5:15 pm
Location: Poland
Contact:

Re: [Beta] Country Flag User Edition

Post by rime » Sat Feb 28, 2009 9:34 am

rime wrote:(...)so I decide to try it on new,clear phpbb + bo2soft installation.
and now its working.

User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Re: [Beta] Country Flag User Edition

Post by Gremlinn » Sat Feb 28, 2009 4:31 pm

hmm. Must have had a typo the first time. Glad its working for you now.

User avatar
ijhtio
Registered User
Posts: 150
Joined: Sat Feb 28, 2009 10:09 pm
Contact:

Re: [Beta] Country Flag User Edition

Post by ijhtio » Sat Feb 28, 2009 10:25 pm

Thanks Oddfish and Gremlinn for this and numerous others mods for PHPBB...

While I was trying to install this mod on my forum, according to one instruction I have to add a function in ucp_groups_manage.html file under "swatch" function. I am sorry but I couldn't find "function swatch()" on that page. Is that because the function was there in PHPBB 3.0.3 and not in 3.0.4?


I am using:
Database server: MySQL(i) 4.1.22-standard
Board version: 3.0.4
regards,
ijhtio

User avatar
oddfish
Registered User
Posts: 839
Joined: Mon Mar 19, 2007 8:45 pm
Location: Testing 3.1
Contact:

Re: [Beta] Country Flag User Edition

Post by oddfish » Sun Mar 01, 2009 12:43 am

This Country Flag User Edition does not require any edits to that file. That is one reason for creating a user edition. It completely eliminates the use of groups since phpbb3's coding does not allow for separate group and user avatar/rank images which the original code for this MOD uses (a MOD that would be very welcomed).

I would suggest questioning the install procedure for that file in nedka's original thread here : http://www.phpbb.com/community/viewtopi ... 0&t=554489 or download this edition and install it instead. :D
Country Flag User Edition Clickable Post Count Link

... another record broken without breaking any records ...
Testing phpBB3.1 dark style based on prosilver ... http://www.oddmods.net

bada-bing!
Registered User
Posts: 37
Joined: Thu Feb 19, 2009 2:53 pm

Re: [Beta] Country Flag User Edition

Post by bada-bing! » Wed Mar 11, 2009 3:18 pm

Hello all, I've spent hours trying to figure this out, if anyone could be so kind and show me the light I would greatly appreciated it.

Fresh install (CFUE-1.0.1Beta) on phpbb3 3.0.4.
All Files has been edited, Country flags Modules have been added, I have also gone into Permissions/ Admin roles and checked off "Can manage country flags" to Yes"

What I don't understand is "edit the required roles under User and Groups tab and set" Are there any other roles I need to check off other then "User and Groups tab and set "Can manage country flags" to Yes)?
--------------------------------
Orignal Instruction: CP -> Permissions .. Admin roles and edit the required roles under User and Groups tab and set "Can manage country flags" to Yes (NOTE: Founders already have permissions).
--------------------------------

If I go into ACP Users and Groups and Manage users I can select Contry flag from the drop down box and add it to the user, but it's still doesn't show up on the board.

Cache, Template Theme and Imagesets have all been cleared.

Not sure what else I'm not doing.

Thanks!

Xabi
Registered User
Posts: 460
Joined: Wed May 23, 2007 9:04 am

Re: [Beta] Country Flag User Edition

Post by Xabi » Wed Mar 11, 2009 3:28 pm

Could this module be expanded to show regions for every country with a dependant dropdown menu? And it would be nice to filter users by country/region in the memberlist!

I think that would be a killer mod for phpBB. There are a lot of international forums out there that would benefit from that functionality.

User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Re: [Beta] Country Flag User Edition

Post by Gremlinn » Wed Mar 11, 2009 4:11 pm

Bada-Bing! You can set the Admin Role to Yes and anyone with the Admin Role will be able to change/add/delete flags. The user will need to have ACP access to do this. If you are user id 2, you do not have to have this permission set.

Xabi: That would be a major undertaking. I am all for someone to make an add-on though.

bada-bing!
Registered User
Posts: 37
Joined: Thu Feb 19, 2009 2:53 pm

Re: [Beta] Country Flag User Edition

Post by bada-bing! » Wed Mar 11, 2009 4:27 pm

Hey Gremlinn, thanks for the speedy reply. My question is how do I get the flags to show up on the forum and where do the members get to pick there flags? Also when I log into the forum under an admin account and go to profile I don't see anything related to this module.

Thanks again Gremlinn

bada-bing!
Registered User
Posts: 37
Joined: Thu Feb 19, 2009 2:53 pm

Re: [Beta] Country Flag User Edition

Post by bada-bing! » Wed Mar 11, 2009 7:53 pm

My fault I made edits to the wrong template. Mod is up and running smooth! Thanks again :D

User avatar
DragonMaster1
Registered User
Posts: 994
Joined: Tue Aug 17, 2004 11:04 am
Name: Terry
Contact:

Re: [Beta] Country Flag User Edition

Post by DragonMaster1 » Fri Mar 13, 2009 5:54 pm

Great mod but it would be really nice if this could be made to be a required fiend to fill out upon registering

Is that possible?

bada-bing!
Registered User
Posts: 37
Joined: Thu Feb 19, 2009 2:53 pm

Re: [Beta] Country Flag User Edition

Post by bada-bing! » Fri Mar 13, 2009 7:25 pm

DragonMaster1 wrote:Great mod but it would be really nice if this could be made to be a required fiend to fill out upon registering

Is that possible?
DragonMaster1, this feature does come with this mod. By default it's set to "Require country flag field:
Require users must select country flag information when new register. ( yes / no)".

Download the mod and you can see a screen shot of this in the images.

Hope this helps.

User avatar
DragonMaster1
Registered User
Posts: 994
Joined: Tue Aug 17, 2004 11:04 am
Name: Terry
Contact:

Re: [Beta] Country Flag User Edition

Post by DragonMaster1 » Fri Mar 13, 2009 7:47 pm

odd....I have this installed and it is not doing that

I see the included photo but in my mod settings, all I have are the list of flags

Where do I find that?

EDITED.....

FOUND THAT IT IS WORKING but I still have not been able to locate that setting

bada-bing!
Registered User
Posts: 37
Joined: Thu Feb 19, 2009 2:53 pm

Re: [Beta] Country Flag User Edition

Post by bada-bing! » Fri Mar 13, 2009 8:39 pm

Sounds like you are missing a module. Either in the wrong place or it's disabled.

Here is what mine looks like.

1 main tab ( Country Flags)
Then on the left had side 2 options.

Manage country flags
Country flag settings (you seem to be missing this one) Check the module and make sure all your setting are correct.

Hope this helps

User avatar
DragonMaster1
Registered User
Posts: 994
Joined: Tue Aug 17, 2004 11:04 am
Name: Terry
Contact:

Re: [Beta] Country Flag User Edition

Post by DragonMaster1 » Sat Mar 14, 2009 12:49 am

OK....I finally got it set up right

There really needs to be a rewrite for how to add these modules

That is VERY confusing when following the directions at the bottom of the install page

Great mod but the modules are not easy to follow with the current instructions

bada-bing!
Registered User
Posts: 37
Joined: Thu Feb 19, 2009 2:53 pm

Re: [Beta] Country Flag User Edition

Post by bada-bing! » Sat Mar 14, 2009 9:28 pm

I agree DragonMaster1, last part of this mod installation was harder to understand then the edits them self. Non the less glad you got it up and going.

cheers!

Locked

Return to “[3.0.x] MODs in Development”