Prosilver "View New Posts" on ALL pages

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Scam Warning
Locked
MadTaffy
Registered User
Posts: 60
Joined: Fri Dec 18, 2009 9:59 pm

Prosilver "View New Posts" on ALL pages

Post by MadTaffy » Tue Jun 14, 2011 12:13 am

Hi there,

I've noticed with prosilver that the options for:

• View unanswered posts • View new posts • View active topics .....isn't on all pages like other styles,

I have searched around and used some edits suggested on here but they aren't exactly what i'm after,

This is what i have now using suggested edits:

Image

This also created 2 "Mark forums read" options on the index page which isn't very good,

What i want is just the • View new posts next to where it has • View your posts

So it would be • View your posts • View new posts on this section instead as above, here is a crude attempt at a visual to explain exactly what i want,

Image

So I want just View new posts on every page in this part of the forum

Hope that makes sense,

Many thanks in advance for any help

Cheers MT

p.s Can i be a pain and ask for 2 options as I'm not sure to have just the view new posts or to go for this:

• View your posts • View new posts • View active topics ...in the section pointed out in the 2nd pic, I don't need the other options Unanswered posts, Mark forums read as imo they never get used, well not on every page anyway...

Don't want much hey :D

User avatar
Kamahl19
Registered User
Posts: 1598
Joined: Tue Nov 06, 2007 3:33 pm
Location: Slovakia
Name: Martin
Contact:

Re: Prosilver "View New Posts" on ALL pages

Post by Kamahl19 » Tue Jun 14, 2011 12:21 am

Open index_body.html and delete the link for View new posts

Code: Select all

<!-- IF S_USER_LOGGED_IN --> &bull; <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF -->
open overall_header.html
find

Code: Select all

<!-- IF S_DISPLAY_SEARCH --> &bull;
	<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
<!-- ENDIF -->
add after

Code: Select all

<!-- IF S_DISPLAY_SEARCH --> &bull; <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF -->

MadTaffy
Registered User
Posts: 60
Joined: Fri Dec 18, 2009 9:59 pm

Re: Prosilver "View New Posts" on ALL pages

Post by MadTaffy » Fri Jun 17, 2011 7:28 pm

Thank you very much, worked perfect :D

Much appreciated

Cheers MadTaffy

Elysea
Registered User
Posts: 48
Joined: Mon Mar 21, 2011 10:48 pm

Re: Prosilver "View New Posts" on ALL pages

Post by Elysea » Wed Jul 11, 2012 6:57 pm

Is it possible to add this to it?

View unanswered posts • View unread posts • View active topics

MsIrey
Registered User
Posts: 144
Joined: Tue Sep 02, 2008 1:50 am
Location: Florida

Re: Prosilver "View New Posts" on ALL pages

Post by MsIrey » Fri Jul 27, 2012 6:38 pm

Thank you, kamahl19. I tried this on my test forum and it works perfectly.

Elysea
Registered User
Posts: 48
Joined: Mon Mar 21, 2011 10:48 pm

Re: Prosilver "View New Posts" on ALL pages

Post by Elysea » Tue Aug 14, 2012 10:35 am

Is it possible to add "View unread posts" to all pages. Please anyone?

User avatar
HGN
Former Team Member
Posts: 4706
Joined: Wed Dec 03, 2008 1:53 pm
Location: The Netherlands
Name: Alfred
Contact:

Re: Prosilver "View New Posts" on ALL pages

Post by HGN » Tue Aug 14, 2012 10:53 am

Elysea wrote:Is it possible to add this to it?

View unanswered posts • View unread posts • View active topics
It's the same procedure.
Kamahl19 wrote:add after

Code: Select all

<!-- IF S_DISPLAY_SEARCH --> &bull; <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF -->
From index_body.html remove the following and replace the code given by Kamahl19 by the same:

Code: Select all

	<!-- IF S_DISPLAY_SEARCH -->
		<li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a><!-- IF S_LOAD_UNREADS --> &bull; <a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a><!-- ENDIF --><!-- IF S_USER_LOGGED_IN --> &bull; <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF --> &bull; <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></li>
	<!-- ENDIF -->

yamahar
Registered User
Posts: 42
Joined: Sun Dec 09, 2012 12:17 pm

Re: Prosilver "View New Posts" on ALL pages

Post by yamahar » Thu Feb 28, 2013 11:02 am

I too am looking to add into my prosilver based forum the View unanswered posts • View unread posts • View new posts • View active topics so it's visable from anywhere in the board and not just the index page.

Below is my overall_header before any changes, I have tried the change suggested by Kamahl19 but the links do not appear when I open other forum categories from, still only on the index page.


stock Overall_header_html BEFORE changes.

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta name="google-site-verification" content="zwMIbhkVjoZZa1U8LEVs6pziJ1z2coJ5HRtYioWjHTQ" />
<meta name="google-site-verification" content="K-0FviNHDaQKv2WVybIGGLzM0KmQ5o2es2O42fVh7X0" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
<script type="text/javascript">
var tapatalkdir="{MOBIQUO_NAME}";
var tapatalk_ipad_msg = '{TAPATALK_IPAD_MSG}';
var tapatalk_ipad_url  = '{TAPATALK_IPAD_URL}';
var tapatalk_iphone_msg = '{TAPATALK_IPHONE_MSG}';
var tapatalk_iphone_url  = '{TAPATALK_IPHONE_URL}';
var tapatalk_android_msg = '{TAPATALK_ANDROID_MSG}';
var tapatalk_android_url  = '{TAPATALK_ANDROID_URL}';
var tapatalk_kindle_msg = '{TAPATALK_KINDLE_MSG}';
var tapatalk_kindle_url  = '{TAPATALK_KINDLE_URL}';
var tapatalk_chrome_enable = '{TAPATALK_CHROME_ENABLE}';
</script>
<script type="text/javascript" src="{TAPATALKDETECT_JS}"></script>
<link rel="stylesheet" type="text/css" href="{T_THEME_PATH}/style_wide.css" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="fixed" href="{T_THEME_PATH}/style_fixed.css" />

