Is it possible to place Recent active block with mchat ?

Download and support for PhpBB3 Top Stats Mod
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 »

Recent active block needs tweaking. How to remove "Replies", "Views" and "Last topics" column. And need to increase the height to the same of mchat. One more, Below the active topics should be like this " by "recent_active.TOPIC_LAST_POSTER_NAME" in "Forum name here" "recent_active.TOPIC_LAST_POST_TIME" .
Did you get me ? Thanks.
Site is http://newspaper.x10.mx/newsp/index.php
Logins removed
Last edited by jabhi on 09 Jun 2012, 14:10, edited 2 times in total.
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 »

I changed Some codes in recent_active_body.html .
Now it looks like this.
Edited sorry former was orginal,

Code: Select all

<!-- IF S_TS_JSSCROLL and TS_JSSCROLL_NAVIGATION and not S_TS_TICKER -->
<div style="text-align:right; padding-right:10px;"><a href="#" title="{L_PREVIOUS_SCROLL}" id="ticker-previous"><img src="{ROOT_PATH}images/player_rew.png" width="16" height="16" alt="{L_PREVIOUS_SCROLL}" /></a> <a href="#" title="{L_NEXT_SCROLL}" id="ticker-next"><img src="{ROOT_PATH}images/player_fwd.png" width="16" height="16" alt="{L_NEXT_SCROLL}" /></a> <a href="#" title="{L_STOP_SCROLL}" id="stop"><img src="{ROOT_PATH}images/player_pause.png" width="16" height="16" alt="{L_STOP_SCROLL}" /></a> <a href="#" title="{L_START_SCROLL}" id="start"><img src="{ROOT_PATH}images/player_play.png" width="16" height="16" alt="{L_START_SCROLL}" /></a></div>
<!-- ENDIF -->
<div class="forumlist">
<div class="forabg">
   <div class="inner"><span class="corners-top"><span></span></span>
   <ul class="topiclist">
      <li class="header widescreen-optimised">
         <dl class="icon">
            <dt><span class="wrap-content">{TSRAT_NUMBER} {L_RECENT_ACTIVE}</span></dt>
            
         </dl>
      </li>
   </ul>
   <div class="trigger active"></div>
      <div class="collapsethis">
   <ul <!-- IF S_TS_JSSCROLL and not S_TS_TICKER -->id="vertical-ticker" <!-- ELSEIF S_TS_TICKER and not S_TS_JSSCROLL -->id="news" <!-- ENDIF -->class="topiclist forums">
      <!-- IF S_TS_TICKER and not S_TS_JSSCROLL -->
      <li class="row">
      <!-- BEGIN recent_active -->
      <dl class="icon widescreen-optimised" style="background-image: url(<!-- IF recent_active.FORUM_IMAGE -->{ROOT_PATH}{recent_active.FORUM_IMAGE}<!-- ELSE -->{ROOT_PATH}images/starimg.png<!-- ENDIF -->); background-repeat: no-repeat;">
      <dt>
         <span class="wrap-content"><a href="{recent_active.U_FIRST_TOPIC}" class="forumtitle">{recent_active.TOPIC_TITLE}</a><br />
         {L_POST_BY_AUTHOR} <a style="font-weight:bold; color: #{recent_active.TOPIC_LAST_POSTER_COLOUR};" href="{recent_active.USERNAME_LAST}">{recent_active.TOPIC_LAST_POSTER_NAME}</a> {L_IN} <a href="{recent_active.FORUM_URL}">{recent_active.FORUM_NAME}</a> {recent_active.TOPIC_LAST_POST_TIME}</span>
      </dt>
       
      </dl>
      <!-- END recent_active -->
      </li>
      <!-- ELSE -->
      <!-- BEGIN recent_active -->
      <li class="row">
      <dl class="icon widescreen-optimised" style="background-image: url(<!-- IF recent_active.FORUM_IMAGE -->{ROOT_PATH}{recent_active.FORUM_IMAGE}<!-- ELSE -->{ROOT_PATH}images/starimg.png<!-- ENDIF -->); background-repeat: no-repeat;">
         <dt>
            <span class="wrap-content"><a href="{recent_active.U_FIRST_TOPIC}" class="forumtitle">{recent_active.TOPIC_TITLE}</a><br />
            {L_POST_BY_AUTHOR} <a style="font-weight:bold; color: #{recent_active.TOPIC_LAST_POSTER_COLOUR};" href="{recent_active.USERNAME_LAST}">{recent_active.TOPIC_LAST_POSTER_NAME}</a> {L_IN} <a href="{recent_active.FORUM_URL}">{recent_active.FORUM_NAME}</a> {recent_active.TOPIC_LAST_POST_TIME}</span>
         </dt>
        
      </dl>
      </li>
      <!-- END recent_active -->
      <!-- ENDIF -->
   </ul>
   </div>
   <span class="corners-bottom"><span></span></span></div>
  </div>
  </div>

I got like below.
Image

