0 Members and 1 Guest are viewing this topic.

*

jclsouza

  • *
  • 12
  • osDate Version: osDate v2.6.5
Remove the chat (user page)
« on: December 03, 2017, 12:51:53 PM »
Hi!

How can I remove the chat link from the user page?
What folder and files do I need to edit?

*

Pharg

  • *****
  • 2,886
    • OsDateFourm
  • osDate Version: osDateEvo v1.2
Re: Remove the chat (user page)
« Reply #1 on: December 03, 2017, 08:02:54 PM »
Hi jclsouza,

If your talking about the Shout Box, the turn if off in the admin site global Settings,  Enable shoutbox?

If you mean the chat is showing, then in the admin Membership Management, un-tick and save, this doesn't normally show unless
you added a chat, make chat set as none  admin site global Settings also.
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

*

jclsouza

  • *
  • 12
  • osDate Version: osDate v2.6.5
Re: Remove the chat (user page)
« Reply #2 on: December 03, 2017, 08:41:13 PM »
Hi!

I installed FlashChat, but it does not work anymore,
so I installed CometChat, but I want to remove the link (chat)
of FlashChat.

*

Pharg

  • *****
  • 2,886
    • OsDateFourm
  • osDate Version: osDateEvo v1.2
Re: Remove the chat (user page)
« Reply #3 on: December 03, 2017, 10:50:34 PM »
Hi jclsouza,

Yes flashchat hasen't been updated in about 7 to 8 years, You will have to remove/delete flashchat from the system and the database and the link will disappear.

Or In the both the dropdownpanelmenu_big.tpl and the dropdownpanelmenu_mid.tpl you can remove the chat links.

In the dropdownpanelmenu_big.tpl find this and remove it.
Code: [Select]
{if $smarty.session.security.chat == 1  and $smarty.session.expired != '1' and $smarty.session.active == '1' and  ( $smarty.session.status == $lang.status_enum.active or $smarty.session.status == 'active') }

{if $flashchat_installed == '1'}
    <form name='frmChat1' id='frmChat1' action="{$docroot}chat/flashchat_osdate.php" method='get' target="new">
<input type="hidden" name='username' value="{$smarty.session.UserName}" />
<input type="hidden" name='whatIneed' value="{$smarty.session.whatIneed}" />
</form>


<a href="#" onclick="javascript:document.frmChat1.submit(); return(false);">{lang mkey='chat'}</a>

{elseif $config.display_all_menu_items == 'Y' or $config.display_all_menu_items == '1'}

<a href="#" onclick="javascript:insufficientPrivileges();">{lang mkey='chat'}</a>
  {/if}
{/if}

In the dropdownpanelmenu_mid.tpl find this and remove it.
Code: [Select]
{if $smarty.session.security.chat == 1  and $smarty.session.expired != '1' and $smarty.session.active == '1' and  ( $smarty.session.status == $lang.status_enum.active or $smarty.session.status == 'active') }

{if $flashchat_installed == '1'}
<form name='frmChat2' id='frmChat2' action="{$docroot}chat/flashchat_osdate.php" method='get' target="new">
<input type="hidden" name='username' value="{$smarty.session.UserName}" />
<input type="hidden" name='whatIneed' value="{$smarty.session.whatIneed}" />
</form>
<li><a href="#" onclick="javascript:document.frmChat2.submit(); return(false);">{lang mkey='chat'}</a></li>

{elseif $config.display_all_menu_items == 'Y' or $config.display_all_menu_items == '1'}

<li><a href="#" onclick="javascript:insufficientPrivileges();">{lang mkey='chat'}</a></li>

 {/if}
{/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

*

jclsouza

  • *
  • 12
  • osDate Version: osDate v2.6.5
Re: Remove the chat (user page)
« Reply #4 on: December 03, 2017, 11:31:36 PM »
Hi!

I did not find the files in version osdate 2.6.5.
What's the folder?

*

Pharg

  • *****
  • 2,886
    • OsDateFourm
  • osDate Version: osDateEvo v1.2
Re: Remove the chat (user page)
« Reply #5 on: December 03, 2017, 11:45:15 PM »
Hi jclsouza,

It would of been more helpful if I knew what osdate version you were using before.

OsDateEvo v1.2 is the latest osDate with many updates, this is where those files are, that's why you didn't find them.

In osDate v2.6.5 it can be 1 of three files, more than likely panelmenu_options.tpl
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

*

jclsouza

  • *
  • 12
  • osDate Version: osDate v2.6.5
Re: Remove the chat (user page)
« Reply #6 on: December 04, 2017, 03:12:14 AM »
Hi Pharg,

Sorry, but I forgot to mention the version.
Thank you! I took the tip and removed the forum link.

*

Pharg

  • *****
  • 2,886
    • OsDateFourm
  • osDate Version: osDateEvo v1.2
Re: Remove the chat (user page)
« Reply #7 on: December 04, 2017, 03:25:27 AM »
No worries :)
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: Remove the chat (user page)
« Reply #8 on: December 04, 2017, 05:30:06 PM »
No worries :)
Quote
my flashchat6.0.8 working now in the osdateEvo1.2 new version. if you want test my site http://www.manset.net

*

Pharg

  • *****
  • 2,886
    • OsDateFourm
  • osDate Version: osDateEvo v1.2
Re: Remove the chat (user page)
« Reply #9 on: December 04, 2017, 08:16:44 PM »
Hi Manset,

Good one, just be aware that flashchat is not responsive for mobile unless you changed it.
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