<!-- IF S_ENABLE_FEEDS -->
	<!-- IF S_ENABLE_FEEDS_OVERALL --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_NEW}" href="{U_FEED}?mode=topics" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPICS_ACTIVE --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_ACTIVE}" href="{U_FEED}?mode=topics_active" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&t={S_TOPIC_ID}" /><!-- ENDIF -->
<!-- ENDIF -->

<!--
	phpBB style name: prosilver
	Based on style:   prosilver (this is the default phpBB3 style)
	Original author:  Tom Beddard ( http://www.subBlue.com/ )
	Modified by:
-->

<script type="text/javascript">
// <![CDATA[
	var jump_page = '{LA_JUMP_PAGE}:';
	var on_page = '{ON_PAGE}';
	var per_page = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';
	var style_cookie = 'phpBBstyle';
	var style_cookie_settings = '{A_COOKIE_SETTINGS}';
	var onload_functions = new Array();
	var onunload_functions = new Array();

	<!-- IF S_USER_PM_POPUP and S_NEW_PM -->
		var url = '{UA_POPUP_PM}';
		window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
	<!-- ENDIF -->

	/**
	* Find a member
	*/
	function find_username(url)
	{
		popup(url, 760, 570, '_usersearch');
		return false;
	}

	/**
	* New function for handling multiple calls to window.onload and window.unload by pentapenguin
	*/
	window.onload = function()
	{
		for (var i = 0; i < onload_functions.length; i++)
		{
			eval(onload_functions[i]);
		}
	};

	window.onunload = function()
	{
		for (var i = 0; i < onunload_functions.length; i++)
		{
			eval(onunload_functions[i]);
		}
	};

// ]]>
</script>
<script type="text/javascript" src="{ROOT_PATH}js/styleswitcher.js"></script>
<script type="text/javascript" src="{ROOT_PATH}js/forum_fn.js"></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" />

<link href="{T_THEME_PATH}/normal.css" rel="stylesheet" type="text/css" title="A" />
<link href="{T_THEME_PATH}/medium.css" rel="alternate stylesheet" type="text/css" title="A+" />
<link href="{T_THEME_PATH}/large.css" rel="alternate stylesheet" type="text/css" title="A++" />

<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
	<link href="{T_THEME_PATH}/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->


<!-- IF STARGATE -->
<!-- INCLUDE set-width.html -->
<!-- INCLUDE portal_scripts.html -->
<!-- ENDIF -->


<!-- IF S_MCHAT_ENABLE and (S_MCHAT_ON_INDEX or U_MCHAT) -->
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery-1.5.0.min.js"></script>
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_cookie_mini.js"></script>
<!-- ENDIF -->

<!-- SAFEGT START -->
<!-- IF S_SAFEGT_UCP --><script type="text/javascript" src="{ROOT_PATH}safegt/intprotector.js"></script><!-- ENDIF -->
<!-- IF S_SAFE_GT_TOPIC --><script type="text/javascript" src="{ROOT_PATH}safegt/overlib/overlib.js"></script><!-- ENDIF -->
<!-- IF S_SAFE_GT_TOPIC --><script type="text/javascript" src="{ROOT_PATH}safegt/overgt.js"></script><!-- ENDIF -->
<!-- SAFEGT END -->

<!-- IF (S_RBPM_ENABLE or S_RBPM_INSC_ENABLE) and S_USER_NEW_PRIVMSG -->
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/jquery-blink.js"></script>
<script type="text/javascript" charset="utf-8">
// <![CDATA[
$(document).ready(function(){
        $('.blink').blink();
});
// ]]>
</script><!-- ENDIF -->

<!-- INCLUDE ads/ads.js -->
</head>

<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
<!-- IF STARGATE -->
<div id="page-width" class="stylewidth">
<!-- ENDIF -->

<div id="wrap">
	<a id="top" name="top" accesskey="t"></a>
	<div id="page-header">
		{ADS_1}
		<div class="headerbar">
			<div class="inner"><span class="corners-top"><span></span></span>

			<div id="site-description">
				<!-- IF STARGATE -->
					<a href="{U_PORTAL}" title="{L_PORTAL}" id="logo">{SITE_LOGO_IMG}</a>
				<!-- ELSE -->
					<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
				<!-- ENDIF -->
				<h1>{SITENAME}</h1>
				<p>{SITE_DESCRIPTION}</p>
				<p class="skiplink"><a href="#start_here">{L_SKIP}</a></p>
			</div>

		<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
			<div id="search-box">
				<form action="{U_SEARCH}" method="get" id="search">
				<fieldset>
					<input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" />
					<input class="button2" value="{L_SEARCH}" type="submit" /><br />
					<a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_SEARCH_HIDDEN_FIELDS}
				</fieldset>
				</form>
			</div>
		<!-- ENDIF -->

			<span class="corners-bottom"><span></span></span></div>
		</div>

		<div class="navbar">
			<div class="inner"><span class="corners-top"><span></span></span>

			<ul class="linklist navlinks">
			<!-- IF STARGATE -->
				<li class="icon-home"><a href="{U_PORTAL}" accesskey="h">{L_PORTAL}</a> &bull; <a href="{U_INDEX}" accesskey="h">{L_INDEX}</a><!-- BEGIN navlinks --> <strong>&#8249;</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></li>
			<!-- ELSE -->
				<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a> <!-- BEGIN navlinks --> <strong>&#8249;</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></li>
			<!-- ENDIF -->

				<li class="rightside"><a href="#" onclick="fontsizeup(); return false;" onkeypress="return fontsizeup(event);" class="fontsize" title="{L_CHANGE_FONT_SIZE}">{L_CHANGE_FONT_SIZE}</a></li>
				<!-- IF STARGATE -->
					<li class="rightside">
						<!-- INCLUDE style_change_width.html -->
						<!-- IF S_ARRANGE -->
						<span style="display:inline;" id="OFF_">
							&nbsp;<a href="{U_PORTAL}" onclick="ShowHide('ON_'); ShowHide('OFF_');" style="float:left" title="{L_ARRANGE_OFF}"><img src="{T_PORTAL_THEME_PATH}/images/save_changes.png" width="15" height="15" alt=" {L_ARRANGE_OFF}" title="{L_ARRANGE_OFF}" /></a>
						</span>
						<!-- ELSE -->
						<span style="display:inline;" id="ON_">
							&nbsp;<a href="{U_PORTAL_ARRANGE}" onclick="ShowHide('OFF_'); ShowHide('ON_'); " style="float:left" title="{L_ARRANGE_ON}"><img src="{T_PORTAL_THEME_PATH}/images/arrange.png" width="15" height="15" alt=" {L_ARRANGE_ON}" title="{L_ARRANGE_ON}" /></a>
						</span>
						<!-- ENDIF -->
					</li>
				<!-- ENDIF -->

				<!-- IF U_EMAIL_TOPIC --><li class="rightside"><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}" class="sendemail">{L_EMAIL_TOPIC}</a></li><!-- ENDIF -->
				<!-- IF U_EMAIL_PM --><li class="rightside"><a href="{U_EMAIL_PM}" title="{L_EMAIL_PM}" class="sendemail">{L_EMAIL_PM}</a></li><!-- ENDIF -->
				<!-- IF U_PRINT_TOPIC --><li class="rightside"><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}" accesskey="p" class="print">{L_PRINT_TOPIC}</a></li><!-- ENDIF -->
				<!-- IF U_PRINT_PM --><li class="rightside"><a href="{U_PRINT_PM}" title="{L_PRINT_PM}" accesskey="p" class="print">{L_PRINT_PM}</a></li><!-- ENDIF -->
			</ul>

			<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
			<ul class="linklist leftside">
				<li class="icon-ucp">
					<a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="e">{L_PROFILE}</a>