But the time is not correctly placing. I need the time in a format like this "5.30 pm" instead of showing the whole date and time. And how to increase the Height ( to show at least 4 or 5 more contents).
Thanks.
Last edited by jabhi on 09 Jun 2012, 13:55, edited 3 times in total.
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 »

Stoker, Any solutions... ?
Go phpBB go... Respected : Developers, Supporters.
User avatar
martin123456
BBCoder VI
BBCoder VI
Posts: 765
Joined: 25 Jul 2011, 13:29
BBCodes: 34
Favourite MOD: Ban button
Location: Down south!
Contact:

Is it possible to place Recent active block with mchat ?

Post by martin123456 »

Stoker wrote:Yes, how does it look?
AWFULLY horrid
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 »

^^
What about changing the width ....
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 »

Hai.. How to increase the height of the block ? 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 »

In overall_header.html it is set to 3 rows. Change it to what you prefer.
Also change the tweaks.css accordingly.
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 »

Thank you Stoker, That worked for me. A small problem in the code. The specified space is not filling. Can you rectify it ? Thanks.
Untitled-2.png

Code: Select all

<!-- IF S_TS_JSSCROLL and TS_JSSCROLL_NAVIGATION and not S_TS_TICKER -->
<div style="text-align:right; padding-right:10px;"><a href="#" title="{L_PREVIOUS_SCROLL}" id="ticker-previous"><img src="{ROOT_PATH}images/player_rew.png" width="16" height="16" alt="{L_PREVIOUS_SCROLL}" /></a> <a href="#" title="{L_NEXT_SCROLL}" id="ticker-next"><img src="{ROOT_PATH}images/player_fwd.png" width="16" height="16" alt="{L_NEXT_SCROLL}" /></a> <a href="#" title="{L_STOP_SCROLL}" id="stop"><img src="{ROOT_PATH}images/player_pause.png" width="16" height="16" alt="{L_STOP_SCROLL}" /></a> <a href="#" title="{L_START_SCROLL}" id="start"><img src="{ROOT_PATH}images/player_play.png" width="16" height="16" alt="{L_START_SCROLL}" /></a></div>
<!-- ENDIF -->
<div class="forabg">
	<div class="inner"><span class="corners-top"><span></span></span>
	<ul class="topiclist">
		<li class="header widescreen-optimised">
			<dl class="icon">
				<dt><span class="wrap-content">{TSRAT_NUMBER} {L_RECENT_ACTIVE}</span></dt>
				
			</dl>
		</li>
	</ul>
	<ul <!-- IF S_TS_JSSCROLL and not S_TS_TICKER -->id="vertical-ticker" <!-- ELSEIF S_TS_TICKER and not S_TS_JSSCROLL -->id="news" <!-- ENDIF -->class="topiclist forums">
		<!-- IF S_TS_TICKER and not S_TS_JSSCROLL -->
		<li class="row">
		<!-- BEGIN recent_active -->
		<dl class="icon widescreen-optimised" style="background-image: url(<!-- IF recent_active.FORUM_IMAGE -->{ROOT_PATH}{recent_active.FORUM_IMAGE}<!-- ELSE -->{ROOT_PATH}images/starimg.png<!-- ENDIF -->); background-repeat: no-repeat;">
		<dt>
		   <span class="wrap-content"><a href="{recent_active.U_FIRST_TOPIC}" class="forumtitle">{recent_active.TOPIC_TITLE}</a><br />
		   {L_POST_BY_AUTHOR} <a style="font-weight:bold; color: #{recent_active.TOPIC_LAST_POSTER_COLOUR};" href="{recent_active.USERNAME_LAST}">{recent_active.TOPIC_LAST_POSTER_NAME}</a> {L_IN} <a href="{recent_active.FORUM_URL}">{recent_active.FORUM_NAME}</a> {recent_active.TOPIC_LAST_POST_TIME}</span>
		</dt>
		</dl>
		<!-- END recent_active -->
		</li>
		<!-- ELSE -->
		<!-- BEGIN recent_active -->
		<li class="row">
		<dl class="icon widescreen-optimised" style="background-image: url({ROOT_PATH}images/starimg.png); background-repeat: no-repeat;">
			<dt>
				<span class="wrap-content"><a href="{recent_active.U_FIRST_TOPIC}" class="forumtitle">{recent_active.TOPIC_TITLE}</a><br />
				{L_POST_BY_AUTHOR} <a style="font-weight:bold; color: #{recent_active.TOPIC_LAST_POSTER_COLOUR};" href="{recent_active.USERNAME_LAST}">{recent_active.TOPIC_LAST_POSTER_NAME}</a> {L_IN} <a href="{recent_active.FORUM_URL}">{recent_active.FORUM_NAME}</a> {recent_active.TOPIC_LAST_POST_TIME}</span>
			</dt>
		</dl>
		</li>
		<!-- END recent_active -->
		<!-- ENDIF -->
	</ul>
	<span class="corners-bottom"><span></span></span></div>
</div>
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 »

Try replace <li class="row"> with <li class="row" style="width:98%;">
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 »

That seems to be not working for me .. :(
Go phpBB go... Respected : Developers, Supporters.
Locked