Jump to content

Watch this topic


dziner

Recommended Posts

In Topic View -> topicViewTemplate find the following code: 




 	<else />

 		<if test="finalReply:|:$displayData['reply_button']['image']">

 			<if test="finalReplyLink:|:$displayData['reply_button']['url']">

 				<li><a href='{$displayData['reply_button']['url']}' title='{$this->lang->words['add_a_reply']}' accesskey='r'>{parse replacement="reply_icon"} {$this->lang->words['topic_add_reply']}</a></li>

 			<else />

 				<li class='disabled'><span>{$this->lang->words['top_cannot_reply']}</span></li>

 			</if>

 		</if>

 	</if>





After that, and before the next </ul>, add this: 


 		<if test="watchWrapper:|:$this->memberData['member_id']">

 			<li>

 				<if test="isWatching:|:$this->settings['cpu_watch_update'] AND $topic['trackingTopic']">

 					<a href='{parse url="app=core&amp;module=usercp&amp;tab=forums&amp;area=updateWatchTopics&amp;do=saveIt&amp;authKey={$this->member->form_hash}&amp;topicIDs[{$topic['tid']}]=1&amp;trackchoice=unsubscribe&amp;topicReturn={$topic['tid']}" base="public"}' title='{$this->lang->words['topic_stop_watching']}'>{parse replacement="watch_topic_off"}&nbsp;&nbsp;{$this->lang->words['topic_stop_watching']}</a>

 				<else />

 					<a href='{parse url="app=core&amp;module=usercp&amp;tab=forums&amp;area=watch&amp;watch=topic&amp;do=list&amp;tid={$topic['tid']}" base="public"}' title='{$this->lang->words['tt_title']}'>{parse replacement="watch_topic_on"}&nbsp;&nbsp;{$this->lang->words['tt_title']}</a>

 				</if>

 			</li>

 		</if>


Link to comment
Share on other sites

[quote name='Andy D' date='24 July 2009 - 07:28 PM' timestamp='1248460097' post='1832617']
Yes should be added by default I think :) Especially for those who like everything symmetrical thumbsup.png



Yes :) plus you wouldn't have to scroll all the way up to just click on watch topic.

Link to comment
Share on other sites

[quote name='dziner' date='25 July 2009 - 12:56 PM' timestamp='1248541008' post='1833055']
Yes :) plus you wouldn't have to scroll all the way up to just click on watch topic.

Well then you could just click on the "Return to Top" button and click on the Watch button.

*hint hint IPS*

:D

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...