<!-- IF S_DISPLAY_PM --> &bull;
	<!-- IF S_RBPM_ENABLE and S_RBPM_INSC_ENABLE and S_USER_NEW_PRIVMSG and S_RBPM_ENABLE_BACKGROUND -->
	<span style="background:rgba({S_RBPM_BACKGROUND_R},{S_RBPM_BACKGROUND_G},{S_RBPM_BACKGROUND_B},{S_RBPM_BACKGROUND_TRANSP}); padding: 3px 0px 3px 7px; border: {S_RBPM_BORDER_WIDTH} {S_RBPM_BORDER_STYLE} {S_RBPM_BORDER_COLOUR}; border-right: 0px; -webkit-border-radius: {S_RBPM_BORDER_RADIUS}; -khtml-border-radius: {S_RBPM_BORDER_RADIUS}; -moz-border-radius: {S_RBPM_BORDER_RADIUS}; border-radius: {S_RBPM_BORDER_RADIUS}; -webkit-border-radius-topright: 0px; -khtml-border-radius-topright: 0px; -moz-border-radius-topright: 0px; border-radius-topright: 0px; -webkit-border-radius-bottomright: 0px; -khtml-border-radius-bottomright: 0px; -moz-border-radius-bottomright: 0px; border-radius-bottomright: 0px;">
	<!-- ELSE -->
	<span style=" background-color: none">
	<!-- ENDIF -->
		<!-- IF S_RBPM_ENABLE and S_USER_NEW_PRIVMSG -->	
		<span class="blink" style="color:{S_RBPM_COLOR}; font:{S_RBPM_ITALIC} {S_RBPM_BOLD} {S_RBPM_SIZE} {S_RBPM_FAMILY}; letter-spacing:{S_RBPM_SPACING}; text-transform:{S_RBPM_TRANSFORM}; text-shadow: {S_RBPM_SHADOWH} {S_RBPM_SHADOWV} {S_RBPM_SHADOW_BLUR} {S_RBPM_SHADOW_COLOUR}; text-decoration:{S_RBPM_DECORATION};">
			{S_USER_NEW_PRIVMSG}
		</span>
		<!-- ELSE -->
		<strong>{S_USER_NEW_PRIVMSG}</strong>
		<!-- ENDIF -->
		<a href="{U_PRIVATEMSGS}">
		<!-- IF S_RBPM_INSC_ENABLE and S_USER_NEW_PRIVMSG -->
		<span class="blink" style="color:{S_RBPM_INSC_COLOR}; font:{S_RBPM_ITALIC} {S_RBPM_VARIANT} {S_RBPM_BOLD} {S_RBPM_SIZE} {S_RBPM_FAMILY}; letter-spacing:{S_RBPM_SPACING}; text-transform:{S_RBPM_TRANSFORM}; text-shadow: {S_RBPM_SHADOWH} {S_RBPM_SHADOWV} {S_RBPM_SHADOW_BLUR} {S_RBPM_INSC_SHADOW_COLOUR}; text-decoration:{S_RBPM_DECORATION};">
			{PRIVATE_MESSAGE_INFO}
		</span>
			<!-- IF S_RBPM_ENABLE_UNREAD and PRIVATE_MESSAGE_INFO_UNREAD -->
			<span style="color:{S_RBPM_UNREAD_COLOR}">
				<!-- IF S_RBPM_ENABLE_UNREAD_BLINK -->
				<span class="blink">& {PRIVATE_MESSAGE_INFO_UNREAD}</span>
				<!-- ELSE -->
				& {PRIVATE_MESSAGE_INFO_UNREAD}
				<!-- ENDIF -->
			</span>
			<!-- ELSE -->
			<!-- ENDIF -->
		<!-- ELSE -->
			{PRIVATE_MESSAGE_INFO}
				<!-- IF S_RBPM_ENABLE_UNREAD and PRIVATE_MESSAGE_INFO_UNREAD -->
					& {PRIVATE_MESSAGE_INFO_UNREAD}
				<!-- ELSE -->
				<!-- ENDIF -->
		<!-- ENDIF -->
		</a>
	</span>
