*

Franko

  • ***
  • 132
members online and
« on: March 08, 2015, 11:25:43 PM »
Remove the information of members online home page ? how to put banners on the left and right?
« Last Edit: March 08, 2015, 11:28:55 PM by Franko »

*

Franko

  • ***
  • 132
Re: members online and
« Reply #1 on: March 08, 2015, 11:27:04 PM »
how to put banners on the left and right?

*

Pharg

  • *****
  • 2,060
  • osDate Version: osDate Evo v1.0
Re: members online and
« Reply #2 on: March 09, 2015, 12:00:05 AM »
Remove the information of members online home page ? how to put banners on the left and right?

Hi Franko,

To remove the members online edit the special_offers.tpl find this line.
Code: [Select]
&nbsp;<div id="onlinecount"  style="display:inline;"><a href="onlineusers.php">{lang mkey='online_users'}&nbsp;{$online_users_count}</a></div>
Change to:
Code: [Select]
&nbsp;<div id="onlinecount"  style="display:inline;">{*<a href="onlineusers.php">{lang mkey='online_users'}&nbsp;{$online_users_count}</a>*}</div>
In the leftcolumn.tpl to hide the lucky Spin from vistors.
Find this line:
Code: [Select]
{if $luckySpinGenderFemale != ''}
{$luckySpinGenderFemale}
<br />
{/if}
{if $luckySpinGenderMale != ''}
{$luckySpinGenderMale}
<br />
{/if}

Change it to:
Code: [Select]
{if $smarty.session.UserId != ''}
{if $luckySpinGenderFemale != ''}
{$luckySpinGenderFemale}
<br />
{/if}
{if $luckySpinGenderMale != ''}
{$luckySpinGenderMale}
<br />
{/if}
{/if}

If you don't want this when logged in the just delete the first copy of the code.
Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDate v2.7 & osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

*

Pharg

  • *****
  • 2,060
  • osDate Version: osDate Evo v1.0
Re: members online and
« Reply #3 on: March 09, 2015, 12:09:33 AM »
how to put banners on the left and right?

Hi Franko,

You can add banners in the banner_leftside.tpl and banner_rightside.tpl manually by adding them.

If you get a white page after adding the banner script,  you will need to add {literal} {/literal} tags around the banners script.

Regards,
Pharg ( Phill )

REMEMBER: ALWAYS BACKUP BEFORE YOU MAKE ANY CHANGES!!

osDate v2.7 & osDateEvo v1.0 | PHP: 5.3.42 & PHP: 5.6.18 | MySQL: 5.5.35

*

Franko

  • ***
  • 132
Re: members online and
« Reply #4 on: March 09, 2015, 03:06:15 PM »
thanks done