Wegen anderem style geht der mod nicht?

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 3.0 hat das Ende seiner Lebenszeit überschritten
phpBB 3.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 3.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf die neuste phpBB-Version, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
croxxx69
Mitglied
Beiträge: 258
Registriert: 13.10.2008 00:25
Kontaktdaten:

Wegen anderem style geht der mod nicht?

Beitrag von croxxx69 »

hallo,

wollte wenn man eine PM bekommt, das man halt eine nachricht (also so ein popup fenster) beim einloggen bekommt.
dann habe ich von euch diese anleitung bekommen:
http://www.phpbb.com/community/viewtopi ... &t=1402405

und habe versucht diesen code auf meinem umzusetzen, doch es klappt leider nicht... habe die anleitung für theme subsilver2 auf mein theme (style) durchgeführt und leider klappt es nicht...

mein theme ist der von 610nm (unter http://www.gamexe.net/forum/viewtopic.php?f=1&t=1241)

mein code, nach den veränderungen der anweisungen, sieht jetzt so aus
overall_header.html:

Code: Alles auswählen

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.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-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<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 http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>
<!-- 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 -->
<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();

function popup(url, width, height, name)
{
	if (!name)
	{
		name = '_popup';
	}

	window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
	return false;
}

function jumpto()
{
	var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
	var per_page = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';

	if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0)
	{
		if (base_url.indexOf('?') == -1)
		{
			document.location.href = base_url + '?start=' + ((page - 1) * per_page);
		}
		else
		{
			document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page);
		}
	}
}

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

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
	var parent = document.getElementById(id);
	if (!parent)
	{
		eval('parent = document.' + id);
	}

	if (!parent)
	{
		return;
	}

	var rb = parent.getElementsByTagName('input');
	
	for (var r = 0; r < rb.length; r++)
	{
		if (rb[r].name.substr(0, name.length) == name)
		{
			rb[r].checked = state;
		}
	}
}

<!-- IF ._file -->

	/**
	* Play quicktime file by determining it's width/height
	* from the displayed rectangle area
	*
	* Only defined if there is a file block present.
	*/
	function play_qt_file(obj)
	{
		var rectangle = obj.GetRectangle();

		if (rectangle)
		{
			rectangle = rectangle.split(',')
			var x1 = parseInt(rectangle[0]);
			var x2 = parseInt(rectangle[2]);
			var y1 = parseInt(rectangle[1]);
			var y2 = parseInt(rectangle[3]);

			var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
			var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
		}
		else
		{
			var width = 200;
			var height = 0;
		}

		obj.width = width;
		obj.height = height + 16;

		obj.SetControllerVisible(true);

		obj.Play();
	}