<!-- ENDIF -->
<!-- IF S_DISPLAY_SEARCH -->&nbsp;&bull;
					<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
					<!-- ENDIF -->
					<!-- IF U_RESTORE_PERMISSIONS --> &bull;
					<a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a>
					<!-- ENDIF -->
				</li>
			</ul>
			<!-- ENDIF -->

			<ul class="linklist rightside">
				<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
				<!-- IF S_MCHAT_ENABLE and U_MCHAT --><li class="icon-bump"><a href="{U_MCHAT}#mChat" title="{L_MCHAT_TITLE}">{L_MCHAT_TITLE}</a></li><!-- ENDIF -->
				<!-- IF not S_IS_BOT -->
					<!-- IF S_DISPLAY_MEMBERLIST --><li class="icon-members"><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
					<!-- IF S_DISPLAY_TOPLIST --><li class="icon-thanks_toplist"><a href="{U_REPUT_TOPLIST}" title="{L_REPUT_TOPLIST}">{L_REPUT_TOPLIST}</a></li><!-- ENDIF -->
				<!-- IF S_DISPLAY_THANKSLIST --><li class="icon-thanks"><a href="{U_THANKSLIST}" title="{L_THANKS_USER}">{L_GRATITUDES}</a></li><!-- ENDIF -->
					<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --><li class="icon-register"><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
					<li class="icon-logout"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x">{L_LOGIN_LOGOUT}</a></li>
				<!-- ENDIF -->
			</ul>

			<span class="corners-bottom"><span></span></span></div>
		</div>

	</div>


	<!-- IF ADS_2 -->
	<br />
	<div class="forabg">
		<div class="inner"><span class="corners-top"><span></span></span>
			<ul class="topiclist">
				<li class="header">
					<dl class="icon">
						<dt>{L_ADVERTISEMENT}</dt>
					</dl>
				</li>
			</ul>
			<div style="padding: 5px 5px 2px 5px; font-size: 1.1em; background-color: #ECF1F3; margin: 0px auto; text-align: center;">
				{ADS_2}
			</div>
		<span class="corners-bottom"><span></span></span></div>
	</div>
	<!-- ENDIF -->
	<a name="start_here"></a>
	<div id="page-body">
		<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) -->
		<div id="information" class="rules">
			<div class="inner"><span class="corners-top"><span></span></span>
				<strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED}
			<span class="corners-bottom"><span></span></span></div>
		</div>
		<!-- ENDIF -->
		<!-- IF STARGATE -->
			<!-- INCLUDE portal_header.html -->
		<!-- ENDIF -->
AFTER changes

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta name="google-site-verification" content="zwMIbhkVjoZZa1U8LEVs6pziJ1z2coJ5HRtYioWjHTQ" />
<meta name="google-site-verification" content="K-0FviNHDaQKv2WVybIGGLzM0KmQ5o2es2O42fVh7X0" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
<script type="text/javascript">
var tapatalkdir="{MOBIQUO_NAME}";
var tapatalk_ipad_msg = '{TAPATALK_IPAD_MSG}';
var tapatalk_ipad_url  = '{TAPATALK_IPAD_URL}';
var tapatalk_iphone_msg = '{TAPATALK_IPHONE_MSG}';
var tapatalk_iphone_url  = '{TAPATALK_IPHONE_URL}';
var tapatalk_android_msg = '{TAPATALK_ANDROID_MSG}';
var tapatalk_android_url  = '{TAPATALK_ANDROID_URL}';
var tapatalk_kindle_msg = '{TAPATALK_KINDLE_MSG}';
var tapatalk_kindle_url  = '{TAPATALK_KINDLE_URL}';
var tapatalk_chrome_enable = '{TAPATALK_CHROME_ENABLE}';
</script>
<script type="text/javascript" src="{TAPATALKDETECT_JS}"></script>
<link rel="stylesheet" type="text/css" href="{T_THEME_PATH}/style_wide.css" />
<link rel="alternate stylesheet" type="text/css" media="screen" title="fixed" href="{T_THEME_PATH}/style_fixed.css" />

<!-- IF S_ENABLE_FEEDS -->
	<!-- IF S_ENABLE_FEEDS_OVERALL --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {SITENAME}" href="{U_FEED}" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_NEWS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_NEWS}" href="{U_FEED}?mode=news" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_FORUMS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_ALL_FORUMS}" href="{U_FEED}?mode=forums" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPICS --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_NEW}" href="{U_FEED}?mode=topics" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPICS_ACTIVE --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FEED_TOPICS_ACTIVE}" href="{U_FEED}?mode=topics_active" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_FORUM and S_FORUM_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_FORUM} - {FORUM_NAME}" href="{U_FEED}?f={S_FORUM_ID}" /><!-- ENDIF -->
	<!-- IF S_ENABLE_FEEDS_TOPIC and S_TOPIC_ID --><link rel="alternate" type="application/atom+xml" title="{L_FEED} - {L_TOPIC} - {TOPIC_TITLE}" href="{U_FEED}?f={S_FORUM_ID}&t={S_TOPIC_ID}" /><!-- ENDIF -->
<!-- ENDIF -->

