Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /var/www/mybb-es.com/html/inc/class_language.php on line 201
Ayuda Editar esta plantilla
Páginas (3): 1 2 3   
FaustO_mybb_import8300   21 Jun, 2011, 2:52 pm
#1

Creo que tengo q editar la plantilla forumbit_depth2_forum

Lo que quiero hacer es algo parecido a esto

[Imagen: aa-59349.JPG]

ASi como dice la img , quitar las barras separadas y darle un mejor aspecto a mensajes y temas.


mi plantilla esta asi


Código PHP:
<?php 
<tr>



<
td class="{$bgcolor}" align="center" valign="top"
width="1"><img
src
="images/ficons/icon_{$forum['fid']}.png" widith="45"
height="45" title="{$forum['name']}"/></td><td
class="{$bgcolor}" valign="top">

<
strong><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif"
alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}"
class="ajax_mark_read" id="mark_read_{$forum['fid']}" /><a
href
="{$forum_url}"> {$forum['name']}</a></strong>{$forum_viewers_text}<div

class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>

</
td>

<
td class="{$bgcolor}" valign="top" align="center"
style="white-space:
nowrap"
>{$threads}{$unapproved['unapproved_threads']}</td>

<
td class="{$bgcolor}" valign="top" align="center"
style="white-space:
nowrap"
>{$posts}{$unapproved['unapproved_posts']}</td>

<
td class="{$bgcolor}" valign="top" align="left" style="white-space: nowrap">{$lastpost}</td>

</
tr>
nentab   21 Jun, 2011, 3:01 pm
#2
No es ahí, es en esta: forumbit_depth1_cat

Donde ponga:

Código:
cellspacing="{$theme['borderwidth']}"

Pones:

Código:
cellspacing="0"
FaustO_mybb_import8300   21 Jun, 2011, 3:11 pm
#3
lo hise y funciono pero luego trate de probarlo en el skin " nesil " y no se quitan O.o

y esta asi la cosa


Código PHP:
<?php 
<table border="0" cellspacing="0" cellpadding="{$theme['tablespace']}" class="tborder">
<
thead>
<
tr>
<
td class="thead" colspan="5">
<
div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<
div><strong><a href="{$forum_url}">{$forum['name']}</a></strong><br /><div class="smalltext">{$forum['description']}</div></div>
</
td>
</
tr>
</
thead>
<
tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<
tr>
<
td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<
td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<
td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<
td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</
tr>
{
$sub_forums}
</
tbody>
</
table>
<
br />
nentab   21 Jun, 2011, 4:27 pm
#4
Pero en qué theme quieres hacerlo? Activa el theme que quieras usar en tu foro, y trato de ver cómo se haría. Smile
FaustO_mybb_import8300   21 Jun, 2011, 4:53 pm
#5
dije q en el nesil D:
mira casi lo logro e.e


[Imagen: aaa2-60038.JPG]

asi me sale en el nesil y el fondo no se xq no sale y eso q subi la img de fondo :/

mi forumbit_depth1_cat esta asi

Código PHP:
<?php 
<table border="0" cellspacing="0" cellpadding="{$theme['tablespace']}" class="tborder">
<
thead>
<
tr>
<
td class="thead" colspan="5">
<
div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<
div><strong><a href="{$forum_url}">{$forum['name']}</a></strong><br /><div class="smalltext">{$forum['description']}</div></div>
</
td>
</
tr>
</
thead>
<
tr>
<
td class="tcat" colspan="4"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<
td class="tcat" width="90" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</
tr>
<
tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
{
$sub_forums}
</
tbody>
</
table>
<
br />


Última modificación: 21 Jun, 2011, 4:59 pm por .::PirataOnline::..
nentab   22 Jun, 2011, 3:43 am
#6
Pero en esa imagen ya no salen las barras. No es así como lo quieres?
FaustO_mybb_import8300   22 Jun, 2011, 6:58 am
#7
Si pero sale todo blanco y asi se ve feo quiero un fondo o algo parecido como el de libelux que tiene una sombra
nentab   22 Jun, 2011, 10:50 am
#8
Para eso tienes que editar el global.css. Cambias el .trow1 y el .trow2 por esto:

Código:
.trow1 {
    background: #fff url(images/CARPETA DE IMAGENES/trow_shadow.png) bottom left repeat-x;
}

.trow2 {
    background: #fff url(images/CARPETA DE IMAGENES/trow_shadow.png) bottom left repeat-x;
}

Y añades esta imagen dentro de tu carpeta de imágenes:

[attachment=1993]
FaustO_mybb_import8300   22 Jun, 2011, 11:15 am
#9
lo hise y subi la imagen y todo y modifique la ruta y nada D:

lo tengo asi


Código PHP:
<?php 
/***************************************
Nesil 1.0
soniquake - huseyinemanet.com - hsynemanet@gmail.com
09 Aralik 2010 Persembe
ie7, ie8, ff, opera, chrome, safari
***************************************/

body {
background: #d0d1c9 url(images/nesil/arkaplan.jpg) repeat;
color: #333;
font-family: Tahoma, Verdana, Arial, Sans-Serif;
font-size: 13px;
text-align: center;
line-height: 1.6;
margin: 0 0 25px 0;
}

a:link, a:visited {
color: #1359AE;
text-decoration: none;
outline: 0;
}

a:hover, a:active {
color: #C62222;
text-decoration: underline;
outline: 0;
}

#container {
background: #fff;
width: 950px;
color: #333;
border: 1px solid #5d5d5d;
border-top: 0;
margin: 0 auto;
text-align: left;
}

#content {
width: auto !important;
padding: 15px 20px;
}

#panel {
background: #efefef;
color: #000;
font-size: 11px;
border: 1px solid #D4D4D4;
padding: 8px;
}

table {
color: #333;
font-family: Tahoma, Verdana, Arial, Sans-Serif;
font-size: 12px;
line-height: 1.6;
background: #182846 url(images/nesil/golge.png) repeat-x scroll left top;
}

.
tborder {
background: #fff;
width: 100%;
margin: 0 auto;
border: 1px solid #C0C0C0;
-moz-border-radius: 6px;
-
webkit-border-radius: 6px;
}

acronym, abbr {
cursor: help;
border-bottom: 1px dashed #555;
}

.
thead {
background: #182846 url(images/nesil/tablo.gif) repeat-x scroll left top;
color: #fff;
border-bottom: 1px solid #bebebe;
padding: 7px 15px;
-
moz-border-radius-topleft: 6px;
-
moz-border-radius-topright: 6px;
-
webkit-border-top-left-radius: 6px;
-
webkit-border-top-right-radius: 6px;
font-weight: bold;
}

.
thead a:link, .thead a:visited {
color: #fff;
text-decoration: none;
}

.
thead a:hover, .thead a:active {
color: #fff;
text-decoration: underline;
}

.
tcat {
background: #eaeaea url(images/nesil/alt_tablo.png) top left repeat-x;
color: #666;
border-bottom: 1px solid #bebebe;
font-size: 11px;
padding: 5px 8px;
text-shadow: 1px 1px 0 #fff;
}

.
tcat a:link, .tcat a:visited, .tcat a:hover, .tcat a:active {
color: #333;
}
.
trow1 {
background: #fff url(images/gamerzweb/trow_shadow.png) bottom left repeat-x;
}

.
trow2 {
background: #fff url(images/gamerzweb/trow_shadow.png) bottom left repeat-x;

}

.
trow_shaded {
background: #ffdde0;
}

.
trow_selected td {
background: #FFFBD9;
border-bottom: 1px solid #F7E86A;
}

.
trow_sep {
background: #f5f5f5 url(images/nesil/alt_tablo.png) top left repeat-x;
color: #333;
border-bottom: 1px solid #bebebe;
font-size: 12px;
font-weight: bold;
}

.
tfoot {
background: #182846 url(images/nesil/tablo.gif) repeat-x scroll left top;
color: #fff;
padding: 7px 15px;
border-top: 1px solid #bebebe;
-moz-border-radius-bottomleft: 6px;
-
moz-border-radius-bottomright: 6px;
-
webkit-border-bottom-left-radius: 6px;
-
webkit-border-bottom-right-radius: 6px;
}

.
tfoot a:link, .tfoot a:visited {
color: #fff;
text-decoration: none;
}

.
tfoot a:hover, .tfoot a:active {
color: #fff;
text-decoration: underline;
}

.
bottommenu {
background: #f5f5f5 url(images/nesil/alt_tablo.png) top left repeat-x;
color: #333;
border-top: 1px solid #bebebe;
padding: 6px;
}

.
bottommenu div span.smalltext a {
background-repeat: no-repeat;
background-position: left;
padding: 0 0 0 15px;
margin-right: 15px;
text-decoration: none;
}

.
iletisim {background-image: url(images/nesil/ikon/iletisim.png);}
.
anasayfa {background-image: url(images/nesil/ikon/anasayfa.png);}
.
yukari {background-image: url(images/nesil/ikon/yukari.png);}
.
arsiv {background-image: url(images/nesil/ikon/arsiv.png);}
.
rss {background-image: url(images/nesil/ikon/rss.png);}