<!-- ENDIF -->

	/**
	* 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>
<!-- IF S_USER_PM_POPUP and S_NEW_PM -->
	<script type="text/javascript" src="{T_TEMPLATE_PATH}/opacity.js"></script>
<!-- ENDIF -->

<script type="text/javascript" src="{T_TEMPLATE_PATH}/styleswitcher.js"></script>
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />
<!-- IF S_USER_PM_POPUP and S_NEW_PM -->
	<!--[if lt IE 7]>
	<link rel="stylesheet" href="{T_THEME_PATH}/ie6-position-fixed.css" type="text/css" />
	<![endif]-->
<!-- ENDIF -->
<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++" />
</head>
<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">

<!-- IF S_USER_PM_POPUP and S_NEW_PM -->
<table border="0" cellspacing="0" cellpadding="10" id="pm-popup">
<tr>
	<td>
		<table width="100%" border="0" cellspacing="1" cellpadding="4" class="tablebg">
		<tr class="row1"> 
			<td valign="top" align="center">
				<br /><span class="gen">
					{PM_POPUP_MESSAGE}<br /><br />{PM_POPUP_CLICK_TO_VIEW}
				</span>
				<br /><br /><span class="genmed"><a href="#" onclick="setOpacity('main-block',1);document.getElementById('pm-popup').style.display='none';return false;">{L_CLOSE_WINDOW}</a></span><br /><br />
			</td>
		</tr>
		</table>
	</td>
</tr>
</table>

<!-- ENDIF -->

<div id="main-block">


<div id="wrap">
<a id="top" name="top" accesskey="t"></a>

<a href="#" onclick="fontsizeup(); return false;" onkeypress="fontsizeup(); return false;" class="fontsize" title="{L_CHANGE_FONT_SIZE}">{L_CHANGE_FONT_SIZE}</a>
<div id="topnav">
	<!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
	<div id="search-box">
		<form action="{U_SEARCH}" method="post" id="search">
		<fieldset>
			<input name="keywords" id="keywords" type="text" 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}';" />
			{S_SEARCH_HIDDEN_FIELDS}
		</fieldset>
		</form>
	</div>
	<!-- ENDIF -->
</div>
	
<div class="b"><div class="bl"><div class="br">

	<div id="header_container">
		<div id="header_bg">
			<div id="header_bg2">
				<a href="{U_INDEX}" title="{L_INDEX}" id="logo">{SITE_LOGO_IMG}</a>
			</div>
		</div>
	</div>

	<div id="wrapheader">

		<div id="navcontainer">
			<ul id="navlist">
			<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
			<li><a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="u">{L_PROFILE}</a></li>
			<!-- IF S_DISPLAY_PM --><li><a href="{U_PRIVATEMSGS}">({PRIVATE_MESSAGE_INFO})</a></li><!-- ENDIF -->
			<!-- IF U_RESTORE_PERMISSIONS --><li><a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a></li><!-- ENDIF -->
			<!-- ENDIF -->
			<li><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
			<!-- IF not S_IS_BOT --><!-- IF S_DISPLAY_MEMBERLIST --><li><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
			<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --><li><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
			<li><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="l">{L_LOGIN_LOGOUT}</a></li><!-- ENDIF -->
			<!-- IF S_DISPLAY_SEARCH --><li><a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH}</a></li><!-- ENDIF -->
			</ul>
		</div>
		
		<!-- INCLUDE breadcrumbs.html -->

		<div id="datebar">
			<table width="100%" cellspacing="0">
			<tr>
				<td class="gensmall"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --></td>
				<td class="gensmall" align="{S_CONTENT_FLOW_END}">{CURRENT_TIME}<br /></td>
			</tr>
			</table>
		</div>

	</div>

	<div id="wrapcentre">


overall_footer.html:

Code: Alles auswählen

	<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
</div>

<!--
	We request you retain the full copyright notice below including the link to www.phpbb.com.
	This not only gives respect to the large amount of time given freely by the developers
	but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
	the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
	"phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our
	forums may be affected.

	The phpBB Group : 2006
//-->

<div id="wrapfooter">
	<span class="gensmall">
	<!-- IF U_MCP -->[ <a href="{U_MCP}">{L_MCP}</a> ]<br /><!-- ENDIF -->
	<!-- IF U_ACP -->[ <a href="{U_ACP}">{L_ACP}</a> ]<!-- ENDIF -->
	</span><br /><br />
	<span class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> &copy; 2000, 2002, 2005, 2007 phpBB Group<br />
	610nm Style by Daniel St. Jules of <a href="http://www.gamexe.net">Gamexe.net</a><br />
	<!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF -->
	<!-- IF DEBUG_OUTPUT --><br /><bdo dir="ltr">[ {DEBUG_OUTPUT} ]</bdo><!-- ENDIF --></span>
</div>

</div></div></div>
</div>

</body>
</div>

<!-- IF S_USER_PM_POPUP and S_NEW_PM -->
<script type="text/javascript">
setOpacity('main-block', 0.3);
</script>
<!-- ENDIF -->

</html>


stylesheet.css:

Code: Alles auswählen

/*  phpBB 3.0 Style Sheet
    --------------------------------------------------------------
	Style name:		610nm
	Author:		Daniel St. Jules ( http://www.gamexe.net/ )
    --------------------------------------------------------------
*/

/* Layout
 ------------ */