<!--
	phpBB style name: prosilver
	Based on style:   prosilver (this is the default phpBB3 style)
	Original author:  Tom Beddard ( http://www.subBlue.com/ )
	Modified by:
-->

<script type="text/javascript">
// <![CDATA[
	var jump_page = '{LA_JUMP_PAGE}:';
	var on_page = '{ON_PAGE}';
	var per_page = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';
	var style_cookie = 'phpBBstyle';
	var style_cookie_settings = '{A_COOKIE_SETTINGS}';
	var onload_functions = new Array();
	var onunload_functions = new Array();

	<!-- IF S_USER_PM_POPUP and S_NEW_PM -->
		var url = '{UA_POPUP_PM}';
		window.open(url.replace(/&/g, '&'), '_phpbbprivmsg', 'height=225,resizable=yes,scrollbars=yes, width=400');
	<!-- ENDIF -->

	/**
	* Find a member
	*/
	function find_username(url)
	{
		popup(url, 760, 570, '_usersearch');
		return false;
	}

	/**
	* New function for handling multiple calls to window.onload and window.unload by pentapenguin
	*/
	window.onload = function()
	{
		for (var i = 0; i < onload_functions.length; i++)
		{
			eval(onload_functions[i]);
		}
	};

	window.onunload = function()
	{
		for (var i = 0; i < onunload_functions.length; i++)
		{
			eval(onunload_functions[i]);
		}
	};

// ]]>
</script>
<script type="text/javascript" src="{ROOT_PATH}js/styleswitcher.js"></script>
<script type="text/javascript" src="{ROOT_PATH}js/forum_fn.js"></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" />

<link href="{T_THEME_PATH}/normal.css" rel="stylesheet" type="text/css" title="A" />
<link href="{T_THEME_PATH}/medium.css" rel="alternate stylesheet" type="text/css" title="A+" />
<link href="{T_THEME_PATH}/large.css" rel="alternate stylesheet" type="text/css" title="A++" />

<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
	<link href="{T_THEME_PATH}/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->


<!-- IF STARGATE -->
<!-- INCLUDE set-width.html -->
<!-- INCLUDE portal_scripts.html -->
<!-- ENDIF -->


<!-- IF S_MCHAT_ENABLE and (S_MCHAT_ON_INDEX or U_MCHAT) -->
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery-1.5.0.min.js"></script>
<script type="text/javascript" src="{ROOT_PATH}mchat/jquery_cookie_mini.js"></script>
<!-- ENDIF -->

<!-- SAFEGT START -->
<!-- IF S_SAFEGT_UCP --><script type="text/javascript" src="{ROOT_PATH}safegt/intprotector.js"></script><!-- ENDIF -->
<!-- IF S_SAFE_GT_TOPIC --><script type="text/javascript" src="{ROOT_PATH}safegt/overlib/overlib.js"></script><!-- ENDIF -->
<!-- IF S_SAFE_GT_TOPIC --><script type="text/javascript" src="{ROOT_PATH}safegt/overgt.js"></script><!-- ENDIF -->
<!-- SAFEGT END -->

<!-- IF (S_RBPM_ENABLE or S_RBPM_INSC_ENABLE) and S_USER_NEW_PRIVMSG -->
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/jquery-blink.js"></script>
<script type="text/javascript" charset="utf-8">
// <![CDATA[
$(document).ready(function(){
        $('.blink').blink();
});
// ]]>
</script><!-- ENDIF -->

<!-- INCLUDE ads/ads.js -->
</head>

<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
<!-- IF STARGATE -->
<div id="page-width" class="stylewidth">
<!-- ENDIF -->

<div id="wrap">
	<a id="top" name="top" accesskey="t"></a>
	<div id="page-header">
		{ADS_1}
		<div class="headerbar">
			<div class="inner"><span class="corners-top"><span></span></span>

			<div id="site-description">
				<!-- IF STARGATE -->
					<a href="{U_PORTAL}" title="{L_PORTAL}" id="logo">{SITE_LOGO_IMG}</a>
				<!-- ELSE -->
					<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
				<!-- ENDIF -->
				<h1>{SITENAME}</h1>
				<p>{SITE_DESCRIPTION}</p>
				<p class="skiplink"><a href="#start_here">{L_SKIP}</a></p>
			</div>

		<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
			<div id="search-box">
				<form action="{U_SEARCH}" method="get" id="search">
				<fieldset>
					<input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" />
					<input class="button2" value="{L_SEARCH}" type="submit" /><br />
					<a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_SEARCH_HIDDEN_FIELDS}
				</fieldset>
				</form>
			</div>
		<!-- ENDIF -->

			<span class="corners-bottom"><span></span></span></div>
		</div>

		<div class="navbar">
			<div class="inner"><span class="corners-top"><span></span></span>

			<ul class="linklist navlinks">
			<!-- IF STARGATE -->
				<li class="icon-home"><a href="{U_PORTAL}" accesskey="h">{L_PORTAL}</a> &bull; <a href="{U_INDEX}" accesskey="h">{L_INDEX}</a><!-- BEGIN navlinks --> <strong>&#8249;</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></li>
			<!-- ELSE -->
				<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a> <!-- BEGIN navlinks --> <strong>&#8249;</strong> <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></li>
			<!-- ENDIF -->

				<li class="rightside"><a href="#" onclick="fontsizeup(); return false;" onkeypress="return fontsizeup(event);" class="fontsize" title="{L_CHANGE_FONT_SIZE}">{L_CHANGE_FONT_SIZE}</a></li>
				<!-- IF STARGATE -->
					<li class="rightside">
						<!-- INCLUDE style_change_width.html -->
						<!-- IF S_ARRANGE -->
						<span style="display:inline;" id="OFF_">
							&nbsp;<a href="{U_PORTAL}" onclick="ShowHide('ON_'); ShowHide('OFF_');" style="float:left" title="{L_ARRANGE_OFF}"><img src="{T_PORTAL_THEME_PATH}/images/save_changes.png" width="15" height="15" alt=" {L_ARRANGE_OFF}" title="{L_ARRANGE_OFF}" /></a>
						</span>
						<!-- ELSE -->
						<span style="display:inline;" id="ON_">
							&nbsp;<a href="{U_PORTAL_ARRANGE}" onclick="ShowHide('OFF_'); ShowHide('ON_'); " style="float:left" title="{L_ARRANGE_ON}"><img src="{T_PORTAL_THEME_PATH}/images/arrange.png" width="15" height="15" alt=" {L_ARRANGE_ON}" title="{L_ARRANGE_ON}" /></a>
						</span>
						<!-- ENDIF -->
					</li>
				<!-- ENDIF -->

				<!-- IF U_EMAIL_TOPIC --><li class="rightside"><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}" class="sendemail">{L_EMAIL_TOPIC}</a></li><!-- ENDIF -->
				<!-- IF U_EMAIL_PM --><li class="rightside"><a href="{U_EMAIL_PM}" title="{L_EMAIL_PM}" class="sendemail">{L_EMAIL_PM}</a></li><!-- ENDIF -->
				<!-- IF U_PRINT_TOPIC --><li class="rightside"><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}" accesskey="p" class="print">{L_PRINT_TOPIC}</a></li><!-- ENDIF -->
				<!-- IF U_PRINT_PM --><li class="rightside"><a href="{U_PRINT_PM}" title="{L_PRINT_PM}" accesskey="p" class="print">{L_PRINT_PM}</a></li><!-- ENDIF -->
			</ul>

			<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
			<ul class="linklist leftside">
				<li class="icon-ucp">
					<a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="e">{L_PROFILE}</a>
