![]() |
This is a great idea - I've been looking for something like this so that I can geo-target my newsletter to people in specific countries. I don't suppose there is any planned plugin support for this in the future?
|
Quote:
Are you talking about the "Generate Mailing List" function in the admincp? If so, you should be aware that the file that makes these mailing lists has no hooks at all, so such a modification would have to involve file edits, not plugins. Version 1.1 of GLA will make it even easier for developers to write code in the own plugins, for example - you could take the registration IP address and pass it through a function and have the country data returned. Only 2 lines of code needed to test any IP address. |
Hey,
I was thinking more along the lines of integration w/ Commbull or VBGazette (newsletter products). |
If those products could import data from another source, it would be fairly easy. All you'd need is a bit of code that spits out your usertable, or specifically the email address, registration ip, and username and adds the country name at the same time. You could then import the data into excel and do whatever you wanted with it.
|
Free IP to country database (CSV) that claims daily updates.
http://software77.net/cgi-bin/ip-country/geo-ip.pl |
Quote:
There are extra country codes used however, meaning that there could be some issues with flags not being available. I'm also thinking about things like a cron job for auto downloads and updates each week, as well as a list of exceptions, for the case for example when some of your users post from a company where the proxy server is in one country, but assigned to the address space of the head office (e.g. USA). The accuracy issue will become even more important when I release the flag in the postbit mod that I've just finished writing. |
I've attached an updated database file, which I reformatted from software77.net (see above post for details). Future versions of GLA will support this file format without modifications, but for the moment I had to make a custom version so that 1.0 would import it.
I believe that this database should be better than the one which is currently bundled with GLA 1.0. I'd be interested to hear comments from people who reported some problems with the existing database - maybe this updated one improves the situation? How to upgrade your database? Easy, just follow the upgrade instructions in the original install.txt file included with the GLA zip file. Updating should take less than a minute. I'm also going to need a bit of help from you guys. There are new country codes added to this version of the database, namely these countries: AP - non-specific Asia-Pacific location CS - Serbia and Montenegro (Formally Czechoslovakia) YU - Serbia and Montenegro (Formally Yugoslavia) (Being phased out) EU - non-specific European Union location FX - France, Metropolitan PS - Palestinian Territory, Occupied UK - United Kingdom (standard says GB) * ZZ - IETF RESERVED address space. I need some assistance from other people for the following tasks:
|
There's a very tasteful flag set at http://www.famfamfam.com/lab/icons/flags/ . It incldes all the missing countries, although users will probably need to rename europeanunion.png to eu.png, and make a copy of uk.png as gb.png.
http://img263.imageshack.us/img263/4...ewlargexl5.png |
Nice link! Flags look good, but for the default set (packaged with GLA) I really need something to match the size (height) of the current set. The reason is that the height of the flags matches the various IM icons displayed in the postbit, so it looks good. It also doesn't look too bad when stacked next to text in the default size.
|
This would be a nice addition if Stonyack updates the vbgoogle hacks
|
i have an error.HOw can i fix it .thanks
http://pcremoteserver.com/bug/error.JPG |
Quote:
So if you look inside the session table, were the extra columns added? Did you try to uninstall it and reinstall it? |
Quote:
|
Quote:
http://www.vbulletin.com/docs/html/product_manager |
Thank you
**Installed** |
Thank you mfyvie
Installed |
I installed this mod to be able to use the Country Display for Who's Online mod.
When I access the gla_test.php page, it shows one flag for my themes, but not the other. ALL flags are in their respective folders and are web accessable. The error I get shows: Testing to see if the flag from country "ad" is present: Failed - Flag file not found in http://**mysite**/images/misc/flags/ Testing to see if the flag from country "zw" is present: Failed - Flag file not found in http://**mysite**/images/misc/flags/ Visual check - two flags should be visible: Andorra Zimbabwe The zw.png flag shows up, but the text still says it failed. I can open the urls to any of the flags in the browser and display them. Any suggestions? |
Military-space,
I can't think what your issue would be (unless there is something you overlooked). You are telling me that the files exist, and you can reach them through your browser directly, but the test script complains that they don't exist? Please view the HTML source of the output of the test script and double check that the paths are correct to the files which don't show. If you still can't work it out, then please send me a screenshot of the problem via PM, as well as a copy of the HTML source that generated it. |
Any chance of this coming to postbit?
|
Quote:
Quote:
|
Yikes! Some of the country names in the database are wrong!
The biggie: - Serbia and Montenegro was formerly in Yugoslavia, not Czechoslovakia |
Which database are you referring to? The one that ships with GLA 1.0, or the new one that I posted a while back? Starting with GLA 1.1 (not yet released) I'm using the new database and stripping out all those extra comments so that there will be use the country name. Those comments come from the registrars, and in many cases they can't spell either (formally rather than formerly for example).
|
Installed and eagerly awaiting the postbit mod you have just finished. Thank you!
|
EDIT: Figured it out.
|
EDIT: BigDog56 - since you've now edited out your original question, my message below doesn't make sense to anyone, but I'm going to leave it there anyway.
Quote:
|
Installed here too and working perfectly!
I must admit thoguh I too am looking forward to the new version and that PostBit mod! Any ETA at all? |
Quote:
|
Not a problem, we'll all have to learn to be patient :)
|
Any further update on the progress at all?
|
Quote:
GLA 1.1 is probably about 50% complete at the moment, though I haven't worked on it for some weeks. Right now the newer update is automatically installed and updated each week. There are more internal functions allowing other developers to make use of some more stuff (though I note that there hasn't exactly been a rush of people writing applications that make use of GLA). Probably the biggest component that I have yet to add is a separate table which stores admin defined exceptions to the current database. These will be entered via the admincp, but it needs a form, a way of looking at the existing entries, deleting entries, etc. Could end up being a bit more work than I bargained for. Also - there are 20 or so missing flags in 1.0 that need to be redrawn to fit with the current flag set. So far nobody has volunteered to do this work, so I'll probably have to end up doing this myself which will take additional time. So sorry - can't give you a date for this yet. |
Not a problem I understand completely, as I know how life can interact at times adn get in the way :)
Good luck with it as and when you can find the time to continue :) |
Does anyone get this 404 error in their logs?
Cannot find 'images/misc/flags/.png' Otherwise GLA and flags in the who's online is fine. |
well my flags show up...BUT i get the error
Testing to see if the flag from country "ad" is present: Failed - Flag file not found in http://>>>>.net/forum/images/kirsch/misc/flags/ Testing to see if the flag from country "zw" is present: Failed - Flag file not found in http://.....net/forum/images/kirsch/misc/flags/ I uploaded the flags under my mis for all styles..and only 1 style worked. Any ideas? |
Quote:
Quote:
|
Quote:
Testing to see if the flag from country "ad" is present: Failed - Flag file not found in http://www.my domain.org/forum/images/misc/flags/ Testing to see if the flag from country "zw" is present: Failed - Flag file not found in http://www.my domain.org/forum/images/misc/flags/ When I try to view it in my browser I get You don't have permission to access /forum/images/misc/flags/ad.png on this server. But it's there. I have no problem with /forum/images/misc/flags/us.png Permissions are the same for ad as it is for us. But still, looking at my latest error log I see public_html/forum/images/misc/flags/.png <--- dot png. Is that normal? |
Quote:
|
Quote:
Styles & Templates --> Style Manager --> StyleVars Scroll down to Miscellaneous Images Folder |
I see it now..now what?
|
Quote:
I use the full url for my settings. |
i added the full url and added misc/flags and the images on my test page stopped showing up..and when i removed the flags..they cam back and still have the not found error.
|
All times are GMT. The time now is 07:06 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|