* {
	/* Reset browsers default margin, padding and font sizes */
	margin: 0;
	padding: 0;
}

.right { float: right; }

body {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	color: #4B4B4B;
	background: #5B5B5B url("{T_THEME_PATH}/images/bg.gif") top repeat-x;
	font-size: 10px;
}

#topnav {
	height: 39px;
	padding-top: 4px;
}

#wrap {
	margin: 0 auto;
	width: 86%;
	min-width: 740px;
	position: relative;
}


#wrapcentre {
	padding: 6px;
}

#wrapfooter {
	padding: 6px;
	text-align: center;
	clear: both;
}

#findbar {
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}

.forumrules {
	background-color: #F9CC79;
	border-width: 1px;
	border-style: solid;
	border-color: #BB9860;
	padding: 4px;
	font-weight: normal;
	font-size: 1.1em;
	font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}

.forumrules h3 {
	color: red;
}

.clear { clear: both; }

/* Navigation
 --------------------- */

#navcontainer {
	width: 100%;
	padding-bottom: 1px;
	background: url("{T_THEME_PATH}/images/nav.gif") top repeat-x;
}

#navcontainer ul { padding: 0; }
#navcontainer ul li { display: inline; }

#navcontainer ul {
	margin: 0;
	height: 42px;
	padding: 0 10px 0 10px;
	font-size: 1.1em;
}

#navcontainer ul li a {
	padding: 12px 10px 0 10px;
	height: 30px;
	color: #53473F;
	text-decoration: none;
	float: left;
}

#navlist li a:hover, #navlist li a:active {
	text-decoration: none;
	text-align: left;
	background: url("{T_THEME_PATH}/images/nav_hover.gif") top repeat-x;
}

/* Search box
 --------------------- */
#search-box {
	color: #FFFFFF;
	display: block;
	float: right;
	text-align: right;
	white-space: nowrap; /* For Opera */
	border: 0;
}

#search-box input {
	border: 0;
	width: 139px;
	height: 17px;
	padding: 3px 5px 0 5px;
	background: url("{T_THEME_PATH}/images/search.gif") top no-repeat;
	color: #929292;
	border: 0;
}

#search-box fieldset {
	border: 0;
	background: none;
}

#search-box input:hover, #search-box input:focus {
	color: #BBBBBB;
	background: url("{T_THEME_PATH}/images/search.gif") no-repeat;
	background-position: 0 -20px;
}

/* Round cornered boxes and backgrounds
 --------------------------------------------------------- */

#header_bg {
	height: 102px;
	background: url("{T_THEME_PATH}/images/header_right.gif") top right no-repeat;
}

#header_bg2 {
	height: 102px;
	background: url("{T_THEME_PATH}/images/header_left.gif") top left no-repeat;
	
}

#header_container { 
	background: url("{T_THEME_PATH}/images/header_bg.gif") top repeat-x;
	display: block;
	width: 100%;
}

#logo {
	display: block;
	width: 100%;
}

#logo img {
	margin-left: 20px;
}

.b { 
	background: #F3F3EE url("{T_THEME_PATH}/images/footer_bg.gif") bottom repeat-x;
}

.bl { 
	background: url("{T_THEME_PATH}/images/footer_left.gif") bottom left no-repeat;
}

.br { 
	background: url("{T_THEME_PATH}/images/footer_right.gif") bottom right no-repeat;
	padding-bottom: 55px;
}

.navbar {
	background-color: #D7D7C2;
	padding: 10px 20px 10px 5px;
	margin-bottom: 15px;
	display: block;
}

ul.linklist li {
	list-style-type: none;
}

/*  Text
#pm-popup {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-left: -200px;
	margin-top: -100px;
	width: 400px;
	z-index: 2;
	text-align: center;
}

#main-block {
	width: 100%;
	background-color: white;
}
 --------------------- */
h1 {
	color: black;
	font-family: "Lucida Grande", "Trebuchet MS", Verdana, sans-serif;
	font-weight: bold;
	font-size: 1.8em;
	text-decoration: none;
}