<!-- IF S_DISPLAY_PM --> &bull;
	<!-- IF S_RBPM_ENABLE and S_RBPM_INSC_ENABLE and S_USER_NEW_PRIVMSG and S_RBPM_ENABLE_BACKGROUND -->
	<span style="background:rgba({S_RBPM_BACKGROUND_R},{S_RBPM_BACKGROUND_G},{S_RBPM_BACKGROUND_B},{S_RBPM_BACKGROUND_TRANSP}); padding: 3px 0px 3px 7px; border: {S_RBPM_BORDER_WIDTH} {S_RBPM_BORDER_STYLE} {S_RBPM_BORDER_COLOUR}; border-right: 0px; -webkit-border-radius: {S_RBPM_BORDER_RADIUS}; -khtml-border-radius: {S_RBPM_BORDER_RADIUS}; -moz-border-radius: {S_RBPM_BORDER_RADIUS}; border-radius: {S_RBPM_BORDER_RADIUS}; -webkit-border-radius-topright: 0px; -khtml-border-radius-topright: 0px; -moz-border-radius-topright: 0px; border-radius-topright: 0px; -webkit-border-radius-bottomright: 0px; -khtml-border-radius-bottomright: 0px; -moz-border-radius-bottomright: 0px; border-radius-bottomright: 0px;">
	<!-- ELSE -->
	<span style=" background-color: none">
	<!-- ENDIF -->
		<!-- IF S_RBPM_ENABLE and S_USER_NEW_PRIVMSG -->	
		<span class="blink" style="color:{S_RBPM_COLOR}; font:{S_RBPM_ITALIC} {S_RBPM_BOLD} {S_RBPM_SIZE} {S_RBPM_FAMILY}; letter-spacing:{S_RBPM_SPACING}; text-transform:{S_RBPM_TRANSFORM}; text-shadow: {S_RBPM_SHADOWH} {S_RBPM_SHADOWV} {S_RBPM_SHADOW_BLUR} {S_RBPM_SHADOW_COLOUR}; text-decoration:{S_RBPM_DECORATION};">
			{S_USER_NEW_PRIVMSG}
		</span>
		<!-- ELSE -->
		<strong>{S_USER_NEW_PRIVMSG}</strong>
		<!-- ENDIF -->
		<a href="{U_PRIVATEMSGS}">
		<!-- IF S_RBPM_INSC_ENABLE and S_USER_NEW_PRIVMSG -->
		<span class="blink" style="color:{S_RBPM_INSC_COLOR}; font:{S_RBPM_ITALIC} {S_RBPM_VARIANT} {S_RBPM_BOLD} {S_RBPM_SIZE} {S_RBPM_FAMILY}; letter-spacing:{S_RBPM_SPACING}; text-transform:{S_RBPM_TRANSFORM}; text-shadow: {S_RBPM_SHADOWH} {S_RBPM_SHADOWV} {S_RBPM_SHADOW_BLUR} {S_RBPM_INSC_SHADOW_COLOUR}; text-decoration:{S_RBPM_DECORATION};">
			{PRIVATE_MESSAGE_INFO}
		</span>
			<!-- IF S_RBPM_ENABLE_UNREAD and PRIVATE_MESSAGE_INFO_UNREAD -->
			<span style="color:{S_RBPM_UNREAD_COLOR}">
				<!-- IF S_RBPM_ENABLE_UNREAD_BLINK -->
				<span class="blink">& {PRIVATE_MESSAGE_INFO_UNREAD}</span>
				<!-- ELSE -->
				& {PRIVATE_MESSAGE_INFO_UNREAD}
				<!-- ENDIF -->
			</span>
			<!-- ELSE -->
			<!-- ENDIF -->
		<!-- ELSE -->
			{PRIVATE_MESSAGE_INFO}
				<!-- IF S_RBPM_ENABLE_UNREAD and PRIVATE_MESSAGE_INFO_UNREAD -->
					& {PRIVATE_MESSAGE_INFO_UNREAD}
				<!-- ELSE -->
				<!-- ENDIF -->
		<!-- ENDIF -->
		</a>
	</span>
<!-- ENDIF -->
<!-- IF S_DISPLAY_SEARCH -->&nbsp;&bull;
					<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
					<!-- ENDIF -->
					<!-- IF S_DISPLAY_SEARCH --> &bull; <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF -->
					<!-- IF U_RESTORE_PERMISSIONS --> &bull;
					<a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a>
					<!-- ENDIF -->
				</li>
			</ul>
			<!-- ENDIF -->

			<ul class="linklist rightside">
				<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
				<!-- IF S_MCHAT_ENABLE and U_MCHAT --><li class="icon-bump"><a href="{U_MCHAT}#mChat" title="{L_MCHAT_TITLE}">{L_MCHAT_TITLE}</a></li><!-- ENDIF -->
				<!-- IF not S_IS_BOT -->
					<!-- IF S_DISPLAY_MEMBERLIST --><li class="icon-members"><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
					<!-- IF S_DISPLAY_TOPLIST --><li class="icon-thanks_toplist"><a href="{U_REPUT_TOPLIST}" title="{L_REPUT_TOPLIST}">{L_REPUT_TOPLIST}</a></li><!-- ENDIF -->
				<!-- IF S_DISPLAY_THANKSLIST --><li class="icon-thanks"><a href="{U_THANKSLIST}" title="{L_THANKS_USER}">{L_GRATITUDES}</a></li><!-- ENDIF -->
					<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --><li class="icon-register"><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
					<li class="icon-logout"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x">{L_LOGIN_LOGOUT}</a></li>
				<!-- ENDIF -->
			</ul>

			<span class="corners-bottom"><span></span></span></div>
		</div>

	</div>


	<!-- IF ADS_2 -->
	<br />
	<div class="forabg">
		<div class="inner"><span class="corners-top"><span></span></span>
			<ul class="topiclist">
				<li class="header">
					<dl class="icon">
						<dt>{L_ADVERTISEMENT}</dt>
					</dl>
				</li>
			</ul>
			<div style="padding: 5px 5px 2px 5px; font-size: 1.1em; background-color: #ECF1F3; margin: 0px auto; text-align: center;">
				{ADS_2}
			</div>
		<span class="corners-bottom"><span></span></span></div>
	</div>
	<!-- ENDIF -->
	<a name="start_here"></a>
	<div id="page-body">
		<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) -->
		<div id="information" class="rules">
			<div class="inner"><span class="corners-top"><span></span></span>
				<strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED}
			<span class="corners-bottom"><span></span></span></div>
		</div>
		<!-- ENDIF -->
		<!-- IF STARGATE -->
			<!-- INCLUDE portal_header.html -->
		<!-- ENDIF -->

