skmd Posted November 15, 2007 Share Posted November 15, 2007 how can I make whmcs select the best language automaticly based on the visitor ip?? 0 Quote Link to comment Share on other sites More sharing options...
Adam Posted November 16, 2007 Share Posted November 16, 2007 Hey, You can add PHP code that pulls a range of known IPS assigned to a country and based on those IPs you can forward the request to the right lang. option in WHMCS. You will first need to get a list of IPs that are associated with that Country/Language. From, Adam 0 Quote Link to comment Share on other sites More sharing options...
skmd Posted November 16, 2007 Author Share Posted November 16, 2007 I already have one , it redirect the users based on their ip to a specific url.but i tried to find a direct link conatins the language option but i coudnt find al the urls looks like : mydomain.com/whmcs/index.php?setlanguage=true i think it based on cookies or something , any other help please??? 0 Quote Link to comment Share on other sites More sharing options...
arteryplanet Posted November 16, 2007 Share Posted November 16, 2007 Here is the link format: mydomain.com/whmcs/index.php?setlanguage=true&language=English 0 Quote Link to comment Share on other sites More sharing options...
skmd Posted November 16, 2007 Author Share Posted November 16, 2007 thank you soooooooo much man. now i have full control for my web site thank you again 0 Quote Link to comment Share on other sites More sharing options...
arteryplanet Posted November 16, 2007 Share Posted November 16, 2007 you are welcome! 0 Quote Link to comment Share on other sites More sharing options...
Baja Posted December 4, 2007 Share Posted December 4, 2007 I already have one , it redirect the users based on their ip to a specific url.but i tried to find a direct link conatins the language option but i coudnt find al the urls looks like :mydomain.com/whmcs/index.php?setlanguage=true i think it based on cookies or something , any other help please??? skmd would you be willing to share how you are doing this with the rest of us? I know I could do a google search but you might have a nicer method then I could find with a search term. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.