Top Stats

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

Is it possible to place Recent active block with mchat ?

Post by Upside555 »

Bl4d3 x What kind of style do you use?

Is it possible to place Recent active block with mchat ?

Post by themission »

The styles in the premod i think

Is it possible to place Recent active block with mchat ?

Post by Upside555 »

style name must

How to Hide Top Stats?

Post by Rhyno »

Heya All

How can i hide from guests :

Most Active Users
Last Visited Bots
Last Registered Users

The rest of the top stats is fine however and they don't show.

Is it possible to place Recent active block with mchat ?

Post by jabhi »

Can I use IF statement like this ?

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 --><!-- ENDIF -->
<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>
Will this cause a problem to permission for guests to not to view mchat.
:?
Thanks...

Is it possible to place Recent active block with mchat ?

Post by Stoker »

Did you test it and if so, what was the result?

Is it possible to place Recent active block with mchat ?

Post by jabhi »

It seems to be working fine for me...

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.

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.

Is it possible to place Recent active block with mchat ?

Post by Stoker »

I see, then your approach should be fine.