User avatar
Lumpy Burgertushie
Registered User
Posts: 66486
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Prosilver "View New Posts" on ALL pages

Post by Lumpy Burgertushie » Thu Feb 28, 2013 2:23 pm

did you do the edit to the index_body.html file that he said?
then you must refresh your template in the admin panel/styles/template/refresh for your template.


then you must refresh your browser ( ctrl+f5 ) to see the changes.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

yamahar
Registered User
Posts: 42
Joined: Sun Dec 09, 2012 12:17 pm

Re: Prosilver "View New Posts" on ALL pages

Post by yamahar » Thu Feb 28, 2013 8:16 pm

Well, no I hadn't as I figured if it was working at all I would have duplicates or messed up main forum index page, and at least had something on each category.

Instead after making the changes you suggest I now have View New Posts on the main index page only, and still nothing on the forum category pages.... which isn't what I was looking for

Code: Select all

<!-- INCLUDE overall_header.html -->

<p class="{S_CONTENT_FLOW_END}<!-- IF S_USER_LOGGED_IN --> rightside<!-- ENDIF -->"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ELSE -->{CURRENT_TIME}<!-- ENDIF --></p>
<!-- IF U_MCP --><p>{CURRENT_TIME} <br />[&nbsp;<a href="{U_MCP}">{L_MCP}</a>&nbsp;]</p><!-- ELSEIF S_USER_LOGGED_IN --><p>{CURRENT_TIME}</p><!-- ENDIF -->

<!-- IF S_DISPLAY_SEARCH or (S_USER_LOGGED_IN and not S_IS_BOT) -->
<ul class="linklist">
	
	<!-- IF S_DISPLAY_SEARCH --> &bull; <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF -->
	<!-- IF not S_IS_BOT and U_MARK_FORUMS --><li class="rightside"><a href="{U_MARK_FORUMS}" accesskey="m">{L_MARK_FORUMS_READ}</a></li><!-- ENDIF -->
</ul>
<!-- ENDIF -->


<!-- IF STARGATE -->
	<!-- INCLUDE portal_center.html -->
<!-- ENDIF -->

<!-- IF S_MCHAT_ENABLE and S_MCHAT_ON_INDEX and S_MCHAT_LOCATION --><!-- INCLUDE mchat_body.html --><!-- ENDIF -->
<!-- INCLUDE forumlist_body.html -->
<!-- IF S_MCHAT_ENABLE and S_MCHAT_ON_INDEX and not S_MCHAT_LOCATION --><!-- INCLUDE mchat_body.html --><!-- ENDIF -->

<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
	<form method="post" action="{S_LOGIN_ACTION}" class="headerspace">
	<h3><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF S_REGISTER_ENABLED -->&nbsp; &bull; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --></h3>
		<fieldset class="quick-login">
			<label for="username">{L_USERNAME}:</label>&nbsp;<input type="text" name="username" id="username" size="10" class="inputbox" title="{L_USERNAME}" />
			<label for="password">{L_PASSWORD}:</label>&nbsp;<input type="password" name="password" id="password" size="10" class="inputbox" title="{L_PASSWORD}" />
			<!-- IF S_AUTOLOGIN_ENABLED -->
				| <label for="autologin">{L_LOG_ME_IN} <input type="checkbox" name="autologin" id="autologin" /></label>
			<!-- ENDIF -->
			<input type="submit" name="login" value="{L_LOGIN}" class="button2" />
			{S_LOGIN_REDIRECT}
		</fieldset>
	</form>
<!-- ENDIF -->

