![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Virgin by request ;)
Industry Role:
Join Date: Feb 2002
Posts: 1,924
|
smarty / nats help needed
I am trying to geotarget a couple of pages in our nats system.
I have already had the mod_geoip apache module and db installed on my server. I am now trying to create a smarty plugin and use it within a nats template page to do the actual geotargeting - but I am stumped and need help. Here is what I have done so far: I created and uploaded a file called function.country.php into my nats/Smarty-2.6.14/libs/plugins directory with the following code: PHP Code:
PHP Code:
What am I doing wrong? thanks Luke |
![]() |
![]() ![]() ![]() ![]() ![]() |