Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ![]() Interested in joining? Click here. If you are already a member of ZBCode, feel free to login right here: |
- Pages:
- 1
- 2
| Country chooser; Like the IF one, but for ZB | |
|---|---|
| Tweet Topic Started: Jun 18 2009, 03:04 PM (2,397 Views) | |
| Garath531. | Jun 18 2009, 03:04 PM Post #1 |
![]()
|
Hello everyone, A while back I made a code for IF that adds a profile field that lets you choose your country. Now I have cleaned up that code for ZB. How is this different than a normal custom profile field, you ask. Well, there are three main reasons: First, this code puts an actual image on the topic display and user information pages. Instead of showing the name of a country, it shows a flag for that country. Second, this code lets you control the options. You, the admin, gets to determine which countries to allow. Third, this code presents the options in the form of a drop down menu. Instead of forcing the users to fiddle with putting the correct information in a text box, it shows them the option in a nice little menu. The installation might get a little bit complicated, depending on your experience level, but bear with me. Spoiler: click to toggle If all went well, you should now have given the users the option to choose countries. Again, ask if you need any help! ![]() Edit: Code updated. --Garath531 Edited by Garath531., Jul 17 2009, 07:14 PM.
|
I'm back after an unexpected hiatus. If I've forgotten about a code I was working on for you, just drop me a PM and let me know.
| |
![]() |
|
| Pilla | Jun 18 2009, 05:30 PM Post #2 |
![]()
|
Now Installing.... Edit: Where the code goes? Edited by Pilla, Jun 18 2009, 05:38 PM.
|
![]() |
|
| Garath531. | Jun 18 2009, 05:50 PM Post #3 |
![]()
|
Above the copyright |
I'm back after an unexpected hiatus. If I've forgotten about a code I was working on for you, just drop me a PM and let me know.
| |
![]() |
|
| Pilla | Jun 18 2009, 05:59 PM Post #4 |
![]()
|
thanks!!! |
![]() |
|
| slayer766 | Jun 18 2009, 10:43 PM Post #5 |
![]()
Hello all
![]()
|
Ah, a conversion. Nice job man.
|
![]() |
|
| Hiddenzbu | Jun 19 2009, 04:03 AM Post #6 |
![]() ![]()
|
Nice code :D. I'm not exactly sure why someone would want to ban any particular country though. Seems kinda mean. |
| |
![]() |
|
| Macjola | Aug 27 2009, 03:58 AM Post #7 |
![]()
|
I personally love the code, aswel as most others on our website. (hereby, thank you! ) There is one problem I've experienced though:I want to keep the list in alphabetical order to make it easier to find the countries. Recently, I added two countries (Estonia, Latvia) and now everyone who had selected a country starting with an E-Z suddenly changed country. I've noticed that, because I added those countries correctly in the alphabetical order, that everyone with a country E-K 'moved' one country up the list, and everyone with an L-Z moved two countries up the list. Now I wonder, is there any way to have this save the country by name, rather than by position in the Script/dropdown menu? Thanks in advance if anyone knows a solution! |
![]() |
|
| Desire Law | Aug 29 2009, 09:08 PM Post #8 |
![]()
|
Thanks for this code! it comes in handy.
|
![]() |
|
| Nuke of Nukia | Sep 2 2009, 09:41 PM Post #9 |
![]()
|
I don't even know what it means by source...lol. |
| My board: UniverseWars | |
![]() |
|
| skylarkcob | Oct 20 2009, 07:51 AM Post #10 |
![]()
|
Thanks for code, good job!!! |
|
Homepage: http://s1.zetaboards.com/khungtroingayxua Email: Skylarkcob@gmail.com Phone: 0974071428 ![]()
| |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
![]() ZetaBoards gives you all the tools to create a successful discussion community. Learn More · Sign-up for Free |
|
| Go to Next Page | |
| « Previous Topic · Zetaboards Modifications · Next Topic » |
- Pages:
- 1
- 2



















) There is one problem I've experienced though:


7:47 PM Jul 10