h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 1.5em;
	text-decoration: none;
	line-height: 120%;
}

h3 {
	font-size: 1.3em;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 120%;
}

h4 {
	margin: 0;
	font-size: 1.1em;
	font-weight: bold;
}

p {
	font-size: 1.1em;
}

p.moderators {
	margin: 0;
	float: left;
	color: black;
	font-weight: bold;
}

.rtl p.moderators {
	float: right;
}

p.linkmcp {
	margin: 0;
	float: right;
	white-space: nowrap;
}

.rtl p.linkmcp {
	float: left;
}

p.breadcrumbs {
	margin: 0;
	float: left;
	color: black;
	font-weight: bold;
	white-space: normal;
	font-size: 1em;
}

.rtl p.breadcrumbs {
	float: right;
}

p.datetime {
	margin: 0;
	float: right;
	white-space: nowrap;
	font-size: 1em;
}

.rtl p.datetime {
	float: left;
}

p.searchbar {
	white-space: nowrap;
} 

p.searchbarreg {
	margin: 0;
	float: right;
	white-space: nowrap;
}

.rtl p.searchbarreg {
	float: left;
}

p.forumdesc {
	padding-bottom: 4px;
}

p.topicauthor {
	margin: 1px 0;
}

p.topicdetails {
	margin: 1px 0;
}

.postreported, .postreported a:visited, .postreported a:hover, .postreported a:link, .postreported a:active {
	margin: 1px 0;
	color: red;
	font-weight:bold;
}

.postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a:link, .postapprove a:active {
	color: green;
	font-weight:bold;
}

.postapprove img, .postreported img {
	vertical-align: bottom;
	padding-top: 5px;
}

.postauthor {
	color: #000000;
}

.postdetails {
	color: #000000;
}

.postbody {
	font-size: 1.3em;
	line-height: 1.4em;
	font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
}

.postbody li, ol, ul {
	margin: 0 0 0 1.5em;
}

.rtl .postbody li, .rtl ol, .rtl ul {
	margin: 0 1.5em 0 0;
}

.posthilit {
	background-color: yellow;
}

.nav {
	margin: 0;
	color: black;
	font-weight: bold;
}

.pagination {
	padding: 4px;
	color: black;
	font-size: 1em;
	font-weight: bold;
}

.cattitle {

}

.gen {
	margin: 1px 1px;
	font-size: 1.2em;
}

.genmed {
	margin: 1px 1px;
	font-size: 1.1em;
}

.gensmall {
	margin: 1px 1px;
	font-size: 1em;
}

.copyright {
	color: #444;
	font-weight: normal;
	font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}

.titles {
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 1.3em;
	text-decoration: none;
}

.error {
	color: red;
}


/* Tables
 ------------ */
th {
	color: #75471A;
	font-size: 1.1em;
	font-weight: bold;
	background: url('{T_THEME_PATH}/images/cellpic3.gif') top repeat-x;
	white-space: nowrap;
	padding: 0 5px;
	height: 25px;
	text-align: center;
}

td {
	padding: 2px;
}
td.profile {
	padding: 4px;
}

.tablebg {
	background-color: #B8B89B;
}

.catdiv {
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background: white url('{T_THEME_PATH}/images/cellpic2.jpg') repeat-y scroll top left;
}
.rtl .catdiv {
	background: white url('{T_THEME_PATH}/images/cellpic2_rtl.jpg') repeat-y scroll top right;
}

.cat {
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background: #E8E8E3 url('{T_THEME_PATH}/images/cellpic1.gif') repeat-x;
	text-indent: 4px;
}

.row1 {
	background: #DEDECA url('{T_THEME_PATH}/images/row1.gif') repeat-x;
	padding: 4px;
	border-top: 1px #EEEEE2 solid;
	border-left: 1px #F4F4EB solid;
}

.row2 {
	background: #D8D8C2 url('{T_THEME_PATH}/images/row2.gif') repeat-x;
	padding: 4px;
	border-top: 1px #EEEEE2 solid;
	border-left: 1px #F4F4EB solid;
}

