Compatibility with other styles?

Download and support for PhpBB3 Top Stats Mod
Savant
BBCoder II
BBCoder II
Posts: 40
Joined: 14 Jan 2012, 22:07
BBCodes: 1

Compatibility with other styles?

Post by Savant »

Update: was just a guess, but a good one I suppose. I took acp_topstats.html and put it into adm/style simply because there were lots of other acp_xxx.html files there and it makes sense for it to have gone there. I'll update if any more issues...
Savant
BBCoder II
BBCoder II
Posts: 40
Joined: 14 Jan 2012, 22:07
BBCodes: 1

Compatibility with other styles?

Post by Savant »

Okay, I'm going to need help now... I have the ACP controls functional, but it's giving me some weird coded looking text and there's obviously more files I need to transfer from somewhere to make it translate. I need the text to be so that I can understand it. I'll give a screenshot to explain what I mean.

Image

See? There's obviously some language/script issue and I need to put another file in the right place. Which one is it?


LOL and of course it's not showing up in prosilver... BUT, at least I'm getting there..
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Compatibility with other styles?

Post by Stoker »

Looks like a missing language file.
Take a look in the install.xml it explain clearly where to put included files.
Board rules! No PM support
Savant
BBCoder II
BBCoder II
Posts: 40
Joined: 14 Jan 2012, 22:07
BBCodes: 1

Compatibility with other styles?

Post by Savant »

Yeah, I figured out how to get the language in the ACP straightened out. The xml file said to put them in the languange/en/mods dir:

Copy: root/language/en/mods/info_acp_topstats.php
To: language/en/mods/info_acp_topstats.php
Copy: root/language/en/mods/umil_top_stats_install.php
To: language/en/mods/umil_top_stats_install.php

I actually needed to put them in language/en_*us*/mods instead for them to function on my board...

It still doesn't allow them to display on the actual board, I still have the bracketed text there instead of normal, but I'm working on it. ... Thanks again!
Stoker wrote:Looks like a missing language file.
Take a look in the install.xml it explain clearly where to put included files.
Savant
BBCoder II
BBCoder II
Posts: 40
Joined: 14 Jan 2012, 22:07
BBCodes: 1

Compatibility with other styles?

Post by Savant »

Okay, so I have this mod installed and fully functional on prosilver. My question is whether or not I should have to re-run the install script for each new style i install this mod in, or if that shouldn't be necessary? Thanks.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Compatibility with other styles?

Post by Stoker »

Nope, only do the style edits.
Board rules! No PM support
Savant
BBCoder II
BBCoder II
Posts: 40
Joined: 14 Jan 2012, 22:07
BBCodes: 1

Compatibility with other styles?

Post by Savant »

Bah, it's not working. It's showing on the forum but not rotating, and the dimensions are screwey... I tried to remove the jquery line like you suggested in the xml file too. But it's still working fine in prosilver. Would you mind if I post the code of my style files for you or another user to take a look and see if you can identify the issue? Thanks..
Stoker wrote:Nope, only do the style edits.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Compatibility with other styles?

Post by Stoker »

Sure, post away :)
Board rules! No PM support
Savant
BBCoder II
BBCoder II
Posts: 40
Joined: 14 Jan 2012, 22:07
BBCodes: 1

Compatibility with other styles?

Post by Savant »

Awesome! So, here's a pic I'll link to which shows you what it's doing (only on the custom styles, prosilver is doing exactly what it's supposed to). In each of my 3 custom styles (all made by the same developers), it's doing the same thing, it will not scroll, and if you hit the buttons it repositions your browser to the top of the screen.

http://i1191.photobucket.com/albums/z47 ... xample.png



So, my template/index_body.html is :

Code: Select all

<!-- INCLUDE overall_header.html -->

<!-- IF U_MCP --><p>[&nbsp;<a href="{U_MCP}">{L_MCP}</a>&nbsp;]</p><!-- ENDIF -->
<!-- IF REP2_MENUPOSITION == full -->
<!-- IF S_DISPLAY_SEARCH or (S_USER_LOGGED_IN and not S_IS_BOT) -->
<ul class="linklist">
	<!-- 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 -->
	<!-- 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 -->
<!-- ENDIF -->
<!-- IF S_TSRAT_ENABLE -->
<!-- INCLUDE recent_active_body.html -->
<!-- ENDIF -->
<!-- INCLUDE forumlist_body.html -->
<!-- IF S_TSMVT_ENABLE or S_TSMRT_ENABLE or S_TSMAU_ENABLE or S_TSMAF_ENABLE or S_TSLVB_ENABLE or S_TSLRU_ENABLE -->
<!-- INCLUDE top_stats_body.html -->
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->
My template/overall_header.html is:

Code: Select all

<!-- INCLUDE styleswitcher.html -->
<!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="copyright" content="2000, 2002, 2005, 2007 phpBB Group" />
<meta name="keywords" content="" />
<meta name="description" content="" />

{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<!--
	phpBB style name: Replicant2
	Based on style:   prosilver (this is the default phpBB3 style)
	Original author:  Tom Beddard ( http://www.subBlue.com/ )
	Modified by: RocketTheme, LLC (C) Copyright. All rights reserved.
	
	NOTE: This page was generated by phpBB, the free open-source bulletin board package.
	      The phpBB Group is not responsible for the content of this page and forum. For more information
	      about phpBB please visit http://www.phpbb.com
-->

<!-- 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 -->
<!-- INCLUDE ../../../rokbb3.php -->
<!-- INCLUDE replicant2.php -->

<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 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>
<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />
<link href="{T_THEME_PATH}/<!-- IF REP2_BODYSTYLE -->{REP2_BODYSTYLE}<!-- ELSE -->bodystyle1<!-- ENDIF -->.css" rel="stylesheet" type="text/css" />
<link href="{T_THEME_PATH}/<!-- IF REP2_STYLE -->color{REP2_STYLE}<!-- ELSE -->{DEFAULT_REP2_SCHEME}<!-- ENDIF -->.css" rel="stylesheet" type="text/css" media="screen, projection" />
<link href="{T_THEME_PATH}/rokmoomenu.css" rel="stylesheet" type="text/css" />
<style type="text/css">
	div.wrapper { margin: 0 auto; <!-- IF REP2_WIDTH -->width:{REP2_WIDTH}px;<!-- ELSE -->width:962px;<!-- ENDIF -->padding:0;}
	#body-bg {background-attachment:scroll;}
	#leftcol { <!-- IF REP2_MENUPOSITION == left -->width:<!-- IF REP2_SIDECOL_WIDTH -->{REP2_SIDECOL_WIDTH}<!-- ELSE -->225<!-- ENDIF -->px;<!-- ELSE -->width:0px;<!-- ENDIF --> padding:0;}
	#rightcol { <!-- IF REP2_MENUPOSITION == right -->width:<!-- IF REP2_SIDECOL_WIDTH -->{REP2_SIDECOL_WIDTH}<!-- ELSE -->225<!-- ENDIF -->px;<!-- ELSE -->width:0px;<!-- ENDIF -->padding:0;}
	#maincol { <!-- IF REP2_MENUPOSITION == left -->margin-left:<!-- IF REP2_SIDECOL_WIDTH -->{REP2_SIDECOL_WIDTH}<!-- ELSE -->225<!-- ENDIF -->px;<!-- ELSE -->margin-left:0px;<!-- ENDIF --><!-- IF REP2_MENUPOSITION == right -->margin-right:<!-- IF REP2_SIDECOL_WIDTH -->{REP2_SIDECOL_WIDTH}<!-- ELSE -->225<!-- ENDIF -->px;<!-- ELSE -->margin-right:0px;<!-- ENDIF --> padding:0;}
	#mainblock {margin-left:0px;margin-right:0px;padding:0;}
	#banner-left { width:0px;padding:0;}
	#banner-right { width:0px;padding:0;}
	#moduleslider-size { height:200px;}
	
	<!-- IF REP2_MENUPOSITION == left or REP2_MENUPOSITION == right -->
	#wrap {width:665px;}
	#postingbox .autowidth {width: 100% !important;}
	#postingbox .column2 { width: 75%; margin-top:-75px; position: relative;}
	#postingbox .column1 { width: 70%;}
	<!-- PHP -->if (rok_isIe(7)) {print("#postingbox .column2 { width: 75%; margin-top:0px; position: relative; margin-left: -300px;}");}<!-- ENDPHP -->
	<!-- PHP -->if (rok_isIe(6)) {print("#wrap {width:660px;} #postingbox {width: 470px;}#postingbox #message-box {width: 75%;}#postingbox .column2 { width: 75%; margin-top:0px; position: relative; margin-left: -300px;}#postingbox .column1 { width: 75%;}");}<!-- ENDPHP -->
	<!-- ENDIF -->
	
	<!-- IF AVATAR_POSITION == left -->
	.pm .postprofile {border: 0px none;}
	.pm .postprofile {border-right: 1px solid #222222;}
	.postprofile {float: left; border: 0px; margin:5px 5px 10px 10px; margin-left: -6px;border-right: 1px solid #222222;}
	.postbody {float: right;}
	ul.profile-icons {margin-right: 40px;}
		<!-- ENDIF -->
</style>

<script type="text/javascript" src="{T_TEMPLATE_PATH}/rt_js/mootools-release-1.11.js?<!-- PHP --> echo time(); <!-- ENDPHP -->"></script>

<script type="text/javascript">
window.templatePath = 'http://<!-- PHP --> echo $config['server_name']; <!-- ENDPHP -->/phpbb3/styles/replicant2/theme';
</script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/rt_js/roktopmenu.js?<!-- PHP --> echo time(); <!-- ENDPHP -->"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/rt_js/rokfonts.js?<!-- PHP --> echo time(); <!-- ENDPHP -->"></script>

<script type="text/javascript">
	window.addEvent('domready', function() {
		var modules = ['module','moduletable','submenu-block'];
		var header = "h3";
		RokBuildSpans(modules, header);
	});
</script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/rt_js/rokmoomenu.js?<!-- PHP --> echo time(); <!-- ENDPHP -->"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/rt_js/mootools.bgiframe.js?<!-- PHP --> echo time(); <!-- ENDPHP -->"></script>
<script type="text/javascript">
window.addEvent('domready', function() {
	new Rokmoomenu($E('ul.menutop '), {
		bgiframe: false,
		delay: 500,
		animate: {
			props: ['height', 'opacity'],
			opts: {
				duration: 400,
				transition: Fx.Transitions.Sine.easeInOut
			}
		},
		bg: {
			enabled: true,
			overEffect: {
				duration: 100,
				transition: Fx.Transitions.Expo.easeOut
			},
			outEffect: {
				duration: 800,
				transition: Fx.Transitions.Sine.easeIn
			}
		},
		submenus: {
			enabled: true,
			overEffect: {
				duration: 50,
				transition: Fx.Transitions.Expo.easeOut
			},
			outEffect: {
				duration: 600,
				transition: Fx.Transitions.Sine.easeIn
			},
			offsets: {
				top: 5,
				right: 15,
				bottom: 5,
				left: 5
			}
		}
	});
});
</script>


<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/styleswitcher.js"></script>
<script type="text/javascript" src="{T_SUPER_TEMPLATE_PATH}/forum_fn.js"></script>
<!-- IF (S_TSRAT_ENABLE and S_TS_JSSCROLL) or (S_TSRAT_ENABLE and S_TS_TICKER) -->
<!-- IF S_TS_JSSCROLL and not S_TS_TICKER -->
<script src="{ROOT_PATH}script/jquery.totemticker.min.js" type="text/javascript"></script>
<script type="text/javascript">
// <![CDATA[
$(document).ready(function() {
	$('#vertical-ticker').totemticker({
				row_height	:	'41px',
				max_items   :   3,
				speed       :   {JSSCROLL_SPEED},
				interval    :   {JSSCROLL_INTERVAL},
				<!-- IF TS_JSSCROLL_NAVIGATION -->
				next		:	'#ticker-next',
				previous	:	'#ticker-previous',
				stop		:	'#stop',
				start		:	'#start',
				<!-- ENDIF -->
				mousestop	:	true,
				direction	:	'<!-- IF TS_JSSCROLL_DIRECTION -->down<!-- ELSE -->up<!-- ENDIF -->'
	});
});
// ]]>
</script>
<!-- ELSEIF S_TS_TICKER and not S_TS_JSSCROLL -->
<script src="{ROOT_PATH}script/jquery.newsticker.js" type="text/javascript"></script>
<script type="text/javascript">
// <![CDATA[
$(document).ready(function() {
	$("#news").newsTicker();
});
// ]]>
</script>
<!-- ENDIF -->
<!-- ENDIF -->
<link href="{T_THEME_PATH}/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />


<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 REP2_STYLE_NUM > 1 -->
<script type="text/javascript">
window.addEvent('domready', function() {
  var newImagePath = '{ROOT_PATH}/styles/replicant2_style{REP2_STYLE_NUM}/imageset/'; // remember to add the ending forward slash
  var classToSearch = '.icon';
  
  var els = $$(classToSearch);
  if (els.length) {
    els.each(function(el) {
      var bg = el.getStyle('background-image'), newBg, imgSource;
      bg = bg.replace('")', '').replace(")", '');
      var tmp = bg.split('/');
      imgSource = tmp[tmp.length - 1];
      el.setStyle('background-image', 'url('+newImagePath+imgSource+')');     
    });
  }
});
</script>
<!-- ENDIF -->

<!--[if lte IE 6]>
<link href="{T_THEME_PATH}/template_ie6.php?colorstyle=<!-- IF REP2_STYLE -->color{REP2_STYLE}<!-- ELSE -->{DEFAULT_REP2_SCHEME}<!-- ENDIF -->&bodystyle=<!-- IF REP2_BODYSTYLE -->{REP2_BODYSTYLE}<!-- ELSE -->bodystyle1<!-- ENDIF -->" rel="stylesheet" type="text/css" />
<![endif]-->

<!--[if IE 7]>
<link href="{T_THEME_PATH}/template_ie7.css" rel="stylesheet" type="text/css" />
<![endif]-->

<!--[if IE 6]>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/rt_js/roksameheight.js?<!-- PHP --> echo time(); <!-- ENDPHP -->"></script>
<![endif]-->
<!-- RokBox phpBB3 Code Start -->
<!-- IF ROKBOX -->
<script type="text/javascript" src="{T_TEMPLATE_PATH}/rokbox/rokbox.js"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/rokbox/themes/<!-- IF ROKBOX_THEME -->{ROKBOX_THEME}<!-- ELSE -->light<!-- ENDIF -->/rokbox-config.js"></script>
<link href="{T_TEMPLATE_PATH}/rokbox/themes/<!-- IF ROKBOX_THEME -->{ROKBOX_THEME}<!-- ELSE -->light<!-- ENDIF -->/rokbox-style.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- IF IE_VERSION eq '6' -->
<link href="{T_TEMPLATE_PATH}/rokbox/themes/<!-- IF ROKBOX_THEME -->{ROKBOX_THEME}<!-- ELSE -->light<!-- ENDIF -->/rokbox-style-ie6.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->
<!-- IF IE_VERSION eq '7' -->
<link href="{T_TEMPLATE_PATH}/rokbox/themes/<!-- IF ROKBOX_THEME -->{ROKBOX_THEME}<!-- ELSE -->light<!-- ENDIF -->/rokbox-style-ie7.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->
<!-- IF IE_VERSION eq '8' -->
<link href="{T_TEMPLATE_PATH}/rokbox/themes/<!-- IF ROKBOX_THEME -->{ROKBOX_THEME}<!-- ELSE -->light<!-- ENDIF -->/rokbox-style-ie8.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->
<!-- ENDIF -->
<!-- RokBox phpBB3 Code End -->
</head>

<body id="{REP2_FONTFACE}" class="f-default section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
	<div id="body-bg">
			<div id="bg-panel2">
			<!-- Begin Top Bar -->
			<div id="top-bar">
				<div class="wrapper">

					
													
<!-- IF S_ALLOW_JMENU -->
									<div id="horiz-menu" class="moomenu">
																<!-- IF S_USER_LOGGED_IN -->
							{T_JOOMLA_MENU_REG}
							<!-- ELSE -->
							{T_JOOMLA_MENU}
							<!-- ENDIF -->
																<!-- ELSE -->
							
							<div id="horiz-menu" class="moomenu">

																<ul class="menutop" id="horiznav">
<li{U_INDEX_STYLE}><a href="{U_INDEX}" accesskey="h"><span>{L_INDEX}</span></a></li>

<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->

				<li{U_PROFILE_STYLE}><a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="u"><span>{L_PROFILE}</span></a></li>
<!-- IF S_DISPLAY_PM --><li{U_PRIVATEMSGS_STYLE}><a href="{U_PRIVATEMSGS}"><span>{PRIVATE_MESSAGE_INFO}</span></a></li><!-- ENDIF -->
<!-- ENDIF -->	


<li{U_FAQ_STYLE}><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}"><span>{L_FAQ}</span></a></li>
				<!-- IF not S_IS_BOT -->
										<!-- IF not S_USER_LOGGED_IN --><li{U_REGISTER_STYLE}><a href="{U_REGISTER}"><span>{L_REGISTER}</span></a></li><!-- ENDIF -->
					<li{U_LOGIN_LOGOUT_STYLE}><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="l"><span>{L_LOGIN_LOGOUT}</span></a></li>
				<!-- ENDIF -->

</ul>
							<!-- ENDIF -->																					</div>
										
									</div>
			</div>
			<!-- End Top Bar -->
			<!-- Begin Header Bar -->
			<div id="header-bar">
				<div class="wrapper">
										<a href="{U_INDEX}" class="nounder"><img src="{T_THEME_PATH}/images/blank.gif"  alt="logo" id="logo2" /></a>

															<div id="topmenu-mod">
								<div class="moduletable">
			<ul id="mainlevel-top">
				
<li><a href="{U_LOGIN_LOGOUT}" class="mainlevel-top" >{L_LOGIN_LOGOUT} | <!-- IF not S_USER_LOGGED_IN -->Login form<!-- ELSE -->Log out from forum<!-- ENDIF --></a></li>
<!-- IF not S_USER_LOGGED_IN --><li><a href="{U_REGISTER}" class="mainlevel-top" >{L_REGISTER} | Register new account</a></li><!-- ELSE -->
<li><a href="{U_PROFILE}" class="mainlevel-top" >{L_PROFILE} | Your profile</a></li>
<!-- ENDIF -->
			
															</ul>		</div>
							</div>
														</div>
				<div class="clr"></div>

			</div>
			<div id="header-bar-bottom"></div>
			<!-- End Header Bar -->
			<div class="wrapper">
												<div id="mainblock">
				<!-- Begin Showcase Block -->
								<!-- End Showcase Block -->
				<!-- Begin Main Body -->
				<div id="main-top"></div><div id="main-top2"></div><div id="main-top3"></div>

								
                                                                <div id="main<!-- PHP -->if (rok_isIe(6)) {print("-ie");}<!-- ENDPHP -->" class="main-height"><!-- PHP -->if (rok_isIe(6)) {print("</div>");}<!-- ENDPHP -->
					<div id="main<!-- PHP -->if (rok_isIe(6)) {print("-ie");}<!-- ENDPHP -->2" class="main-height"><!-- PHP -->if (rok_isIe(6)) {print("</div>");}<!-- ENDPHP -->
						<div id="main<!-- PHP -->if (rok_isIe(6)) {print("-ie");}<!-- ENDPHP -->3" class="main-height">
                                                
                                                
                                                 
				
                                                
                                                
														<div class="main-padding">
															<div id="main-bar">
																		<div id="newsflash-block">
												<div class="moduletable">
			<script src="{T_TEMPLATE_PATH}/rt_js/roknewsflash-packed.js" type="text/javascript"></script>
<script type="text/javascript">
	window.addEvent('domready', function() {
		var x = new RokNewsFlash('newsflash', {
			controls: true,
			delay: 2500,
			duration: 600,
			blankimage: '{T_THEME_PATH}/images/blank.png' });
	});
</script>
<div id="newsflash">
<ul>
	<li>{SITE_DESCRIPTION}</li>
<!-- IF S_USER_LOGGED_IN -->
	<li>
		{LAST_VISIT_DATE}
	</li>
<!-- ENDIF -->
		<li>
		{CURRENT_TIME}
	</li>
<!-- IF NEWEST_USER -->
		<li>
		{TOTAL_POSTS} &bull; {TOTAL_TOPICS} &bull; {TOTAL_USERS}
	</li>
<li>{NEWEST_USER}</li>
<li>{RECORD_USERS}</li>
<!-- ENDIF -->


	</ul>

</div></div></div>		
											
																										<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
																											<div id="searchmod">

												<div class="moduletable">
													
			
	<form action="{U_SEARCH}" method="get" id="search">
	<div class="search">
		<input name="keywords" id="keywords" maxlength="20" alt="search" class="inputbox" type="text" size="20" value="search..."  onblur="if(this.value=='') this.value='search...';" onfocus="if(this.value=='search...') this.value='';" />
</div>


</form>
												
																											</div>
																										
											</div>
																	<!-- ENDIF -->

																	</div>

															
																<!-- Begin Right Column -->
																 <!-- IF REP2_MENUPOSITION == right -->
																<div id="rightcol"><div class="padding">
																       <!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
																		<div class="inner2"><div class="padding">
																		<div class="moduletable">
							<h3>
					Sign In				</h3>
				<div id="sl_vert" class="login">
                                 
                                        <form method="post" action="{ROOT_PATH}/ucp.php?mode=login" >
			<div id="sl_username"><input name="username" id="username" type="text" alt="username" size="10" value="Username" onfocus="if (this.value=='Username') this.value=''" onblur="if(this.value=='') { this.value='Username'; return false; }" /></div>

			<div id="sl_pass"><input type="password" id="password" name="password" size="10" alt="password" value="Password" onfocus="if (this.value=='Password') this.value=''" onblur="if(this.value=='') { this.value='Password'; return false; }" /></div>
			
                        
            		<!-- IF S_AUTOLOGIN_ENABLED --><div id="sl_rememberme"><input type="checkbox" name="autologin" id="autologin" class="inputbox_j" value="yes" alt="Remember Me" /> Remember me</div><!-- ENDIF -->
                	                   
			<div id="sl_submitbutton"><input name="redirect" value="{LOGIN_REDIRECT}" type="hidden"><input type="submit" name="login" value="{L_LOGIN}" /></div>

			</form>


		</div>	</div>
											</div></div>
									<div class="col-bottom"></div><div class="col-bottom2"></div><div class="col-bottom3"></div>
																		
																		<!-- ENDIF -->
																		
																		<div class="inner2"><div class="padding">
																						<div class="moduletable">
							<h3>

					Main Menu				</h3>
				
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	
	
	<!-- IF S_DISPLAY_SEARCH or (S_USER_LOGGED_IN and not S_IS_BOT) -->
	<!-- IF S_DISPLAY_SEARCH -->
		<tr align="left"><td><a href="{U_SEARCH_UNANSWERED}" class="mainlevel"><span>{L_SEARCH_UNANSWERED}</span></a></td></tr><!-- IF S_USER_LOGGED_IN -->
		<tr align="left"><td><a href="{U_SEARCH_NEW}" class="mainlevel"><span>{L_SEARCH_NEW}</span></a></td></tr><!-- ENDIF -->
		<tr align="left"><td><a href="{U_SEARCH_ACTIVE_TOPICS}" class="mainlevel"><span>{L_SEARCH_ACTIVE_TOPICS}</span></a></td></tr>
	<!-- ENDIF -->
	<tr align="left"><td><a href="{U_SEARCH_SELF}" class="mainlevel"><span>{L_SEARCH_SELF}</span></a></td></tr>
	<!-- IF not S_IS_BOT and U_MARK_FORUMS --><tr align="left"><td><a href="{U_MARK_FORUMS}" accesskey="m" class="mainlevel"><span>{L_MARK_FORUMS_READ}</span></a></td></tr><!-- ENDIF -->
	
<!-- ENDIF -->	

</table>		</div>
											</div></div>
									<div class="col-bottom"></div><div class="col-bottom2"></div><div class="col-bottom3"></div>
														
																<!-- IF S_SHOW_REP2USER -->
																<div class="inner2"><div class="padding">
																						<div class="moduletable">
							<h3>

					User menu				</h3>
				
<table cellpadding="0" cellspacing="0">
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->

				<tr align="left"><td><a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="u" class="mainlevel">{L_PROFILE}</a></td></tr>
<!-- IF U_MCP --><tr align="left"><td><a href="{U_MCP}" class="mainlevel">{L_MCP}</a></td></tr><!-- ENDIF -->
						<!-- IF S_DISPLAY_PM --><tr align="left"><td><a href="{U_PRIVATEMSGS}" class="mainlevel">{PRIVATE_MESSAGE_INFO}</a></td></tr><!-- ENDIF -->
					<!-- IF U_RESTORE_PERMISSIONS -->
					<tr align="left"><td><a href="{U_RESTORE_PERMISSIONS}" class="mainlevel">{L_RESTORE_PERMISSIONS}</a></td></tr>
					<!-- ENDIF -->
			

			<!-- ENDIF -->


				<tr align="left"><td><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}" class="mainlevel">{L_FAQ}</a></td></tr>
				<!-- IF not S_IS_BOT -->
					<!-- IF S_DISPLAY_MEMBERLIST --><tr align="left"><td><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}" class="mainlevel">{L_MEMBERLIST}</a></td></tr><!-- ENDIF -->
					<!-- IF not S_USER_LOGGED_IN --><tr align="left"><td><a href="{U_REGISTER}" class="mainlevel">{L_REGISTER}</a></td></tr><!-- ENDIF -->
					<tr align="left"><td><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="l" class="mainlevel">{L_LOGIN_LOGOUT}</a></td></tr>
				<!-- ENDIF -->

</table>					</div>
											</div></div>
									<div class="col-bottom"></div><div class="col-bottom2"></div><div class="col-bottom3"></div>
																<!-- ENDIF -->
																<!-- IF ALLOW_REP2_COLORSWITCHER -->
																<div class="inner2"><div class="padding">
																						<div class="moduletable">
							<h3>

					Style variations				</h3>
				
<a href="index.php{SID}&ntheme=style1">Style 1</a> | <a href="index.php{SID}&ntheme=style2">Style 2</a> | <a href="index.php{SID}&ntheme=style3">Style 3</a> | <a href="index.php{SID}&ntheme=style4">Style 4</a> | <a href="index.php{SID}&ntheme=style5">Style 5</a>
| <a href="index.php{SID}&ntheme=style6">Style 6</a>
| <a href="index.php{SID}&ntheme=style7">Style 7</a>
| <a href="index.php{SID}&ntheme=style8">Style 8</a>
| <a href="index.php{SID}&ntheme=style9">Style 9</a>
| <a href="index.php{SID}&ntheme=style10">Style 10</a>
<br />		</div>
											</div></div>
									<div class="col-bottom"></div><div class="col-bottom2"></div><div class="col-bottom3"></div>
																
															<!-- ENDIF -->	
																																			</div></div>
										<!-- ENDIF -->					
																<!-- End Right Column -->
								<!-- Begin Left Column -->
								
																					 <!-- IF REP2_MENUPOSITION == left -->
																<div id="leftcol"><div class="padding">
																       <!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
																		<div class="inner2"><div class="padding">
																		<div class="moduletable">
							<h3>
					Sign In				</h3>
				<div id="sl_vert" class="login">
                                 
                                        <form method="post" action="{ROOT_PATH}/ucp.php?mode=login" >
			<div id="sl_username"><input name="username" id="username" type="text" alt="username" size="10" value="Username" onfocus="if (this.value=='Username') this.value=''" onblur="if(this.value=='') { this.value='Username'; return false; }" /></div>

			<div id="sl_pass"><input type="password" id="password" name="password" size="10" alt="password" value="Password" onfocus="if (this.value=='Password') this.value=''" onblur="if(this.value=='') { this.value='Password'; return false; }" /></div>
			
                        
            		<!-- IF S_AUTOLOGIN_ENABLED --><div id="sl_rememberme"><input type="checkbox" name="autologin" id="autologin" class="inputbox_j" value="yes" alt="Remember Me" /> Remember me</div><!-- ENDIF -->
                	                   
			<div id="sl_submitbutton"><input name="redirect" value="{LOGIN_REDIRECT}" type="hidden"><input type="submit" name="login" value="{L_LOGIN}" /></div>

			</form>


		</div>	</div>
											</div></div>
									<div class="col-bottom"></div><div class="col-bottom2"></div><div class="col-bottom3"></div>
																		
																		<!-- ENDIF -->
																		
																		<div class="inner2"><div class="padding">
																						<div class="moduletable">
							<h3>

					Main Menu				</h3>
				
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	
	
	<!-- IF S_DISPLAY_SEARCH or (S_USER_LOGGED_IN and not S_IS_BOT) -->
	<!-- IF S_DISPLAY_SEARCH -->
		<tr align="left"><td><a href="{U_SEARCH_UNANSWERED}" class="mainlevel"><span>{L_SEARCH_UNANSWERED}</span></a></td></tr><!-- IF S_USER_LOGGED_IN -->
		<tr align="left"><td><a href="{U_SEARCH_NEW}" class="mainlevel"><span>{L_SEARCH_NEW}</span></a></td></tr><!-- ENDIF -->
		<tr align="left"><td><a href="{U_SEARCH_ACTIVE_TOPICS}" class="mainlevel"><span>{L_SEARCH_ACTIVE_TOPICS}</span></a></td></tr>
	<!-- ENDIF -->
	<tr align="left"><td><a href="{U_SEARCH_SELF}" class="mainlevel"><span>{L_SEARCH_SELF}</span></a></td></tr>
	<!-- IF not S_IS_BOT and U_MARK_FORUMS --><tr align="left"><td><a href="{U_MARK_FORUMS}" accesskey="m" class="mainlevel"><span>{L_MARK_FORUMS_READ}</span></a></td></tr><!-- ENDIF -->
	
<!-- ENDIF -->	

</table>		</div>
											</div></div>
									<div class="col-bottom"></div><div class="col-bottom2"></div><div class="col-bottom3"></div>
																
																<!-- IF S_SHOW_REP2USER -->
																<div class="inner2"><div class="padding">
																						<div class="moduletable">
							<h3>

					User menu				</h3>
				
<table cellpadding="0" cellspacing="0">
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->

				<tr align="left"><td><a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="u" class="mainlevel">{L_PROFILE}</a></td></tr>
<!-- IF U_MCP --><tr align="left"><td><a href="{U_MCP}" class="mainlevel">{L_MCP}</a></td></tr><!-- ENDIF -->
						<!-- IF S_DISPLAY_PM --><tr align="left"><td><a href="{U_PRIVATEMSGS}" class="mainlevel">{PRIVATE_MESSAGE_INFO}</a></td></tr><!-- ENDIF -->
					<!-- IF U_RESTORE_PERMISSIONS -->
					<tr align="left"><td><a href="{U_RESTORE_PERMISSIONS}" class="mainlevel">{L_RESTORE_PERMISSIONS}</a></td></tr>
					<!-- ENDIF -->
			

			<!-- ENDIF -->


				<tr align="left"><td><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}" class="mainlevel">{L_FAQ}</a></td></tr>
				<!-- IF not S_IS_BOT -->
					<!-- IF S_DISPLAY_MEMBERLIST --><tr align="left"><td><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}" class="mainlevel">{L_MEMBERLIST}</a></td></tr><!-- ENDIF -->
					<!-- IF not S_USER_LOGGED_IN --><tr align="left"><td><a href="{U_REGISTER}" class="mainlevel">{L_REGISTER}</a></td></tr><!-- ENDIF -->
					<tr align="left"><td><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="l" class="mainlevel">{L_LOGIN_LOGOUT}</a></td></tr>
				<!-- ENDIF -->