.
navigation {
color: #333;
font-size: 11px;
font-weight: bold;
}

.
navigation a:link, .navigation a:visited {
text-decoration: none;
}

.
navigation a:hover, .navigation a:active {
text-decoration: none;
}

.
navigation .active {
color: #333;
font-size: 11px;
font-weight: bold;
}

.
smalltext {
font-size: 11px;
}

.
largetext {
font-size: 16px;
font-weight: bold;
}

textarea {
background: #fff url(images/nesil/metinalani.gif) repeat-x scroll left top;
border: 1px solid gray;
padding: 0;
line-height: 1.4;
font-family: Verdana, Arial, Sans-Serif;
font-size: 13px;
}

select {
background: #fff;
border: 1px solid gray;
}

input.textbox {
background: #fff url(images/nesil/metinalani.gif) repeat-x scroll left top;
border: 1px solid gray;
padding: 2px;
font-family: Verdana, Arial, Sans-Serif;
}

.
editor {
background: #f1f1f1;
border: 1px solid #ccc;
}

.
editor_control_bar {
background: #fff;
border: 1px solid #0f5c8e;
}

.
autocomplete {
background: #fff;
border: 1px solid #000;
color: black;
}

.
autocomplete_selected {
background: #adcee7;
color: #333;
}

.
popup_menu .popup_item_container {
margin: 1px;
text-align: left;
}

.
popup_menu .popup_item {
background: #fff;
display: block;
text-decoration: none;
white-space: nowrap;
border: 1px solid #ccc;
outline: 1px solid #f5f5f5;
padding: 3px 13px;
}

.
popup_menu a.popup_item:hover {
background: #1192d5;
color: #fff;
text-decoration: none;
}

.
trow_reputation_positive {
background: #ccffcc;
}

.
trow_reputation_negative {
background: #ffcccc;
}

.
reputation_positive {
color: green;
}

.
reputation_neutral {
color: #444;
}

.
reputation_negative {
color: red;
}

.
invalid_field {
border: 1px solid #f30;
color: #f30;
}

.
valid_field {
border: 1px solid #0c0;
}

.
validation_error {
background: url(images/invalid.gif) no-repeat center left;
color: #f30;
margin: 5px 0;
padding: 5px;
font-weight: bold;
font-size: 11px;
padding-left: 22px;
}

.
validation_success {
background: url(images/valid.gif) no-repeat center left;
color: #00b200;
margin: 5px 0;
padding: 5px;
font-weight: bold;
font-size: 11px;
padding-left: 22px;
}

.
validation_loading {
background: url(images/spinner.gif) no-repeat center left;
color: #555;
margin: 5px 0;
padding: 5px;
font-weight: bold;
font-size: 11px;
padding-left: 22px;
}

/* Additional CSS (Master) */
img {
border: none;
vertical-align: middle;
}

.
clear {
clear: both;
}

.
hidden {
display: none;
float: none;
width: 1%;
}

.
hiddenrow {
display: none;
}

.
selectall {
background-color: #FFFBD9;
font-weight: bold;
text-align: center;
}

.
float_left {
float: left;
}

.
float_right {
float: right;
}

.
expcolimage {
float: right;
width: auto;
vertical-align: middle;
margin-top: 3px;
}

img.attachment {
border: 1px solid #E9E5D7;
padding: 2px;
}

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

#copyright {
background: #182846 url(images/nesil/tablo.gif) repeat-x scroll left top;
color: #fff;
margin: 0;
padding: 6px;
border-top: 1px solid #003366;
}

#copyright a {
color: #fff;
font-weight: bold;
}

#debug {
float: right;
text-align: right;
margin-top: 0;
}

blockquote {
background: #fafcfe;
margin: 0;
padding: 4px;
border-left: 4px solid #8394B2;
border-top: 1px dotted #333;
border-right: 1px dotted #333;
border-bottom: 1px dotted #333;
}

blockquote cite {
background: #fafcfe url(images/nesil/alinti.gif) no-repeat right center;
display: block;
padding: 3px;
font-style: normal;
font-weight: bold;
}

blockquote cite span {
float: right;
font-weight: normal;
}

.
codeblock {
background: #fafcfe;
margin: 0 auto;
}

.
codeblock .title {
background: #fddbcc url(images/nesil/kod.gif) no-repeat right;
border-bottom: 1px solid #ccc;
padding: 3px;
margin: 0 auto;
font-weight: bold;
}

.
codeblock code {
color: #465584;
overflow: auto;
height: auto;
max-height: 200px;
display: block;
padding: 4px;
border: 1px dotted #999;
font-family: Monaco, Consolas, Courier, Monospace;
font-size: 13px;
}

