Page 1 of 1

recent_active_body out dated

Posted: 01 Jun 2012, 14:24
by martin123456
Cant post in the related topic here viewtopic.php?f=49&t=1497&start=10

A quote you made and it did work at the time

Yes, that is because you are using the Premod.
You will need to use this recent_active_body.html instead:

Code: Select all

<!-- Start Recent Active Topics -->
<div class="forumlist">
   <div class="forabg">
      <div class="inner"><span class="corners-top"><span></span></span>
      <ul class="topiclist">
         <li class="header">
            <dl class="icon">
               <dt>{L_RECENT_ACTIVE}</dt>
               <dd class="topics">{L_STATS}</dd>
               <dd class="lastpost"><span>{L_LAST_POST}</span></dd>
            </dl>
         </li>
      </ul>
      <!-- IF SCRIPT_NAME eq 'index' --><div class="portaltrigger portalactive"></div><!-- ENDIF -->
      <div class="collapsethis">
      <ul class="topiclist forums">
         <!-- BEGIN recent_active -->
         <li class="row">
         <dl class="icon" style="background-image: url({ROOT_PATH}images/starimg.png); background-repeat: no-repeat;">
            <dt>
               <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_FIRST_POSTER_COLOUR};" href="{recent_active.USERNAME_FIRST}">{recent_active.TOPIC_FIRST_POSTER_NAME}</a> {recent_active.TOPIC_TIME}
            </dt>
            <dd class="topics"><!-- IF recent_active.TOPIC_REPLIES > 1 or recent_active.TOPIC_REPLIES < 1 -->{recent_active.TOPIC_REPLIES} {L_REPLIES}<!-- ELSE -->{recent_active.TOPIC_REPLIES} {L_REPLY}<!-- ENDIF --><br />
               <!-- IF recent_active.TOPIC_VIEWS > 1 or recent_active.TOPIC_VIEWS < 1 -->{recent_active.TOPIC_VIEWS} {L_VIEWS}<!-- ELSE -->{recent_active.TOPIC_VIEWS} {L_VIEW}<!-- ENDIF --></dd>
            <dd class="lastpost"><span>
               {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> <a href="{recent_active.U_LAST_TOPIC}">{LAST_POST_IMG}</a><br />{recent_active.TOPIC_LAST_POST_TIME}</span>
            </dd>
         </dl>
         </li>
         <!-- END recent_active -->
      </ul>
      </div>
      <span class="corners-bottom"><span></span></span></div>
   </div>
</div>
<!-- End Recent Active Topics -->
The above no longer works on pre_mod as shown in the pick

Image

by adding the code above it stops the scroll and removes the play stop buttons ;)

now add the top stats 108 recent_active_body file and it works but shows as the image in this post

recent_active_body out dated

Posted: 02 Jun 2012, 09:08
by Stoker
Here is mine

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">
				<dl class="icon">
					<dt>{TSRAT_NUMBER} {L_RECENT_ACTIVE}</dt>
					<dd class="views">{L_STATS}</dd>
					<dd class="lastpost"><span>{L_LAST_POST}</span></dd>
				</dl>
			</li>
		</ul>
		<div class="portaltrigger portalactive"></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_JSSCROLL or not S_TS_TICKER -->
			<!-- BEGIN recent_active -->
			<li class="row">
			<dl class="icon" 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>
               <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_FIRST_POSTER_COLOUR};" href="{recent_active.USERNAME_FIRST}">{recent_active.TOPIC_FIRST_POSTER_NAME}</a> {L_IN} <a href="{recent_active.FORUM_URL}">{recent_active.FORUM_NAME}</a> {recent_active.TOPIC_TIME}
            </dt>
            <dd class="views"><!-- IF recent_active.TOPIC_REPLIES > 1 or recent_active.TOPIC_REPLIES < 1 -->{recent_active.TOPIC_REPLIES} {L_REPLIES}<!-- ELSE -->{recent_active.TOPIC_REPLIES} {L_REPLY}<!-- ENDIF --><br />
               <!-- IF recent_active.TOPIC_VIEWS > 1 or recent_active.TOPIC_VIEWS < 1 -->{recent_active.TOPIC_VIEWS} {L_VIEWS}<!-- ELSE -->{recent_active.TOPIC_VIEWS} {L_VIEW}<!-- ENDIF --></dd>
            <dd class="lastpost"><span>
               {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> <a href="{recent_active.U_LAST_TOPIC}">{LAST_POST_IMG}</a><br />{recent_active.TOPIC_LAST_POST_TIME}</span>
            </dd>
			</dl>
			</li>
			<!-- END recent_active -->
			<!-- ELSEIF S_TS_TICKER -->
			<li class="row">
			<!-- BEGIN recent_active -->
			<dl class="icon" style="background-image: url({ROOT_PATH}images/starimg.png); background-repeat: no-repeat;">
            <dt>
               <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_FIRST_POSTER_COLOUR};" href="{recent_active.USERNAME_FIRST}">{recent_active.TOPIC_FIRST_POSTER_NAME}</a> {L_IN} <a href="{recent_active.FORUM_URL}">{recent_active.FORUM_NAME}</a> {recent_active.TOPIC_TIME}
            </dt>
            <dd class="topics"><!-- IF recent_active.TOPIC_REPLIES > 1 or recent_active.TOPIC_REPLIES < 1 -->{recent_active.TOPIC_REPLIES} {L_REPLIES}<!-- ELSE -->{recent_active.TOPIC_REPLIES} {L_REPLY}<!-- ENDIF --><br />
               <!-- IF recent_active.TOPIC_VIEWS > 1 or recent_active.TOPIC_VIEWS < 1 -->{recent_active.TOPIC_VIEWS} {L_VIEWS}<!-- ELSE -->{recent_active.TOPIC_VIEWS} {L_VIEW}<!-- ENDIF --></dd>
            <dd class="lastpost"><span>
               {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> <a href="{recent_active.U_LAST_TOPIC}">{LAST_POST_IMG}</a><br />{recent_active.TOPIC_LAST_POST_TIME}</span>
            </dd>
			</dl>
			<!-- END recent_active -->
			</li>
			<!-- ENDIF -->
		</ul>
		</div>
		<span class="corners-bottom"><span></span></span></div>
	</div>
</div>