Moved Topics?

Download and support for PhpBB3 Top Stats Mod
User avatar
Blackwolf
BBCoder IV
BBCoder IV
Posts: 272
Joined: 04 Dec 2010, 12:36
BBCodes: 101
Favourite BBCode: Dropcap
Favourite MOD: mchat
Location: Melbourne Australia

Moved Topics?

Post by Blackwolf »

I had 4 recent viewed topics & 4 most replied topics set.....

Every month we create a new sub forum https://www.ultimateeditionoz.com/forum ... .php?f=105

And move the Wallpaper Of The Day thread ....say from November to December......

If you then click one of 2 instances of Wallpaper Of The Day....in Most Viewed Topics.......error "Topic Does Not Exist"

Obviously because its moved.....any way to stop this? :oops:

I have left it at 4 so you can see what I refer to.

under 4 MOST REPLIED TOPICS Wallpaper Of The Day shows 3 times :?

Helpful advice always appreciated & anticipated. :)
Most Viewed.png
Ultimate Edition, Ultimate Edition Oz, Oz Unity

“We are Anonymous. We are Legion. We do not forgive. We do not forget. Expect us.”
User avatar
Stoker
Site Admin
Site Admin
Posts: 3525
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Moved Topics?

Post by Stoker »

I cant reproduce the error. I tried moving some topics here. That went fine.
Even when a topic is moved, the old url to the topic is still working.
So the problem is probably something else than this mod.

You are not using latest version, which you should because I dont support old versions of any of my mods.
Board rules! No PM support
User avatar
Blackwolf
BBCoder IV
BBCoder IV
Posts: 272
Joined: 04 Dec 2010, 12:36
BBCodes: 101
Favourite BBCode: Dropcap
Favourite MOD: mchat
Location: Melbourne Australia

Moved Topics?

Post by Blackwolf »

Ok...I realise there is no support for the old version......But I realise what it is...I am missing

Code: Select all

<!-- IF S_TSRAT_ENABLE and S_TS_JSSCROLL and SCRIPT_NAME == "index" -->
from my over all header....but if I place it in the required spot I get the below error

Code: Select all

Parse error: syntax error, unexpected $end in /home4/ultimbz7/public_html/forum/includes/template.php(677) : eval()'d code on line 406
and a messed up display...

Current section for your perusal if you dont mind? :roll: Please?

Code: Select all

</script>
            <script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/forum_fn.js"></script>
            <script type="text/javascript" src="{T_TEMPLATE_PATH}/ca_scripts.js"></script>
            <script src="{ROOT_PATH}script/jquery-1.7.1.min.js" type="text/javascript"></script>

</script>
<script src="./script/jquery.totemticker.js" type="text/javascript"></script>
<script type="text/javascript">
// <![CDATA[
$(document).ready(function() {
	$('#vertical-ticker').totemticker({
				row_height   :   '45px',
    max_items   :   4,
    speed       :   200,
    interval    :   4000,
    mousestop   :   true,
	});
});
// ]]>
</script>

       
            <link href="{T_THEME_PATH}/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
            <link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />

            <!--[if IE]><link href="{T_THEME_PATH}/tweaks_ie.css" type="text/css" rel="stylesheet"/><![endif]-->
            <!-- IF S_MCHAT_ENABLE and (S_MCHAT_ON_INDEX or U_MCHAT) -->
            <script type="text/javascript" src="{ROOT_PATH}mchat/jquery.titlealert.min.js"></script>
            <script type="text/javascript" src="{ROOT_PATH}mchat/jquery_cookie_mini.js"></script>
            <script type="text/javascript" src="{T_TEMPLATE_PATH}/jquery.maxlength.js"></script>
            <!-- ENDIF -->
            <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
            <script type="text/javascript" src="{T_TEMPLATE_PATH}/tooltips.js"></script>
        <script type="text/javascript">
        function brokenImage(img)
        {
            img.src='{ROOT_PATH}images/notfound.gif';
        }
            <!-- IF S_VIEWFORUM or S_SHOW_TOPICS -->
            <script type="text/javascript" src="{ROOT_PATH}tipTip/jquery.tipTip.minified.js"></script>
            <script type="text/javascript" charset="utf-8">
            $(function(){
               $("dt").tipTip({maxWidth:"300px"});
            });
            </script>
            <link href="{ROOT_PATH}tipTip/tipTip.css" rel="stylesheet" type="text/css" media="screen" />
            <!-- ENDIF -->