.
subforumicon {
border: 0;
vertical-align: middle;
}

.
separator {
margin: 5px;
padding: 0;
height: 0px;
font-size: 1px;
list-
style-type: none;
}

form {
margin: 0;
padding: 0;
}

.
popup_menu .popup_item_container {
margin: 1px;
text-align: left;
}

.
popup_menu .popup_item {
display: block;
text-decoration: none;
white-space: nowrap;
}

.
popup_menu a.popup_item:hover {
text-decoration: none;
}

.
autocomplete {
text-align: left;
}

.
subject_new {
font-weight: bold;
}

.
highlight {
background: #FFFFCC;
padding-top: 3px;
padding-bottom: 3px;
}

.
pm_alert {
background: #FFF6BF;
border: 1px solid #FFD324;
text-align: center;
padding: 5px 20px;
margin-bottom: 15px;
font-size: 11px;
}

.
red_alert {
background: #FBE3E4;
border: 1px solid #A5161A;
color: #A5161A;
text-align: center;
padding: 5px 20px;
margin-bottom: 15px;
font-size: 11px;
}

.
high_warning {
color: #CC0000;
}

.
moderate_warning {
color: #F3611B;
}

.
low_warning {
color: #AE5700;
}

div.error {
padding: 5px 10px;
border-top: 2px solid #FFD324;
border-bottom: 2px solid #FFD324;
background: #FFF6BF;
font-size: 12px;
}

div.error p {
margin: 0;
color: #000;
font-weight: normal;
}

div.error p em {
font-style: normal;
font-weight: bold;
padding-left: 24px;
display: block;
color: #C00;
background: url(images/error.gif) no-repeat 0;
}

div.error.ul {
margin-left: 24px;
}

.
online {
color: #15A018;
}

.
offline {
color: #C7C7C7;
}

.
pagination {
font-size: 11px;
padding-top: 10px;
margin-bottom: 10px;
}

.
tfoot .pagination, .tcat .pagination {
padding-top: 0;
}

.
pagination .pages {
font-weight: bold;
}

.
pagination .pagination_current, .pagination a {
background: #eaeaea url(images/nesil/alt_tablo.png) center left repeat-x;
padding: 3px 8px;
margin-bottom: 3px;
}

.
pagination a {
border: 1px solid #bbb;
text-shadow: 1px 1px 0 #fff;
}

.
pagination .pagination_current {
background: #182846 url(images/nesil/tablo.gif) repeat-x left top;
border: 1px solid #101b31;
color: #fff;
text-decoration: none;
font-weight: bold;
}

.
pagination a:hover, .pagination a:active {
background: #182846 url(images/nesil/tablo.gif) repeat-x left top;
border: 1px solid #101b31;
color: #fff;
text-decoration: none;
text-shadow: 1px 1px 0 #444;
}

.
thread_legend, .thread_legend dd {
margin: 0;
padding: 0;
}

.
thread_legend dd {
padding-bottom: 4px;
margin-right: 15px;
}

.
thread_legend img {
margin-right: 4px;
vertical-align: bottom;
}

.
forum_legend, .forum_legend dt, .forum_legend dd {
margin: 0;
padding: 0;
}

.
forum_legend dd {
float: left;
margin-right: 10px;
}

.
forum_legend dt {
margin-right: 10px;
float: left;
}

.
success_message {
color: #00b200;
font-weight: bold;
font-size: 10px;
margin-bottom: 10px;
}

.
error_message {
color: #C00;
font-weight: bold;
font-size: 10px;
margin-bottom: 10px;
}

.
post_body {
padding: 5px;
text-align: justify;
}

.
post_content {
padding: 5px 10px;
}

.
quick_jump {
background: url(images/jump.gif) no-repeat 0;
width: 13px;
height: 13px;
padding-left: 13px;
vertical-align: middle;
border: none;
}

.
repbox {
font-size:16px;
font-weight: bold;
padding:5px 7px 5px 7px;
}

.
_neutral {
background-color:#FAFAFA;
color: #999999;
border:1px solid #CCCCCC;
}

.
_minus {
background-color: #FDD2D1;
color: #CB0200;
border:1px solid #980201;
}

.
_plus {
background-color:#E8FCDC;
color: #008800;
border:1px solid #008800;
}

.
pagination_breadcrumb {
background-color: #f5f5f5;
border: 1px solid #fff;
outline: 1px solid #ccc;
padding: 5px;
margin-top: 5px;
font-weight: normal;
}

