Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Multiquote (on) Multiquote (off)
Add Reply
Country Flags
Topic Started: Jan 23 2014, 07:58 PM (883 Views)
toastcrumbs
Member
[ *  * ]
My clan had the original country flags by Cory hosted on a site, (the admin hosting it left, and never told anyone where it was), and one of the other admins has created a new notepad file, copy pasted all the code, removed some flags, edited some in etc and it has caused flag options to move 4 to the right.

Example, if I want New Zealand, I have to choose Peru in order for it to display New Zealand.
http://imgur.com/g7uft5p

I'm not sure what exactly has been done to cause this, but would like some help fixing it.

Here's the unhosted file: https://docs.google.com/file/d/0B2y1QLygMW1FSXR6QlNJMEJXNHM/edit?pli=1

EDIT: This code isn't a language I'm 100% familiar with. Used to C#
Edited by toastcrumbs, Jan 23 2014, 08:00 PM.
Offline Profile Quote Post Goto Top
 
Helena
Member Avatar
M is for Mod

I had a similar problem on an edited version. The issue was that the list made in the custom profile field has to be EXACTLY they same as it is in the code. If you check things over, you'll likely find that there is either something misspelled, missing or out of order in the custom profile multiple choice fields when compared to the edited code.
Offline Profile Quote Post Goto Top
 
toastcrumbs
Member
[ *  * ]
I'll have a look :)
Offline Profile Quote Post Goto Top
 
toastcrumbs
Member
[ *  * ]
Well, everything was spelt correctly Helena, that's not the issue. :drat:
Offline Profile Quote Post Goto Top
 
Ugrilainen
Member Avatar
Member
[ *  * ]
The order of the country is important in the notepad file. you probably forgot about one, this shifts the whole flag list afterwards
Offline Profile Quote Post Goto Top
 
toastcrumbs
Member
[ *  * ]
I'm thinking the problem might be with the imaging of the flag, rather than the order in the code.

I've double checked the code and they're all in the right place, but the re-uploads for adding countries was done with Imgur, and the code adds "home/?c=6" to the URL of a typical flag, which is hosted through z3. Which, I believe is where it went wrong... but I could be wrong?
Edited by toastcrumbs, Jan 28 2014, 07:37 PM.
Offline Profile Quote Post Goto Top
 
Ugrilainen
Member Avatar
Member
[ *  * ]

Usually to find the mistake, try all flags and see when it starts in the alphabetical order.

If the problem was the imaging of the flag, that flag would not work but it would not shift the order
Offline Profile Quote Post Goto Top
 
toastcrumbs
Member
[ *  * ]
Oh okay, thanks. I'll check that too, but I don't think that's the case.

Actually it was, thank you sir! Australia was missing :giggle: There's a couple of others that exist in the list, but not in the options.

Anyone know if there's a max amount for flag options?
Edited by toastcrumbs, Jan 29 2014, 04:35 AM.
Offline Profile Quote Post Goto Top
 
Ugrilainen
Member Avatar
Member
[ *  * ]
No maximum, Just make sure when you had a country to add country name + flag link in right order :)
Offline Profile Quote Post Goto Top
 
DaPizzaMan
Member Avatar
#TeamSupport

toastcrumbs
Jan 29 2014, 04:15 AM
Anyone know if there's a max amount for flag options?
Yes, that would be the amount of country flags that exist. :puppyeyes:

But yeah no, you can have as many as you like as the guy above me said. (Just wanted to answer :r )
Offline Profile Quote Post Goto Top
 
Ugrilainen
Member Avatar
Member
[ *  * ]
The guy below me is perfectly right!
Offline Profile Quote Post Goto Top
 
toastcrumbs
Member
[ *  * ]
http://imgur.com/a/fKIOD

The above is the imgur album of the flag names, and they all match up to the code but something is still going wrong, that isn't displaying Australia, China, Vietnam, Yemen, like the imgur link shows in the first post.

When the names are added, they seem to just disappear.

EDIT: And if you try to select what would be Australia (with the bug of everything moving), it treats Australia as "None", but I've checked the code, and there's definitely a flag for Australia, it's just not being displayed... Ever.
Edited by toastcrumbs, Jan 29 2014, 06:51 PM.
Offline Profile Quote Post Goto Top
 
Ugrilainen
Member Avatar
Member
[ *  * ]
I could just give you my file, I used flags who looks way nicer and I have more countries (removed none btw)
Offline Profile Quote Post Goto Top
 
toastcrumbs
Member
[ *  * ]
Ugrilainen
Jan 30 2014, 11:48 AM
I could just give you my file, I used flags who looks way nicer and I have more countries (removed none btw)
That would be very helpful if you could!
Offline Profile Quote Post Goto Top
 
toastcrumbs
Member
[ *  * ]
Solved, kind of.

I'll be sending in a ticket to help with the other issue. Thanks for the flags though Ugrilainen!
So, I tried sending a support ticket, but apparently help isn't supported for Cory's flag code. (Didn't know that.)



I've been putting the link to the host document in this format:
<script src='https://googledrive.com/host/0B6OSTHI25OYfNThGYVlOcGVLQWs' type='text/javascript'></script>

into below the board, is that correct or should it go into Javascripts? (Both cause the same problem.)

I have 72 flags in the Update Profile section, and 75 flag names in the code & profile fields section of ACP. Please help :(

Flag List
Edited by toastcrumbs, Feb 5 2014, 02:37 PM.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
ZetaBoards - Free Forum Hosting
Free Forums with no limits on posts or members.
Learn More · Sign-up for Free
Go to Next Page
« Previous Topic · ZetaBoards Support · Next Topic »
Add Reply