Is it possible to place Recent active block with mchat ?

Download and support for PhpBB3 Top Stats Mod
User avatar
Stoker
Site Admin
Site Admin
Posts: 3540
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Is it possible to place Recent active block with mchat ?

Post by Stoker »

Did you test it and if so, what was the result?
Board rules! No PM support
User avatar
jabhi
BBCoder II
BBCoder II
Posts: 69
Joined: 16 Mar 2012, 09:13
BBCodes: 3
Favourite BBCode: pdf
Favourite MOD: pretty photo

Is it possible to place Recent active block with mchat ?

Post by jabhi »

It seems to be working fine for me...
Go phpBB go... Respected : Developers, Supporters.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3540
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Is it possible to place Recent active block with mchat ?

Post 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.
Board rules! No PM support
User avatar
jabhi
BBCoder II
BBCoder II
Posts: 69
Joined: 16 Mar 2012, 09:13
BBCodes: 3
Favourite BBCode: pdf
Favourite MOD: pretty photo

Is it possible to place Recent active block with mchat ?

Post 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.
Go phpBB go... Respected : Developers, Supporters.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3540
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Is it possible to place Recent active block with mchat ?

Post by Stoker »

I see, then your approach should be fine.
Board rules! No PM support
User avatar
jabhi
BBCoder II
BBCoder II
Posts: 69
Joined: 16 Mar 2012, 09:13
BBCodes: 3
Favourite BBCode: pdf
Favourite MOD: pretty photo

Is it possible to place Recent active block with mchat ?

Post by jabhi »

Okey, Thank you.
Go phpBB go... Respected : Developers, Supporters.
User avatar
jabhi
BBCoder II
BBCoder II
Posts: 69
Joined: 16 Mar 2012, 09:13
BBCodes: 3
Favourite BBCode: pdf
Favourite MOD: pretty photo

Is it possible to place Recent active block with mchat ?

Post 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.
Go phpBB go... Respected : Developers, Supporters.
Locked