New Posts
Welcome guest, is this your first visit?
  • Login:
Global Gaming Events
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
  1. #1
    Senior Member
    www.theaffiliatelife.com
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    England
    Posts
    1,496
    Blog Entries
    6
    Feedback Score
    31 (100%)

    Default Easy Geo WP plugin

    Hi there,

    Does anyone else use this?

    Can you you let me know the PHP code that I need to insert into the page to get it working?

    Cheers,
    The Affiliate Life <<-- My Affiliate Blog. Feel free to drop by - would welcome your thoughts/comments
    Latest Post: How to set up a Branded YouTube channel & your thoughts on my videos

  2. #2
    #!/usr/bin/mikebrad
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    USA
    Posts
    697
    Feedback Score
    8 (100%)

    Default

    Are you talking about my plugin?

  3. #3
    Senior Member
    www.theaffiliatelife.com
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    England
    Posts
    1,496
    Blog Entries
    6
    Feedback Score
    31 (100%)

    Default

    Yes, I guess I am!
    The Affiliate Life <<-- My Affiliate Blog. Feel free to drop by - would welcome your thoughts/comments
    Latest Post: How to set up a Branded YouTube channel & your thoughts on my videos

  4. #4
    #!/usr/bin/mikebrad
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    USA
    Posts
    697
    Feedback Score
    8 (100%)

    Default

    Well, to use in a template, do something like this:

    PHP Code:
    <?php if($country=='US') : ?>

    US CONTENT HERE

    <?php else : ?>

    EVERY OTHER COUNTRY HERE

    <?php endif; ?>
    This, of course, would work with any country that you wanted to target. Let's say you wanted to show one banner to Americans (in dollars), one to UK visitors (in pounds), and one in Euros (to everyone else). You would do something like this:

    PHP Code:
    <?php if($country=='US') : ?>

    US CONTENT HERE

    <?php elseif($country=='UK') : ?>

    UK CONTENT HERE

    <?php else : ?>

    EVERY OTHER COUNTRY HERE

    <?php endif; ?>
    Hope this helps.

  5. #5
    Senior Member
    www.theaffiliatelife.com
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    England
    Posts
    1,496
    Blog Entries
    6
    Feedback Score
    31 (100%)

    Default

    Brilliant - thanks Mike!
    The Affiliate Life <<-- My Affiliate Blog. Feel free to drop by - would welcome your thoughts/comments
    Latest Post: How to set up a Branded YouTube channel & your thoughts on my videos

  6. #6
    Senior Member
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    USA
    Posts
    426
    Feedback Score
    8 (100%)

    Default

    Where can I get my grubby little paws on this plugin?

    (a search for "Easy Geo Wordpress" was unsuccessful)

  7. #7
    #!/usr/bin/mikebrad
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    USA
    Posts
    697
    Feedback Score
    8 (100%)

    Default

    Yeah, the plugin has been in beta forever. I use it on all of my sites but I haven't really received any feedback from some of the PAP (r.i.p.) members who I sent this to months ago.

    The plugin allows for both template geotargeting, as well as in content geotargeting via the use of country tags. I'll be more than happy to give it any member here as long as they realize it's in beta and give me some feedback when using it.

    There are other options for doing this without the in content part, also.

  8. #8
    Senior Member
    www.theaffiliatelife.com
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    England
    Posts
    1,496
    Blog Entries
    6
    Feedback Score
    31 (100%)

    Default

    Hi Mike,

    Just to follow up on this, I've activated the plugin, and used the PHP that you mentioned above, but it doesn't look as though the $country variable is being populated.

    I'm not quite sure why ...
    The Affiliate Life <<-- My Affiliate Blog. Feel free to drop by - would welcome your thoughts/comments
    Latest Post: How to set up a Branded YouTube channel & your thoughts on my videos

  9. #9
    #!/usr/bin/mikebrad
    My Status
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    USA
    Posts
    697
    Feedback Score
    8 (100%)

    Default

    Try replacing this code

    PHP Code:
    <?php if($country=='US') : ?>
    With this code

    PHP Code:
    <?php global $country; if($country=='US') : ?>

  10. #10
    Senior Member
    www.theaffiliatelife.com
     

    Add as a friend
    Join Date
    Nov 2008
    Location
    England
    Posts
    1,496
    Blog Entries
    6
    Feedback Score
    31 (100%)

    Default

    Still the same problem I'm afraid.

    If you look at bestpokerbonus.co.uk, I've used an echo command above the first table on the left.

    It should echo ("Country:".$country);

    As you can see, the string comes out fine but it still looks as though the $country variable isn't being populated.
    The Affiliate Life <<-- My Affiliate Blog. Feel free to drop by - would welcome your thoughts/comments
    Latest Post: How to set up a Branded YouTube channel & your thoughts on my videos


 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Easy job - I need specification
    By Gaben86 in forum Content Services
    Replies: 0
    Last Post: 04-08-2010, 04:53 PM
  2. Easy Bingo Boxes
    By ebb in forum Bingo Affiliate Forum
    Replies: 2
    Last Post: 08-01-2009, 11:16 AM
  3. MediaWiki - Is it easy to maintain?
    By Unknown Webmaster in forum General Poker Affiliate Forum
    Replies: 1
    Last Post: 07-16-2009, 05:18 PM
  4. Easy Backlinks: Using the content you have.
    By Greg in forum General Poker Affiliate Forum
    Replies: 10
    Last Post: 07-01-2009, 05:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Powered by vBulletin® Version 4.1.5
Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.
SEO by vBSEO 3.6.0
Affiliate Program Consultant