0 Members and 1 Guest are viewing this topic.

Remove site statistics block from homepage
« on: May 22, 2018, 07:40:05 PM »
I'm running FreshDate-Blue template and wish to remove the site statistics block from the homepage where it shows total male members, total female members, and members online.  What code changes are necessary?

Thanks,
Jason

*

Pharg

  • *****
  • 3,093
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: Remove site statistics block from homepage
« Reply #1 on: May 22, 2018, 09:48:02 PM »
Hi fiatlux,

I will have a look at this for you.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.1.15 | MySQL: 5.5.35

*

GarethNZ

  • *
  • 4
  • osDate Version: osDateEvo v1.3
Re: Remove site statistics block from homepage
« Reply #2 on: May 28, 2018, 12:43:33 AM »
I also want to do this... and the members online in the text area

Cheers
Gareth

*

Pharg

  • *****
  • 3,093
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: Remove site statistics block from homepage
« Reply #3 on: May 28, 2018, 12:51:38 AM »
Hi GarethNZ,

What template are you using?
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.1.15 | MySQL: 5.5.35

*

GarethNZ

  • *
  • 4
  • osDate Version: osDateEvo v1.3
Re: Remove site statistics block from homepage
« Reply #4 on: May 28, 2018, 01:35:47 AM »
Heya Phil,
It has been a few years since I last played with osdate...  pretty much when vijay took it on nothing happened for so long as I think he got ill

Am using OsDate Evo 1.3

Cheers
G

*

Pharg

  • *****
  • 3,093
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: Remove site statistics block from homepage
« Reply #5 on: May 28, 2018, 01:59:52 AM »
Hi GarethNZ,

In the Default and default-3-column templates find the leftcolumn.tpl

Edit line 6:
Code: [Select]
{include file="stats.tpl"}
or hide it with this:
Code: [Select]
{* {include file="stats.tpl"} *}
or remove it completely.

In the FreshDate and osDMix templates, the code is in the homepage.tpl

 
« Last Edit: May 28, 2018, 02:08:04 AM by Pharg »
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.1.15 | MySQL: 5.5.35

*

GarethNZ

  • *
  • 4
  • osDate Version: osDateEvo v1.3
Re: Remove site statistics block from homepage
« Reply #6 on: May 28, 2018, 02:46:52 AM »
Thanks for that, will give it a shot now
Cheers
G