0 Members and 1 Guest are viewing this topic.

For Some Reason This Message is displayed
« on: March 03, 2017, 03:18:34 PM »
On the home page just below the join free flash there is a message 'Members near Swindon, Wiltshire, United Kingdom ' but if a gender is clicked in the dropdown box, it displays profiles in USA.
Why is this message there? 

*

Pharg

  • *****
  • 2,789
    • OsDateFourm
  • osDate Version: osDate Evo v1.2
Re: For Some Reason This Message is displayed
« Reply #1 on: March 03, 2017, 08:31:44 PM »
Hi ukdenny,

It's using GEO that's old and your host has strict settings as it normally works.

Better to just remove the GEO location from the homepage.tpl
Find line 10 and either delete or hide it:

Code: [Select]
{if $config.iplocation_profcnt > 0 && count($iplusers) > 0 }
{* This is for showing the IP Location based Profiles  *}
{include file='iplocation_profiles.tpl'}
{/if}

To hide it, just change it to this:
Code: [Select]
{*{if $config.iplocation_profcnt > 0 && count($iplusers) > 0 }
{* This is for showing the IP Location based Profiles  *}
{include file='iplocation_profiles.tpl'}
{/if} *}
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.2 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

Re: For Some Reason This Message is displayed
« Reply #2 on: March 04, 2017, 12:17:11 PM »
Thanks, the hide would't work and caused a white screen but the delete fixed it so it's fine now.
regards
Denis