.row3 {
	background: #DEDECA url('{T_THEME_PATH}/images/row1.gif') repeat-x;
	padding: 4px;
	border-top: 1px #EEEEE2 solid;
	border-left: 1px #F4F4EB solid;
}

.spacer {
	background: #E0E0E0 url('{T_THEME_PATH}/images/space.gif') repeat-x;
}

hr {
	height: 1px;
	border-width: 0;
	background-color: #D1D7DC;
	color: #D1D7DC;
}

.legend {
	text-align:center;
	margin: 0 auto;
}

/* Links
 ------------ */
 
/* Links adjustment to correctly display an order of rtl/ltr mixed content */
.rtl a {
	direction: rtl;
	unicode-bidi: embed;
}
 
a:link	{ color: #5B3818; text-decoration: none; }
a:visited	{ color: #5B3818; text-decoration: none; }
a:hover	{ color: #8C651A; text-decoration: underline; }
a:active	{ color: #8C651A; text-decoration: none; }

a.forumlink {
	font-weight: bold;
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-size: 1.2em;
}

a.topictitle, a.topictitle:visited {
	margin: 1px 0;
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 1.2em;
}

th a,
th a:visited {
	color: #75471A !important;
	text-decoration: none;
}

th a:hover {
	text-decoration: none;
}


/* Form Elements
 ------------ */
form {
	margin: 0;
	padding: 0;
	border: 0;
}

input {
	color: #3D3D3F;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	font-size: 1.1em;
	font-weight: normal;
	padding: 2px;
	border: 1px solid #B2B296;
	background-color: #F2F2F2;
	vertical-align: middle;
}

input:hover, input:focus, select:hover, select:focus {
	border: 1px solid #78786E;
	background-color: #FFF;
}

textarea {
	background: #EEEEEE url("{T_THEME_PATH}/images/textarea.gif") top repeat-x;
	color: #333333;
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	font-size: 1.3em; 
	line-height: 1.4em;
	font-weight: normal;
	border: 1px solid #B2B296;
	padding: 2px;
	vertical-align: middle;
}

textarea:hover, textarea:focus {
	border: 1px solid #78786E;
}

select {
	color: #333333;
	background-color: #FAFAFA;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	font-size: 1.1em;
	font-weight: normal;
	border: 1px solid #B2B296;
	padding: 1px;
	vertical-align: middle;
}

option {
	padding: 0 1em 0 0;
}

option.disabled-option {
	color: graytext;
}

.rtl option {
	padding: 0 0 0 1em;
}

input.radio {
	border: none;
	background-color: transparent;
	vertical-align: middle;
}

.post {
	background-color: white;
	border-style: solid;
	border-width: 1px;
}

.btnbbcode {
	color: #000000;
	font-weight: normal;
	font-size: 1.1em;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
}

.btnmain {
	font-weight: bold;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
}

.btnlite {
	font-weight: normal;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
}

.btnfile {
	font-weight: normal;
	padding: 1px 5px;
	font-size: 1.1em;
}

.btnmain, .btnlite, .btnfile {
	background: url("{T_THEME_PATH}/images/submit.gif") top repeat-x;
	color: #575757;
}

.btnmain:hover, .btnmain:focus, .btnlite:hover, .btnlite:focus, .btnfile:hover, .btnfile:focus {
	background-position: 0 -40px;
	border: 1px #93937B solid;
	color: #363636;
}

.btnbbcode {
	background: url("{T_THEME_PATH}/images/bbcode.gif") top repeat-x;
	color: #575757;
}

.btnbbcode:hover, .btnbbcode:focus {
	background-position: 0 -40px;
	border: 1px #9B8A72 solid;
	color: #363636;
}

.helpline, .helpline:hover, .helpline:focus  {
	background: transparent;
	border-style: none;
}


/* BBCode
 ------------ */
.quotetitle, .attachtitle {
	margin: 10px 5px 0 5px;
	padding: 4px;
	border-width: 1px 1px 0 1px;
	border-style: solid;
	border-color: #ABAB9C;
	color: #333333;
	font-size: 0.85em;
	font-weight: bold;
	background: #EEEEEE url("{T_THEME_PATH}/images/cellpic1.gif") top repeat-x;
}

.quotetitle .quotetitle {
	font-size: 1em;
}

.quotecontent, .attachcontent {
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-color: #A9B8C2;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	font-size: 1em;
	line-height: 1.4em;
	font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
	background: #EEEEEE url("{T_THEME_PATH}/images/textarea.gif") top repeat-x;
	color: #4B5C77;
}

.attachcontent {
	font-size: 0.85em;
}

.codetitle {
	margin: 10px 5px 0 5px;
	padding: 2px 4px;
	border-width: 1px 1px 0 1px;
	border-style: solid;
	color: #333333;
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	font-size: 0.8em;
	border-color: #ABAB9C;
	background: #EEEEEE url("{T_THEME_PATH}/images/cellpic1.gif") top repeat-x;
}

.codecontent {
	direction: ltr;
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-color: #A9B8C2;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	color: #006600;
	font-size: 0.85em;
	font-family: Monaco, 'Courier New', monospace;
	background: #EEEEEE url("{T_THEME_PATH}/images/textarea.gif") top repeat-x;
}

.syntaxbg {
	color: #FFFFFF;
}

.syntaxcomment {
	color: #FF8000;
}

.syntaxdefault {
	color: #0000BB;
}

.syntaxhtml {
	color: #000000;
}

.syntaxkeyword {
	color: #007700;
}

.syntaxstring {
	color: #DD0000;
}


/* Private messages
 ------------------ */
.pm_marked_colour {
	background-color: #000000;
}

.pm_replied_colour {
	background-color: #A9B8C2;
}

.pm_friend_colour {
	background-color: #007700;
}

.pm_foe_colour {
	background-color: #DD0000;
}

/* Buttons
 --------------- */

a.fontsize {
	display: block;
	overflow: hidden;
	height: 18px;
	text-indent: -5000px;
	text-align: left;
	background-repeat: no-repeat;
	background-image: url("{T_THEME_PATH}/images/icon_fontsize.gif");
	background-position: 0 -1px;
	width: 29px;
	position: absolute;
	top: 6px;
	left: 0px;
}

a.fontsize:hover {
	background-position: 0 -20px;
	text-decoration: none;
}

.reply-icon	{ 
	float: left; display: block; width: 96px; height: 25px;
	background: url("{IMG_BUTTON_TOPIC_REPLY_SRC}") 0 0 no-repeat;
	margin-right: 10px;
}
.post-icon	{ 
	float: left; display: block; width: 96px; height: 25px;
	background: url("{IMG_BUTTON_TOPIC_NEW_SRC}") 0 0 no-repeat;
	margin-right: 10px;
}
.locked-icon { 
	float: left; display: block; width: 96px; height: 25px;
	background: url("{IMG_BUTTON_TOPIC_LOCKED_SRC}") 0 0 no-repeat;
	margin-right: 10px;
}
.newpm-icon { 
	float: left; display: block; width: 96px; height: 25px;
	background: url("{IMG_BUTTON_PM_NEW_SRC}") 0 0 no-repeat;
	margin-right: 10px;
}

.reply-icon span, .post-icon span, .locked-icon span, .newpm-icon span {
	display: none; text-indent: -5000px;
}

.reply-icon:hover, .post-icon:hover, .locked-icon:hover, .newpm-icon:hover {
	background-position: 0 -25px;
}

/* Misc
 ------------ */
img {
	border: none;
}

.sep {
	color: black;
	background-color: #FFA34F;
}

table.colortable td {
	padding: 0;
}

pre {
	font-size: 1.1em;
	font-family: Monaco, 'Courier New', monospace;
}

.nowrap {
	white-space: nowrap;
}

.username-coloured {
	font-weight: bold;
}

.simple {
    background-color: #FFFFFF;
}

#datebar { padding: 0 4px; }
Benutzeravatar
Metzle
Ehemaliges Teammitglied
Beiträge: 10435
Registriert: 08.03.2008 02:50
Wohnort: Waiblingen-Neustadt
Kontaktdaten:

Re: Wegen anderem style geht der mod nicht?

Beitrag von Metzle »

Hallo,

warum nutzt du nicht die Standardfunktion? Das ist doch schon alles integriert. Man muss das nur in seinem Persönlichen Bereich angeben, ob man die Pop-Up-Benachrichtigung haben will.
Und seinen Browser wird man ja wohl so koinfifurieren können, dass er die entsprechenden Pop-Ups nicht blockt.
Metzle
phpBB.de-Support-Team
Allround-phpBB.de
croxxx69
Mitglied
Beiträge: 258
Registriert: 13.10.2008 00:25
Kontaktdaten:

Re: Wegen anderem style geht der mod nicht?

Beitrag von croxxx69 »

aha... stimmt... nur kann man diese funktion als standard einstellen? also das diese funktion bei jedem user an ist? und wenn er die halt nicht will, soll er die selber ausschalten.
Benutzeravatar
Metzle
Ehemaliges Teammitglied
Beiträge: 10435
Registriert: 08.03.2008 02:50
Wohnort: Waiblingen-Neustadt
Kontaktdaten:

Re: Wegen anderem style geht der mod nicht?

Beitrag von Metzle »

Hallo,

um das für alle zu aktivieren schau mal hier: http://www.phpbb3bbcodes.com/viewtopic.php?p=437#p437
Metzle
phpBB.de-Support-Team
Allround-phpBB.de
croxxx69
Mitglied
Beiträge: 258
Registriert: 13.10.2008 00:25
Kontaktdaten:

Re: Wegen anderem style geht der mod nicht?

Beitrag von croxxx69 »

wow... ja das ist ja doll ;-)
habe es jetzt geändert... nur weiss nicht wie man es für bestehende user aktivieren kann?!
weiss nicht genau wo ich dies einfügen soll...

But you will need to run a SQL query to activate it for existing users:

UPDATE phpbb_users SET user_options = user_options | 1024 WHERE user_type <> 2

und noch eine frage, gibt es eine anleitung wie man das auch für die option "Mich benachrichtigen, sobald eine Antwort geschrieben wurde" einstellen kann? also das automatisch die user eine benachrichtigung (mail) bekommen wenn ein neuer post, wo man was geschriebn hat, geschrieben wird?
Benutzeravatar
redbull254
Ehemaliges Teammitglied
Beiträge: 10379
Registriert: 05.01.2006 13:01
Kontaktdaten:

Re: Wegen anderem style geht der mod nicht?

Beitrag von redbull254 »

Hallo erstmal,

phpMyAdmin starten, Deine aktuelle Datenbank auswählen, links oben den Button „SQL“ anklicken.

Die SQL-Anweisung eingeben, OK anklicken.

Vorher Datenbank sichern.
Beste Grüße
Walter
croxxx69
Mitglied
Beiträge: 258
Registriert: 13.10.2008 00:25
Kontaktdaten:

Re: Wegen anderem style geht der mod nicht?

Beitrag von croxxx69 »

ok, dank dir/euch! hat eigentlich geklappt... doch... naja... also der popup blocker ist da schon ein doofes ding... hat ja jeder an und dann ist leider diese nachricht auch nicht so der renner... kann man wenigstens wo 1 nachricht steht die schrift vergrössern? oder irgendwie etwas sichtlicher machen? vielleicht mit einer anderen farbe? weil irgendwie finde ich das man neue nachrichten nicht gleich sieht wenn man damit nicht rechnet... findet ihr nicht?

und git es vielleicht dazu noch eine lösung:

"und noch eine frage, gibt es eine anleitung wie man das auch für die option "Mich benachrichtigen, sobald eine Antwort geschrieben wurde" einstellen kann? also das automatisch die user eine benachrichtigung (mail) bekommen wenn ein neuer post, wo man was geschriebn hat, geschrieben wird?"
Antworten

Zurück zu „[3.0.x] Mod Support“