<!-- IF S_DISPLAY_ONLINE_LIST -->
	<!-- IF U_VIEWONLINE --><h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE --><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF -->
	<p>{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /> <br />{LOGGED_IN_USER_LIST}
	<!-- IF LEGEND --><br /><em>{L_LEGEND}: {LEGEND}</em><!-- ENDIF --></p>
	<!-- IF WHO_WAS_HERE_TOTAL -->
		<h3>{L_WHO_WAS_HERE}</h3>
		<p>{WHO_WAS_HERE_TOTAL} ({WHO_WAS_HERE_EXP})<br />{WHO_WAS_HERE_RECORD}<br />{WHO_WAS_HERE_LIST}</p>
	<!-- ELSEIF U_ACP -->
		<h3>{L_WHO_WAS_HERE}</h3>
		<p>{L_WWH_UPDATE_NEED}</p>
	<!-- ENDIF -->
<!-- ENDIF -->


<!-- INCLUDE mchat_stats.html -->
<!-- IF S_DISPLAY_BIRTHDAY_LIST and BIRTHDAY_LIST -->
	<h3>{L_BIRTHDAYS}</h3>
	<p><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <strong>{BIRTHDAY_LIST}</strong><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p>
<!-- ENDIF -->


<!-- IF S_THANKS_LIST -->
	<h3>{L_TOP_THANKS_LIST}</h3>
	<p>{THANKS_LIST}</p>
<!-- ENDIF -->
<!-- IF NEWEST_USER -->
	<h3>{L_STATISTICS}</h3>
	<p>{TOTAL_POSTS} &bull; {TOTAL_TOPICS} &bull; {TOTAL_USERS} &bull; {NEWEST_USER}</p>
<!-- ENDIF -->

<!-- INCLUDE overall_footer.html -->

User avatar
Lumpy Burgertushie
Registered User
Posts: 66486
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Prosilver "View New Posts" on ALL pages

Post by Lumpy Burgertushie » Thu Feb 28, 2013 8:22 pm

I am not sure what you are doing. what page is that?

you were supposed to remove the code from the index_body.html file

then you were supposed to add that code to the line mentioned above in the overall_header.html file


then you MUST refresh the template after you make the changes to see them.


robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

If a tree falls in the forest and nobody is there, does it make a sound?

yamahar
Registered User
Posts: 42
Joined: Sun Dec 09, 2012 12:17 pm

Re: Prosilver "View New Posts" on ALL pages

Post by yamahar » Thu Feb 28, 2013 8:52 pm

I followed this, which I read as making the changes I wanted (albeit maybe with View new posts duplicated)
Kamahl19 wrote:Open index_body.html and delete the link for View new posts

Code: Select all

<!-- IF S_USER_LOGGED_IN --> &bull; <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF -->
open overall_header.html
find

Code: Select all

<!-- IF S_DISPLAY_SEARCH --> &bull;
	<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
<!-- ENDIF -->
add after

Code: Select all

<!-- IF S_DISPLAY_SEARCH --> &bull; <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF -->
The I removed and added the same code that was suggested to the index_body.html

Refreshed template, (in fact imageset, and theme as well) plus refresged cache refreshed browser, I get only view new posts on the home page and nothing on any other pages.

Maybe the instructions are not correct or maybe someone needs to rewrite them as it is a bit ambiguous as to what you are supposed to be changing in this thread.

What I ended up with on redo-ing all that was a mess on the same line as _

User Control Panel • 0 new messages • View unanswered posts • View unread posts • View new posts • View active topics • View new posts

when what I am just looking for is this on every forum page :-

View unanswered posts • View unread posts • View new posts • View active topics

User avatar
DonkeyBike
Registered User
Posts: 75
Joined: Sun Sep 16, 2007 1:20 am

Re: Prosilver "View New Posts" on ALL pages

Post by DonkeyBike » Sat Aug 17, 2013 3:02 am

Kamahl19 wrote:Open index_body.html and delete the link for View new posts

Code: Select all

<!-- IF S_USER_LOGGED_IN --> &bull; <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF -->
open overall_header.html
find

Code: Select all

<!-- IF S_DISPLAY_SEARCH --> &bull;
	<a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
<!-- ENDIF -->
add after

Code: Select all

<!-- IF S_DISPLAY_SEARCH --> &bull; <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF -->

Hi Kamahl19, I've never edited any code before, I'm using CA Vintage style and have
looked for the code you specified here........

Code: Select all

<!-- IF S_USER_LOGGED_IN --> &bull; <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF -->
.....but can't find it in my "index_body.html" to delete and replace, I presume I am trying
this on the wrong style ?

Below is my "index_body.html"

What I'm looking t end up with is "View unanswered posts • View unread posts • View new posts • View active topics" on the top of every page, not just the main page..

Code: Select all

<!-- DEFINE $CA_PAGE = 'index' --><!-- INCLUDE overall_header.html -->

<p class="indexlinks {S_CONTENT_FLOW_END} rightside">
    {CURRENT_TIME}
    <!-- IF U_MCP -->
        <br /><a href="{U_MCP}">{L_MCP}</a>
    <!-- ENDIF -->
    <!-- IF not S_IS_BOT and U_MARK_FORUMS -->
        <!-- IF U_MCP --> &bull; <!-- ELSE --><br /><!-- ENDIF -->
        <a href="{U_MARK_FORUMS}" accesskey="m">{L_MARK_FORUMS_READ}</a>
    <!-- ENDIF -->
</p>
<p class="indexlinks">
    <!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<br /><!-- ENDIF -->
    <!-- IF S_DISPLAY_SEARCH -->
        <a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
        <!-- IF S_USER_LOGGED_IN and not S_IS_BOT --> 
            <!-- IF S_LOAD_UNREADS -->&bull; <a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a><!-- ENDIF -->
            &bull; <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a>
        <!-- ENDIF -->
        &bull; <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a>
    <!-- ELSE -->
        &nbsp;
    <!-- ENDIF -->
</p>

<!-- INCLUDE forumlist_body.html -->

<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
	<form method="post" action="{S_LOGIN_ACTION}" class="headerspace">
	{$CA_PANEL_START}
	<h3><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF S_REGISTER_ENABLED -->&nbsp; &bull; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --></h3>
		<fieldset class="quick-login">
			<label for="username">{L_USERNAME}:</label>&nbsp;<input type="text" name="username" id="username" size="10" class="inputbox" title="{L_USERNAME}" />  
			<label for="password">{L_PASSWORD}:</label>&nbsp;<input type="password" name="password" id="password" size="10" class="inputbox" title="{L_PASSWORD}" />
			<!-- IF S_AUTOLOGIN_ENABLED -->
				| <label for="autologin">{L_LOG_ME_IN} <input type="checkbox" name="autologin" id="autologin" /></label>
			<!-- ENDIF -->
			<input type="submit" name="login" value="{L_LOGIN}" class="button2" />
			{S_LOGIN_REDIRECT}
		</fieldset>
	{$CA_PANEL_END}
	</form>
<!-- ENDIF -->

<!-- IF S_DISPLAY_ONLINE_LIST -->
    {$CA_PANEL_START}
	<!-- IF U_VIEWONLINE --><h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE --><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF -->
	<p>{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /> <br />{LOGGED_IN_USER_LIST}
	<!-- IF LEGEND --><br /><em>{L_LEGEND}: {LEGEND}</em><!-- ENDIF --></p>
	{$CA_PANEL_END}
<!-- ENDIF -->

<!-- IF S_DISPLAY_BIRTHDAY_LIST and BIRTHDAY_LIST -->
    {$CA_PANEL_START}
	<h3>{L_BIRTHDAYS}</h3>
	<p><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <strong>{BIRTHDAY_LIST}</strong><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p>
	{$CA_PANEL_END}
<!-- ENDIF -->

<!-- IF NEWEST_USER -->
    {$CA_PANEL_START}
	<h3>{L_STATISTICS}</h3>
	<p>{TOTAL_POSTS} &bull; {TOTAL_TOPICS} &bull; {TOTAL_USERS} &bull; {NEWEST_USER}</p>
	{$CA_PANEL_END}
<!-- ENDIF -->

<!-- INCLUDE overall_footer.html -->

Locked

Return to “[3.0.x] Styles Support & Discussion”