Ultimate Edition, Ultimate Edition Oz, Oz Unity

“We are Anonymous. We are Legion. We do not forgive. We do not forget. Expect us.”
User avatar
Stoker
Site Admin
Site Admin
Posts: 3525
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Moved Topics?

Post by Stoker »

Well, you will also need an endif: <!-- ENDIF -->
Take a look at the install.xml - Im sure you can find what you need there.
Board rules! No PM support
User avatar
Blackwolf
BBCoder IV
BBCoder IV
Posts: 272
Joined: 04 Dec 2010, 12:36
BBCodes: 101
Favourite BBCode: Dropcap
Favourite MOD: mchat
Location: Melbourne Australia

Moved Topics?

Post by Blackwolf »

Thanks. Now I have that simple endif from you sorted...I'll update it tomorrow ;) night with the new version....thanks.
Ultimate Edition, Ultimate Edition Oz, Oz Unity

“We are Anonymous. We are Legion. We do not forgive. We do not forget. Expect us.”
User avatar
Blackwolf
BBCoder IV
BBCoder IV
Posts: 272
Joined: 04 Dec 2010, 12:36
BBCodes: 101
Favourite BBCode: Dropcap
Favourite MOD: mchat
Location: Melbourne Australia

Moved Topics?

Post by Blackwolf »

I have upgraded to 1.0.6. Perfect. I have also tried to fix the width due to no forum icons...as per second last post here...http://www.phpbb.com/community/viewtopi ... 0&start=30

Did not work though......can I trouble you to look please?

I'll add a beer to the kitty. ;)

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">
	{$CA_BLOCK_START}
		<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="topics">{L_REPLIES}</dd>
					<dd class="posts">{L_VIEWS}</dd>
					<dd class="lastpost"><span>{L_LAST_POST}</span></dd>
				</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" 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" style="width:8%">{recent_active.TOPIC_REPLIES}</dd>
				<dd class="posts" style="width:8%">{recent_active.TOPIC_VIEWS}</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>
			<!-- ELSE -->
			<!-- 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> {L_IN} <a href="{recent_active.FORUM_URL}">{recent_active.FORUM_NAME}</a> {recent_active.TOPIC_TIME}
				</dt>
				<dd class="topics" style="width:8%">{recent_active.TOPIC_REPLIES}</dd>
				<dd class="posts" style="width:8%">{recent_active.TOPIC_VIEWS}</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 -->
			<!-- ENDIF -->
		</ul>
		<span class="corners-bottom"><span></span></span></div>
	{$CA_BLOCK_END}
	</div>
Gap here?
Gap here?
The moved post original issue remains.... :oops:
Ultimate Edition, Ultimate Edition Oz, Oz Unity

“We are Anonymous. We are Legion. We do not forgive. We do not forget. Expect us.”
User avatar
Stoker
Site Admin
Site Admin
Posts: 3525
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Moved Topics?

Post by Stoker »

Try this:

Code: Select all

