Page 4 of 4

Is it possible to place Recent active block with mchat ?

Posted: 13 Jun 2012, 12:26
by Stoker
Did you test it and if so, what was the result?

Is it possible to place Recent active block with mchat ?

Posted: 13 Jun 2012, 12:59
by jabhi
It seems to be working fine for me...

Is it possible to place Recent active block with mchat ?

Posted: 13 Jun 2012, 13:25
by Stoker
The code you have added is this: and not S_USER_LOGGED_IN correct?
That code does that ONLY guests can view the chat. That is a weird thing to do...

Anyway, why not use group permissions for this? It can be set in ACP.

Is it possible to place Recent active block with mchat ?

Posted: 13 Jun 2012, 13:51
by jabhi
Stoker wrote:Anyway, why not use group permissions for this? It can be set in ACP.
I need to show mchat and recent active block in table for registered users and only mchat with full width for guest users. Is it possible with ACP permission ? Thanks.

Is it possible to place Recent active block with mchat ?

Posted: 13 Jun 2012, 15:03
by Stoker
I see, then your approach should be fine.

Is it possible to place Recent active block with mchat ?

Posted: 13 Jun 2012, 19:03
by jabhi
Okey, Thank you.

Is it possible to place Recent active block with mchat ?

Posted: 15 Jun 2012, 08:20
by jabhi
Because of doubt, Do I need to use <!-- ELSE --> in the code like :

Code: Select all

<!-- IF S_MCHAT_ENABLE and S_MCHAT_ON_INDEX and S_MCHAT_LOCATION and not S_USER_LOGGED_IN --><!-- INCLUDE mchat_body.html -->
<!-- ELSE -->
<table style="text-align: left; width: 100%;" border="0"
 cellpadding="2" cellspacing="2">
  <tbody>
    <tr>
      <td style="width: 50%;"><!-- IF S_MCHAT_ENABLE and S_MCHAT_ON_INDEX and S_MCHAT_LOCATION and S_USER_LOGGED_IN --><!-- INCLUDE mchat_body.html --><!-- ENDIF --></td>
      <td style="width: 50%;"><!-- IF S_TSRAT_ENABLE and S_USER_LOGGED_IN -->
<!-- INCLUDE recent_active_body.html -->
<!-- ENDIF --></td>
    </tr>
  </tbody>
</table>
<!-- ENDIF -->
Thank you.