</table>					</div>
											</div></div>
									<div class="col-bottom"></div><div class="col-bottom2"></div><div class="col-bottom3"></div>
																<!-- ENDIF -->
																<!-- IF ALLOW_REP2_COLORSWITCHER -->
																<div class="inner2"><div class="padding">
																						<div class="moduletable">
							<h3>

					Style variations				</h3>
				
<a href="index.php{SID}&ntheme=style1">Style 1</a> | <a href="index.php{SID}&ntheme=style2">Style 2</a> | <a href="index.php{SID}&ntheme=style3">Style 3</a> | <a href="index.php{SID}&ntheme=style4">Style 4</a> | <a href="index.php{SID}&ntheme=style5">Style 5</a>
| <a href="index.php{SID}&ntheme=style6">Style 6</a>
| <a href="index.php{SID}&ntheme=style7">Style 7</a>
| <a href="index.php{SID}&ntheme=style8">Style 8</a>
| <a href="index.php{SID}&ntheme=style9">Style 9</a>
| <a href="index.php{SID}&ntheme=style10">Style 10</a>
<br />		</div>
											</div></div>
									<div class="col-bottom"></div><div class="col-bottom2"></div><div class="col-bottom3"></div>
																
															<!-- ENDIF -->	
																																			</div></div>
										<!-- ENDIF -->	
								
																<!-- End Left Column -->
								<!-- Begin Middle Column -->
								<div id="maincol">

																	<div class="inner2">
																				<div class="padding">
															<table class="contentpaneopen">
			<tr>
								<td class="contentheading">
					{SITENAME}									</td>
							</tr>
			</table>

			
		<table class="contentpaneopen">
				<tr>
			<td valign="top" colspan="2">
	

	