<div class="forabg">
{$CA_BLOCK_START}
  <div class="inner"><span class="corners-top"><span></span></span>
  <ul class="topiclist">
	 <li class="header">
		<dl class="no_icon">
		   <dt>{TSRAT_NUMBER} {L_RECENT_ACTIVE}</dt>
		   <dd class="topics">{L_REPLIES}</dd>
		   <dd class="posts">{L_VIEWS}</dd>
		   <dd class="lastpost"><span>{L_LAST_POST}</span></dd>
		</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" 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" style="width:8%">{recent_active.TOPIC_REPLIES}</dd>
		<dd class="posts" style="width:8%">{recent_active.TOPIC_VIEWS}</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>
	 <!-- ELSE -->
	 <!-- BEGIN recent_active -->
	 <li class="row">
	 <dl class="no_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" style="width:8%">{recent_active.TOPIC_REPLIES}</dd>
		<dd class="posts" style="width:8%">{recent_active.TOPIC_VIEWS}</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 -->
	 <!-- ENDIF -->
  </ul>
  <span class="corners-bottom"><span></span></span></div>
{$CA_BLOCK_END}
</div>
<!-- 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 -->
The move post issue is caused by something else.
When you move a topic from one forum to another, the old url will still work.
For some reason it doesnt on your board.
Board rules! No PM support
User avatar
Blackwolf
BBCoder IV
BBCoder IV
Posts: 272
Joined: 04 Dec 2010, 12:36
BBCodes: 101
Favourite BBCode: Dropcap
Favourite MOD: mchat
Location: Melbourne Australia

Moved Topics?

Post by Blackwolf »

Thanks so very much stoker :D .....just a slight image overlay? Appreciate the custom coding!!
image overlay?
image overlay?
Ultimate Edition, Ultimate Edition Oz, Oz Unity

“We are Anonymous. We are Legion. We do not forgive. We do not forget. Expect us.”
User avatar
Stoker
Site Admin
Site Admin
Posts: 3525
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Moved Topics?

Post by Stoker »

Didnt we remove the stars the last time?

If so use this:

Code: Select all

<div class="forabg">
{$CA_BLOCK_START}
  <div class="inner"><span class="corners-top"><span></span></span>
  <ul class="topiclist">
	 <li class="header">
		<dl class="no_icon">
		   <dt>{TSRAT_NUMBER} {L_RECENT_ACTIVE}</dt>
		   <dd class="topics">{L_REPLIES}</dd>
		   <dd class="posts">{L_VIEWS}</dd>
		   <dd class="lastpost"><span>{L_LAST_POST}</span></dd>
		</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="no_icon">
		<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" style="width:8%">{recent_active.TOPIC_REPLIES}</dd>
		<dd class="posts" style="width:8%">{recent_active.TOPIC_VIEWS}</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>
	 <!-- ELSE -->
	 <!-- BEGIN recent_active -->
	 <li class="row">
	 <dl class="no_icon">
		<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" style="width:8%">{recent_active.TOPIC_REPLIES}</dd>
		<dd class="posts" style="width:8%">{recent_active.TOPIC_VIEWS}</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 -->
	 <!-- ENDIF -->
  </ul>
  <span class="corners-bottom"><span></span></span></div>
{$CA_BLOCK_END}
</div>
<!-- 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 -->
Board rules! No PM support
User avatar
Blackwolf
BBCoder IV
BBCoder IV
Posts: 272
Joined: 04 Dec 2010, 12:36
BBCodes: 101
Favourite BBCode: Dropcap
Favourite MOD: mchat
Location: Melbourne Australia

Moved Topics?

Post by Blackwolf »

got it...... ;) With stars :thumb:

Code: Select all

<dl>
            <dt>
               <span class="forum-image"><img src="{ROOT_PATH}images/starimg.png" width="27" height="27" alt="" /></span><div class="forum-image-div">
            <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" style="width:8%">{recent_active.TOPIC_REPLIES}</dd>
            <dd class="posts" style="width:8%">{recent_active.TOPIC_VIEWS}</dd>
            <dd class="lastpost"><span>
Last edited by Blackwolf on 30 Nov 2011, 12:25, edited 3 times in total.
Ultimate Edition, Ultimate Edition Oz, Oz Unity

“We are Anonymous. We are Legion. We do not forgive. We do not forget. Expect us.”
Locked