subred dla shoutbox

Dyskusje na temat stylowania phpBB 2.0.x.
Savoj
Posty: 9
Rejestracja: 27 grudnia 2007, 21:52
Kontakt:

subred dla shoutbox

Post autor: Savoj » 14 stycznia 2008, 21:17

Jak zrobic w shoutboxie styl subered. Uzywam subrded i chce go miec w shoutbox. Jak to zrobic ?
[:< 666 >:]

Awatar użytkownika
daroPL
Zasłużony
Posty: 4564
Rejestracja: 24 czerwca 2005, 13:36
Lokalizacja: Poznań
Kontakt:

Re: subred dla shoutbox

Post autor: daroPL » 14 stycznia 2008, 22:51

W plikach .tpl shoutboxa musisz pozmieniać "subSilver" na nazwę twojego stylu.

Savoj
Posty: 9
Rejestracja: 27 grudnia 2007, 21:52
Kontakt:

Re: subred dla shoutbox

Post autor: Savoj » 15 stycznia 2008, 16:20

tak oczywiscie! kazdy zawsze tak pisze i nikt nie umie mi pomoc. wiem ze teraz oczywscie sie nikt nie odezwie bo jak to! ale przypominam ze NIE da sie zastosowac shoutboxa w subred. Ddlatego pytam sie czy nie ma innego wyjsca. http://www.savoj.yoyo.pl
[:< 666 >:]

Awatar użytkownika
daroPL
Zasłużony
Posty: 4564
Rejestracja: 24 czerwca 2005, 13:36
Lokalizacja: Poznań
Kontakt:

Re: subred dla shoutbox

Post autor: daroPL » 15 stycznia 2008, 18:23

Może najpierw włączysz ten styl na forum, żeby było można się rozejrzeć?

Savoj
Posty: 9
Rejestracja: 27 grudnia 2007, 21:52
Kontakt:

Re: subred dla shoutbox

Post autor: Savoj » 15 stycznia 2008, 19:50

Przepraszac! ustwilem styl
[:< 666 >:]

Awatar użytkownika
daroPL
Zasłużony
Posty: 4564
Rejestracja: 24 czerwca 2005, 13:36
Lokalizacja: Poznań
Kontakt:

Re: subred dla shoutbox

Post autor: daroPL » 15 stycznia 2008, 21:39

W pliku templates/subRed/subRed.css usuń całą zawartość i wklej to:

Kod: Zaznacz cały

/*
  The subRed Theme for phpBB version 2+
  Created by Karl Tauber
  http://www.ktauber.com

  Based on the original subSilver Theme for phpBB version 2+
  Created by subBlue design
  http://www.subBlue.com
*/

/* General page style. The scroll bar colours only visible in IE5.5+ */
body {
	background-color: #fffcfc;
	scrollbar-face-color: #f7eeee;
	scrollbar-highlight-color: #FFFFFF;
	scrollbar-shadow-color: #f7eeee;
	scrollbar-3dlight-color: #F5E9E9;
	scrollbar-arrow-color:  #800000;
	scrollbar-track-color: #fbf5f5;
	scrollbar-darkshadow-color: #cc9999;
}