<div id="wrap">
	<a id="top" name="top" accesskey="t"></a>
	<div class="navbar">
<ul class="linklist">
				<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></ul>
<!-- IF U_EMAIL_TOPIC or U_PRINT_TOPIC -->
			<ul class="linklist">
				<!-- 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>
<!-- ENDIF -->

<!-- IF REP2_MENUPOSITION == full -->
			<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
			<ul class="linklist leftside">
				<li>
					<a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="e">{L_PROFILE}</a>
						<!-- IF S_DISPLAY_PM --> (<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>)<!-- ENDIF -->
					<!-- IF S_DISPLAY_SEARCH --> &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><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
				<!-- IF not S_IS_BOT -->
					<!-- IF S_DISPLAY_MEMBERLIST --><li>&bull; <a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
					<!-- IF not S_USER_LOGGED_IN --><li>&bull; <a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
					<li><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="l">&bull; {L_LOGIN_LOGOUT}</a></li>
				<!-- ENDIF -->
			</ul>
		<!-- ELSE -->	<!-- ENDIF -->


		</div>

	<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 -->



Thanks in advance!
Stoker wrote:Sure, post away :)
I hit the character limit, I'll have to put tweaks.css and colours.css in another post...
User avatar
mobius
BBCoder II
BBCoder II
Posts: 23
Joined: 17 Dec 2011, 10:35
BBCodes: 3

Compatibility with other styles?

Post by mobius »

that style also has to have jquery loaded onto it. did you manually copy over that edit? and you have mootools from using rocket theme stuff, they can conflict
Locked