.
pagination_breadcrumb_link {
vertical-align: middle;
cursor: pointer;
}

.
logo {
height: 125px;
position: relative;
border-bottom: 1px solid #194a6c;
}

.
logo a {
background: url(images/nesil/logo.png) top left repeat-x;
height: 125px;
width: 950px;
display: block;
text-indent: -9999px;
}

.
lower_panel a.login {
background: url(images/nesil/ikon/giris.png) no-repeat;
padding-left: 20px;
margin-right: 15px;
margin-left: 15px;
}

.
lower_panel a.register {
background: url(images/nesil/ikon/kayitol.png) no-repeat;
padding-left: 20px;
margin-right: 15px;
}

.
lower_panel a.admincp {
background: url(images/nesil/ikon/adminkp.png) no-repeat;
padding-left: 20px;
}

.
lower_panel a.modcp {
background: url(images/nesil/ikon/modkp.png) no-repeat;
padding-left: 20px;
}

.
lower_panel a.usercp {
background: url(images/nesil/ikon/kullanicikp.png) no-repeat;
padding-left: 20px;
}

.
lower_panel {
background: #eaeaea url(images/nesil/alt_tablo.png) top left repeat-x;
color: #000;
border-bottom: 1px solid #bebebe;
padding: 6px;
font-family: Tahoma, Verdana, Arial, Sans-Serif;
}

.
lower_panel a {
color: #626262;
margin-right: 15px;
text-shadow: 1px 1px 0 #fff;
}

.
lower_panel a:hover, .lower_panel a:active {
color: #333;
text-decoration: none;
}

.
upper_panel {
background: #eaeaea url(images/nesil/alt_tablo.png) top left repeat-x;
color: #333;
border-bottom: 1px solid #bebebe;
padding: 6px;
font-family: Tahoma, Verdana, Arial, Sans-Serif;
}

.
upper_panel a {
padding-left: 20px;
margin-right: 15px;
text-shadow: 1px 1px 0 #fff;
font-weight: bold;
}

.
upper_panel a.logout {
background: url(images/nesil/ikon/logout.gif) no-repeat right;
padding-right: 20px;
margin-left: 0;
padding-left: 0;
margin-right: 0;
}

#golge {
background: url(images/nesil/golge.png) repeat-y;
width: 986px;
position: relative;
margin: 0 auto;
height: auto;
}

#golge_alt {
background: url(images/nesil/golge_alt.png) no-repeat;
height: 18px;
width: 986px;
margin: 0 auto;
}

.
alt_forumlar {
list-
style: none;
margin: 0;
padding: 0;
}

.
alt_forumlar li {
width: 33%;
float: left;
line-height: 20px;
}

#menu {
background: url(images/nesil/menu_bg_baslar.png) no-repeat;
position: absolute;
top: 92px;
right: 18px;
padding-left: 41px;
font-family: Tahoma, 'Trebuchet MS', Arial, sans-serif;
}

#menu ul {
background: #016db0 url(images/nesil/menu_bg.png) repeat-x;
list-style: none;
margin: 0;
padding: 0;
height: 34px;
}

#menu li {
float: left;
margin-top: 4px;
margin-right: 10px;
}

#menu li a {
color: #fff;
padding: 4px 10px 1px;
text-decoration: none;
display: block;
border-bottom: 0;
}

#menu li a:hover {
color: #fff;
border-bottom: 2px solid #fff;
text-decoration: none;
}

#menu li.active a, #menu li.active a:hover {
background: url(images/nesil/menu_bg_aktif.png) no-repeat top left;
color: #333;
padding: 4px 10px 4px 13px;
border-bottom: 2px solid #fff;
}

#menu li.active {
background: url(images/nesil/menu_bg_aktif2.png) no-repeat top right;
padding-right: 4px;
position: relative;
bottom: -2px;
}

.
yazar a:link, .yazar a:visited, .yazar a:hover, .yazar a:active {
color: #333;
text-decoration: none;
}

form#lang_select {
margin-top: -4px;
}

.
author {
background: url(images/nesil/nav_bit.gif) no-repeat center left;
padding-left: 20px;
}

.
remember_me input {
vertical-align: sub;
}

.
messageEditor .toolbar_button {
cursor: pointer;
}

.
post_avatar img {
background: #fff;
border: 1px solid #ddd;
padding: 1px;
}

.
button {
cursor: pointer;
}
nentab   22 Jun, 2011, 11:33 am
#10
No tienes ese theme puesto... Así no podemos ver qué pasa.
Páginas (3): 1 2 3   
  
Powered By MyBB, © 2002-2024 MyBB Group.
Made with by Curves UI.