/* General font families for common tags */
font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif }
a:link,a:active,a:visited { color : #800000; }
a:hover		{ text-decoration: underline; color : #DD6900; }
hr	{ height: 0px; border: solid #F5E9E9 0px; border-top-width: 1px;}

/* This is the border line & background colour round the entire page */
.bodyline	{ background-color: #FFFFFF; border: 1px #cc9999 solid; }

/* This is the outline round the main forum tables */
.forumline	{ background-color: #FFFFFF; border: 2px #BC8F8F solid; }

/* Main table cell colours and backgrounds */
td.row1	{ background-color: #fbf5f5; }
td.row2	{ background-color: #f7eeee; }
td.row3	{ background-color: #F5E9E9; }

/*
  This is for the table cell above the Topics, Post & Last posts on the index.php page
  By default this is the fading out gradiated silver background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
		background-color: #FFFFFF;
		background-image: url(images/subRed/cellpic2.jpg);
		background-repeat: repeat-y;
}

/* Header cells - the blue and silver gradient backgrounds */
th	{
	color: #FFB572; font-size: 11px; font-weight : bold;
	background-color: #800000; height: 25px;
	background-image: url(images/subRed/cellpic3.gif);
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
			background-image: url(images/subRed/cellpic1.gif);
			background-color:#F5E9E9; border: #FFFFFF; border-style: solid; height: 28px;
}

/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
	height: 29px;
	border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
	font-weight: bold; border: #FFFFFF; border-style: solid; height: 28px;
}
td.row3Right,td.spaceRow {
	background-color: #F5E9E9; border: #FFFFFF; border-style: solid;
}

th.thHead,td.catHead { font-size: 12px; border-width: 1px 1px 0px 1px; }
th.thSides,td.catSides,td.spaceRow	 { border-width: 0px 1px 0px 1px; }
th.thRight,td.catRight,td.row3Right	 { border-width: 0px 1px 0px 0px; }
th.thLeft,td.catLeft	  { border-width: 0px 0px 0px 1px; }
th.thBottom,td.catBottom  { border-width: 0px 1px 1px 1px; }
th.thTop	 { border-width: 1px 0px 0px 0px; }
th.thCornerL { border-width: 1px 0px 0px 1px; }
th.thCornerR { border-width: 1px 1px 0px 0px; }

/* The largest text used in the index page title and toptic title etc. */
.maintitle	{
	font-weight: bold; font-size: 22px; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif;
	text-decoration: none; line-height : 120%; color : #000000;
}

/* General text */
.gen { font-size : 12px; }
.genmed { font-size : 11px; }
.gensmall { font-size : 10px; }
.gen,.genmed,.gensmall { color : #000000; }
a.gen,a.genmed,a.gensmall { color: #800000; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover	{ color: #DD6900; text-decoration: underline; }

/* The register, login, search etc links at the top of the page */
.mainmenu		{ font-size : 11px; color : #000000 }
a.mainmenu		{ text-decoration: none; color : #800000;  }
a.mainmenu:hover{ text-decoration: underline; color : #DD6900; }

/* Forum category titles */
.cattitle		{ font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #800000}
a.cattitle		{ text-decoration: none; color : #800000; }
a.cattitle:hover{ text-decoration: underline; }

/* Forum title: Text and link to the forums used in: index.php */
.forumlink		{ font-weight: bold; font-size: 12px; color : #800000; }
a.forumlink 	{ text-decoration: none; color : #800000; }
a.forumlink:hover{ text-decoration: underline; color : #DD6900; }

/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav			{ font-weight: bold; font-size: 11px; color : #000000;}
a.nav			{ text-decoration: none; color : #800000; }
a.nav:hover		{ text-decoration: underline; }

/* titles for the topics: could specify viewed link colour too */
.topictitle,h1,h2	{ font-weight: bold; font-size: 11px; color : #000000; }
a.topictitle:link   { text-decoration: none; color : #800000; }
a.topictitle:visited { text-decoration: none; color : #b00000; }
a.topictitle:hover	{ text-decoration: underline; color : #DD6900; }

/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name			{ font-size : 11px; color : #000000;}

/* Location, number of posts, post date etc */
.postdetails		{ font-size : 10px; color : #000000; }

/* The content of the posts (body of text) */
.postbody { font-size : 12px; line-height: 18px}
a.postlink:link	{ text-decoration: none; color : #800000 }
a.postlink:visited { text-decoration: none; color : #b00000; }
a.postlink:hover { text-decoration: underline; color : #DD6900}

/* Quote & Code blocks */
.code {
	font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #800000;
	background-color: #FAFAFA; border: #F5E9E9; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
	font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%;
	background-color: #FAFAFA; border: #F5E9E9; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

/* Copyright and bottom info */
.copyright		{ font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;}
a.copyright		{ color: #444444; text-decoration: none;}
a.copyright:hover { color: #000000; text-decoration: underline;}

/* Form elements */
input,textarea, select {
	color : #000000;
	font: normal 11px Verdana, Arial, Helvetica, sans-serif;
	border-color : #000000;
}

/* The text input fields background colour */
input.post, textarea.post, select {
	background-color : #FFFFFF;
}

input { text-indent : 2px; }

/* The buttons used for bbCode styling in message post */
input.button {
	background-color : #fbf5f5;
	color : #000000;
	font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif;
}

/* The main submit button option */
input.mainoption {
	background-color : #FAFAFA;
	font-weight : bold;
}

/* None-bold submit button */
input.liteoption {
	background-color : #FAFAFA;
	font-weight : normal;
}

/* This is the line in the posting page which shows the rollover
  help line. This is actually a text box, but if set to be the same
  colour as the background no one will know ;)
*/
.helpline { background-color: #f7eeee; border-style: none; }

/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("formIE.css");
i musi być OK :).

Savoj
Posty: 9
Rejestracja: 27 grudnia 2007, 21:52
Kontakt:

Re: subred dla shoutbox

Post autor: Savoj » 21 stycznia 2008, 13:25

??? !!!! ???
OMG, daro jak to zrobiles? :shock:
GRATULACJE! Piekna robota, wszystko piknie hula!
Jak moge się odwdzieczyc? Chcialbym stawic piwo :lol:

Moge zapytac, jak to zrobiles ?
[:< 666 >:]

Awatar użytkownika
daroPL
Zasłużony
Posty: 4564
Rejestracja: 24 czerwca 2005, 13:36
Lokalizacja: Poznań
Kontakt:

Re: subred dla shoutbox

Post autor: daroPL » 21 stycznia 2008, 13:58

Po prostu ten styl domyślnie ma plik .css z subSilvera, a wszystkie kolory itd. są zapisane w bazie, a shoutbox nie pobiera danych stylu z bazy tylko z pliku .css. Przy generowaniu forum w źródle strony widać podstawione wartości z bazy, po prostu skopiowałem to.

Zablokowany

Wróć do „Style”