Background

Pentru întrebări legate de facilităţile forumului phpBB 2.0.x, acest loc este cel mai potrivit.
Închis
BODY
Utilizator înregistrat
Mesaje: 389
Membru din: 21-Iun-2007, 17:26:13
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu

Background

Mesaj de BODY »

Am mai spuso de cel putin 3 ori si o mai spun si de 1000 de ori daca e nevoie ... Cum fac si yo background ca acesta ? :( www.crusher.ro/forum .. Am facut cu dreamweaver , uitati ce e in index_body.tpl :


<style type="text/css">
<!--
.style1 {font-weight: bold}
body {

background-image: url(images/blue/black.png);
background-repeat: repeat;
background-image: url(images/blue/black.png);
}
.style3 {font-size: 10px}
.style4 {color: #999999}
.style5 {color: #0099FF}
.style12 {color: #999999; font-weight: bold; }
.style14 {color: #0099FF; font-weight: bold; }
.style16 {font-size: 10px; font-weight: bold; }
.style17 {
font-size: 12px;
font-weight: bold;
color: #FF0000;

}
-->
</style>
<table width="100%" cellspacing="0" cellpadding="2" border="0" align="center">
<tr>
<td align="left" valign="bottom"><span class="gensmall">
<!-- BEGIN switch_user_logged_in -->
{LAST_VISIT_DATE}<br />
<!-- END switch_user_logged_in -->
{CURRENT_TIME}<br /></span><span class="nav"><a href="{U_INDEX}" class="nav">{L_INDEX}</a></span></td>
<td align="right" valign="bottom" class="gensmall">
<!-- BEGIN switch_user_logged_in -->
<a href="{U_SEARCH_NEW}" class="gensmall">{L_SEARCH_NEW}</a><br /><a href="{U_SEARCH_SELF}" class="gensmall">{L_SEARCH_SELF}</a><br />
<!-- END switch_user_logged_in -->
<a href="{U_SEARCH_UNANSWERED}" class="gensmall">{L_SEARCH_UNANSWERED}</a></td>
</tr>
<table width="100%" align="center">
<tr>
<td>
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
<th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
<th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
<th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
</tr>
<!-- BEGIN catrow -->
<tr>
<td class="catLeft" colspan="2" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
<td class="rowpic" colspan="3" align="right">&nbsp;</td>
</tr>
<!-- BEGIN forumrow -->
<!-- IF ! forumrow.PARENT -->
<tr>
<td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="52" height="47" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td width="100%" height="50" class="row1"><span class="forumlink"> <span class="style1"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
</span></span> <span class="genmed">{catrow.forumrow.FORUM_DESC}</span><span class="genmed"><br />
<!-- IF catrow.forumrow.MODERATORS --><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}<br /></span><!-- ENDIF -->
<!-- BEGIN sub --><!-- DEFINE $HAS_SUB = 1 --><!-- IF catrow.forumrow.sub.NUM > 0 -->, <!-- ELSE --><span class="genmed">{L_SUBFORUMS}: <!-- ENDIF -->{catrow.forumrow.sub.LAST_POST_SUB} <a href="{catrow.forumrow.sub.U_VIEWFORUM}" <!-- IF catrow.forumrow.sub.UNREAD -->class="topic-new"<!-- ENDIF --> title="{catrow.forumrow.sub.FORUM_DESC_HTML}">{catrow.forumrow.sub.FORUM_NAME}</a><!-- END sub -->
<!-- IF $HAS_SUB --></span><!-- UNDEFINE $HAS_SUB --><!-- ENDIF --> </td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOTAL_TOPICS}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOTAL_POSTS}</span></td>
<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->
<!-- ENDIF -->
<!-- END catrow -->
</table>
</td>
<td valign="top">
<table width="100%" cellpadding="2" align="center" cellspacing="1" border="0">
<tr>
<td valign="top">
{GLANCE_OUTPUT}
</td>
</tr>
</table>
</td>
</tr>
</table>

<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2">
<tr>
<td align="left">
<!-- BEGIN switch_user_logged_in -->
<span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span>
<!-- END switch_user_logged_in -->
</td>
<td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
</tr>
</table>

<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" colspan="2" height="28"><span class="cattitle"><a href="{U_VIEWONLINE}" class="cattitle">{L_WHO_IS_ONLINE}</a></span></td>
</tr>
<tr>
<td class="row1" align="center" valign="middle" rowspan="3"><img src="templates/subBlack/images/{T_BODY_BACKGROUND}/1__icon.gif" alt="{L_WHO_IS_ONLINE}" width="52" height="47" /></td>
<td class="row1" align="left" width="100%"><span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span>
</td>
</tr>
<!-- Start add - Last visit MOD -->
<tr>
<td class="row1" align="left"><span class="gensmall">{L_USERS_TODAY}&nbsp;{L_USERS_LASTHOUR}<br />{USERS_TODAY_LIST}</br></span></td>
</tr>
<!-- Start add - Last visit MOD -->
<tr>
<td class="row1" align="left"><span class="gensmall">{TOTAL_USERS_ONLINE} &nbsp; {COLOR_GROUPS_LIST}<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}</span></td>
</tr>
</table>

<table width="100%" cellpadding="1" cellspacing="1" border="0">
<tr>
<td align="left" valign="top"><span class="gensmall">{L_ONLINE_EXPLAIN}</span></td>
</tr>
</table>

<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="28"><a name="login"></a><span class="cattitle">{L_LOGIN_LOGOUT}</span></td>
</tr>
<tr>
<td class="row1" align="center" valign="middle" height="28"><span class="gensmall">{L_USERNAME}:
<input class="post" type="text" name="username" size="10" />
&nbsp;&nbsp;&nbsp;{L_PASSWORD}:
<input class="post" type="password" name="password" size="10" maxlength="32" />
<!-- BEGIN switch_allow_autologin -->
&nbsp;&nbsp; &nbsp;&nbsp;{L_AUTO_LOGIN}
<input class="text" type="checkbox" name="autologin" />
<!-- END switch_allow_autologin -->
&nbsp;&nbsp;&nbsp;
<input type="submit" class="mainoption" name="login" value="{L_LOGIN}" />
</span> </td>
</tr>
</table>
</form>
<!-- END switch_user_logged_out -->

<br clear="all" />

<table cellspacing="3" border="0" align="center" cellpadding="0">
<tr>
<td width="20" align="center"><img src="templates/subBlack/images/{T_BODY_BACKGROUND}/folder_new_big.gif" alt="{L_NEW_POSTS}" width="52" height="47"/></td>
<td><span class="gensmall">{L_NEW_POSTS}</span></td>
<td>&nbsp;&nbsp;</td>
<td width="20" align="center"><img src="templates/subBlack/images/{T_BODY_BACKGROUND}/folder_big.gif" alt="{L_NO_NEW_POSTS}" width="52" height="47" /></td>
<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
<td>&nbsp;&nbsp;</td>
<td width="20" align="center"><img src="templates/subBlack/images/{T_BODY_BACKGROUND}/folder_locked_big.gif" alt="{L_FORUM_LOCKED}" width="52" height="47" /></td>
<td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
</tr>
</table>

<META HTTP-EQUIV="imagetoolbar" CONTENT="no">
<script language="JavaScript">
function noRightClick() {
if (event.button==2) {
alert('Pai ba Banele baaa .. Tu ma furi pe mine ba ?')
}
}
document.onmousedown=noRightClick
</script>
Avatar utilizator
Stanlyk
Utilizator înregistrat
Mesaje: 118
Membru din: 07-Iul-2007, 18:45:34

Mesaj de Stanlyk »

lol e ft simplu sa faci un bg dala =)) uite aici: www.vl-gaming.evonet.ro/bg.png
BODY
Utilizator înregistrat
Mesaje: 389
Membru din: 21-Iun-2007, 17:26:13
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu

Mesaj de BODY »

Bravo frumosule , poate imi explici si cum sa il fac :/ Ce sa pun in index_body
@ Razer Deathadder, Razer eXactmat + Steelseries Siberia Red Edition # N1

www.darkstrike.ro/forum :">
Avatar utilizator
Stanlyk
Utilizator înregistrat
Mesaje: 118
Membru din: 07-Iul-2007, 18:45:34

Mesaj de Stanlyk »

io aveam tema subBlack si modificam in subBlack.css

Asa arata subBlack.css al meu :)

Cod: Selectaţi tot

 /* General page style. The scroll bar colours only visible in IE5.5+ */
body {
	background-image:url('bg.png');
	bgcolor:#424242;
	color: #FF9900;
	scrollbar-face-color: #212121;
	scrollbar-highlight-color: #404040;
	scrollbar-shadow-color: #000000;
	scrollbar-3dlight-color: #616161;
	scrollbar-arrow-color:  #A1A1A1;
	scrollbar-track-color: #000000;
	scrollbar-darkshadow-color: #000000;
}

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


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

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


/* Main table cell colours and backgrounds */
td.row1	{ background-image:url('bg.png');
	  background-color: #000000; }

td.row2	{ background-color: #212121; 
	  background-image:url('bg.png');}
td.row3	{ background-color: #000000;
	  background-image:url('bg.png');}


/*
  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 black background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
		background-color: #000000;
		background-image: url(images/cellpic2.jpg);
		background-repeat: repeat-y;
}

/* Header cells - the black gradient backgrounds */
th	{
	color: #CC9900; font-size: 12px; font-weight : bold;
	background-color: #000000; height: 25px;
	background-image: url(images/cellpic3.gif);
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
			background-color:#000000; border: #FFCC66; 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: #FFCC66; border-style: solid; height: 25px; }
td.row3Right,td.spaceRow {
	background-color: #000000; border: #FFCC66; border-style: solid; }

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


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


/* General text */
.gen { font-size : 12px; }
.genmed { font-size : 11px; }
.gensmall { font-size : 10px; }
.gen,.genmed,.gensmall { color : #FFFFCC; text-decoration: none; }
a.gen,a.genmed,a.gensmall { color: #FFCC00; text-decoration: none; }
a.gen:visited,a.genmed:visited,a.gensmall:visited	{ color: #FFCC00; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover	{ color: #FFFFCC; text-decoration: none; }


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


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


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


/* 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 : #FFCC00;}
a.nav			{ text-decoration: none; color : #FFCC00; }
a.nav:visited { text-decoration: none; color : #FFCC00; }
a.nav:hover		{ text-decoration: none; color : #FFFFCC; }


/* titles for the topics: could specify viewed link colour too */
.topictitle			{ font-weight: bold; font-size: 11px; color : #CC9900; }
a.topictitle:link   { text-decoration: none; color : #FFFFCC; }
a.topictitle:visited { text-decoration: none; color : #FFFFCC; }
a.topictitle:hover	{ text-decoration: underline; color : #FFFFCC; }


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

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


/* The content of the posts (body of text) */
.postbody { font-size : 12px; color: #FFFFCC;}
a.postlink:link	{ text-decoration: none; color : yellow; }
a.postlink:visited { text-decoration: none; color : #FFCC00; }
a.postlink:hover { text-decoration: none; color : green; }


/* Quote & Code blocks */
.code {
	font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #00CC33;
	background-color: #616161; border: #BFBFBF; 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: #000000; line-height: 125%;
	background-color: #616161; border: #BFBFBF; 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: #FFFFCC; letter-spacing: -1px;}
a.copyright		{ color: #FFCC00; text-decoration: none;}
a.copyright:link   { color : #FFCC00; text-decoration: none;}
a.copyright:visited { color : #FFCC00; text-decoration: none;}
a.copyright:hover { color: #FFFFCC; text-decoration: underline;}


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

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

input { text-indent : 2px; 
	color : #000000; }

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

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

/* None-bold submit button */
input.liteoption {
	background-color : #000000;
	color : #FFFFCC;
	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 { color : #FFFFCC; background-color: #212121; border-style: none; }


/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("formIE.css");
Avatar utilizator
aleCStrike
Utilizator înregistrat
Mesaje: 43
Membru din: 11-Aug-2007, 22:53:46

Mesaj de aleCStrike »

degeaba ! nu merge ... !
BODY
Utilizator înregistrat
Mesaje: 389
Membru din: 21-Iun-2007, 17:26:13
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu

Mesaj de BODY »

aleCStrike are dreptate :| next ?
@ Razer Deathadder, Razer eXactmat + Steelseries Siberia Red Edition # N1

www.darkstrike.ro/forum :">
Avatar utilizator
aleCStrike
Utilizator înregistrat
Mesaje: 43
Membru din: 11-Aug-2007, 22:53:46

Mesaj de aleCStrike »

copie bg.png din linku dat de el si uploadeazal cu smartftp in templates/subblack/ acolo sunt sunt overal_header , footer , etc mi-a explicat pe mess ! :D
BODY
Utilizator înregistrat
Mesaje: 389
Membru din: 21-Iun-2007, 17:26:13
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu

Mesaj de BODY »

Mda .. next ?
@ Razer Deathadder, Razer eXactmat + Steelseries Siberia Red Edition # N1

www.darkstrike.ro/forum :">
Avatar utilizator
Stanlyk
Utilizator înregistrat
Mesaje: 118
Membru din: 07-Iul-2007, 18:45:34

Mesaj de Stanlyk »

frate esti greu de cap:|
Ia bg asta de aici www.vl-gaming.evonet.ro/bg.png si il copiezi in template/subBlack
Iar apoi in subBlck.css stergi totul si il bagi p`ala de lam pus eu ;)
BODY
Utilizator înregistrat
Mesaje: 389
Membru din: 21-Iun-2007, 17:26:13
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu

Mesaj de BODY »

Tot nu merge :|
@ Razer Deathadder, Razer eXactmat + Steelseries Siberia Red Edition # N1

www.darkstrike.ro/forum :">
Închis

Înapoi la “2.0.x Cum pot să...?”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 1 vizitator