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
Problema con el buscador - como quitarlo ???
Silver   27 Sep, 2009, 8:08 am
#1
bueno solo que me sale un buscador rapido:
[Imagen: 2j2cnid.jpg]
como quitarlo???

aca la plantila del header:
Código PHP:
<?php 
<center><div id="logo"></center><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
<
div id="submenu"><div id="submenu_left"><strong><a href="{$mybb->settings['bburl']}/portal.php">Portal</a><a href="{$mybb->settings['bburl']}/index.php">Foro</a><a href="{$mybb->settings['bburl']}/myawards.php">Medallas</a><a href="{$mybb->settings['bburl']}/games.php">S-Juegos</a></strong></div><div id="submenu_right"><strong><a href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a></div></div>
<
div id="container">
<
a name="top" id="top"></a>
<
div id="header">
<
hr class="hidden" />

</
div>
<
hr class="hidden" />
<
br class="clear" />
<
div id="content">
{
$welcomeblock}

{
$bannedwarning}
{
$bbclosedwarning}
{
$unreadreports}<!-- ProfileComments -->
{
$commentalert}
<
br class="clear" />
y aca la del index:
Código PHP:
<?php 
<html>
<
head>
<
title>{$mybb->settings['bbname']}</title>
{
$headerinclude}
<
style type="text/css">
.
newsbar {
background: #D6ECA6;
border-top: 2px solid #8DC93E;
border-bottom: 2px solid #8DC93E;
text-align: center;
margin: 10px auto;
padding: 5px 20px;
font-weight: bold;
color: #080808;
}
</
style>

<
script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</
head>
<
body>
{
$header}
{
$forums}
{
$boardstats}
{
$sotw}

<
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<
tr>
<
td class="trow3" align="center" valign="middle"><img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" /></td>
<
td class="trow1" align="center" valign="middle"> <span class="smalltext">{$lang->new_posts}</span></td>
<
td class="trow3" align="center" valign="middle"><img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" /></td>
<
td class="trow1" align="center" valign="middle"><span class="smalltext">{$lang->no_new_posts}</span><br /></td>
<
td class="trow3" align="center" valign="middle"><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}"/></td>
<
td class="trow1" align="center" valign="middle"><span class="smalltext">{$lang->forum_locked}</span></td>
</
tr>
</
table>
<
br style="clear: both" />
{
$easyaff} {$footer}
</
body>
</
html>

espero su ayuda
Silver   28 Sep, 2009, 3:58 pm
#2
help me!!
Angelbg   28 Sep, 2009, 6:19 pm
#3
Según si vi bien las 2 plantillas, no encontre la parte del botón del buscador y el área de texto. D'x

Pero tengo una pregunta: Este buscador te sigue apareciendo cuando estás logeado como invitado?

Si es así; por favor, muestrame la plantilla header_welcomeblock_guest
Si sólo los usuarios pueden, muestrame la plantilla header_welcomeblock_member

Puede que este allí. Wink
Silver   29 Sep, 2009, 12:13 pm
#4
ok
bueno cuando estoy logeado me aparece
y cuando me desconecto tambien
asique aqui estan las plantillas:

header_welcomeblock_guest:
Código PHP:
<?php 
<table border="0" cellspacing="$theme[borderwidth]" cellpadding="$theme[tablespace]" class="tborder">
<
tr>
<
td class="trow1" width="60%" rowspan="2"><navigation></td>
<
td width="27%" class="trow3" style="font-size:11px">
<
form action="member.php" method="post">
<
input type="hidden" name="action" value="do_login" />
<
table border="0" cellspacing="0" cellpadding="0">
<
tr>
<
td><strong><span class="smalltext">{$lang->username}</span></strong>&nbsp;&nbsp;</td>
<
td><input type="text" class="textbox" name="username" title="{$lang->login_username}" value="{$lang->login_username}" onfocus="this.value=''" />

<
label for="remember">
<
input type="checkbox" name="remember" id="remember" value="yes" checked="checked" />

</
td>
</
tr>
<
tr>
<
td><strong><span class="smalltext">{$lang->password}</span></strong>&nbsp;&nbsp;</td>
<
td><input type="password" class="textbox" name="password" title="{$lang->login_password}" value="{$lang->login_password}" onfocus="this.value=''" />&nbsp;&nbsp;<input type="submit" class="button" name="submit" value="{$lang->welcome_login}" /></td>
</
tr>
</
table>
</
form>
</
td>
</
tr>
</
table>
<
div align="center">
<
table class="tborder" border="0" cellspacing="0" cellpadding="3" align="center" style="border-top-width:0px; font-size:11px">
<
tr align="center" class="trow6">
<
td class="welcome"><a href="{$mybb->settings['bburl']}/member.php?action=register"><b>{$lang->welcome_register}</b></a></td>
<
td class="welcome"><a href="{$mybb->settings['bburl']}/misc.php?action=help"><b>{$lang->toplinks_help}</b></a></td>
<
td class="welcome"><a href="{$mybb->settings['bburl']}/memberlist.php"><b>{$lang->toplinks_memberlist}</b></a></td>
<
td class="welcome"><a href="{$mybb->settings['bburl']}/calendar.php"><b>{$lang->toplinks_calendar}</b></a></td>
<
td class="welcome"><a href="search.php?action=getnew"><b>{$lang->welcome_newposts}</b></a></td>
<
td class="welcome"><a href="{$mybb->settings['bburl']}/search.php?action=getdaily"><b>{$lang->welcome_todaysposts}</b></a></td>
<
td class="welcome"><a href="$settings[bburl]/search.php"><b>{$lang->toplinks_search}</b></a></td>
</
tr>
</
table>
</
div>
<
style type="text/css">

#topbar{
position:absolute;
border: 1px solid white;
padding: 5px;
background-color: black;
width: 387px;
visibility: hidden;
z-index: 400;
}

</
style>

<
script type="text/javascript">
var
persistclose=0 //set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session
var startX = 30 //set x offset of bar in pixels
var startY = 5 //set y offset of bar in pixels
var verticalpos="fromtop" //enter "fromtop" or "frombottom"

function iecompattest(){
return (
document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function
get_cookie(Name) {
var
search = Name + "="
var returnvalue = "";
if (
document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (
offset != -1) {
offset += search.length
end
= document.cookie.indexOf(";", offset);
if (
end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return
returnvalue;
}

function
closebar(){
if (
persistclose)
document.cookie="remainclosed=1"
document.getElementById("topbar").style.visibility="hidden"
}

function
staticbar(){
barheight=document.getElementById("topbar").offsetHeight
var ns = (navigator.appName.indexOf("Netscape") != -1) || window.opera;
var
d = document;
function
ml(id){
var
el=d.getElementById(id);
if (!
persistclose || persistclose && get_cookie("remainclosed")=="")
el.style.visibility="visible"
if(d.layers)el.style=el;
el.sP=function(x,y){this.style.left=x+"px";this.style.top=y+"px";};
el.x = startX;
if (
verticalpos=="fromtop")
el.y = startY;
else{
el.y = ns ? pageYOffset + innerHeight : iecompattest().scrollTop + iecompattest().clientHeight;
el.y -= startY;
}
return
el;
}
window.stayTopLeft=function(){
if (
verticalpos=="fromtop"){
var
pY = ns ? pageYOffset : iecompattest().scrollTop;
ftlObj.y += (pY + startY - ftlObj.y)/8;
}
else{
var
pY = ns ? pageYOffset + innerHeight - barheight: iecompattest().scrollTop + iecompattest().clientHeight - barheight;
ftlObj.y += (pY - startY - ftlObj.y)/8;
}
ftlObj.sP(ftlObj.x, ftlObj.y);
setTimeout("stayTopLeft()", 10);
}
ftlObj = ml("topbar");
stayTopLeft();
}

if (
window.addEventListener)
window.addEventListener("load", staticbar, false)
else if (
window.attachEvent)
window.attachEvent("onload", staticbar)
else if (
document.getElementById)
window.onload=staticbar
else {


}
</
script>

<
div id="topbar">
<
a href="member.php?action=register"><img src="http://silversclan.byethost17.com/myb/images/Registrate.png" border="0" /></a></td>
</
div>

header_welcomeblock_member:
Código PHP:
<?php 
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" align="center">
<
tr>
<
td class="trow1" width="100%"><navigation></td>
<
td class="trow3" nowrap="nowrap" style="padding:6px; font-size:11px">
{
$lang->welcome_back}<br />
{
$lang->welcome_current_time}<br />
<
a href="{$mybb->settings['bburl']}/private.php">{$lang->welcome_pms}</a> {$lang->welcome_pms_usage}<!-- ProfileComments --> | <a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}" title="{$lang->profile_comments}">{$lang->profile_comments_new_inmenu}</a> {$lang->profile_comments_new_inmenu_count}<!-- /ProfileComments -->
</
td>
</
tr>
</
table>
<
div align="center">
<
table class="tborder" border="0" cellspacing="0" cellpadding="3" align="center" style="border-top-width:0px; font-size:11px">
<
tr align="center" class="trow6">
<
td class="welcome"><a href="{$mybb->settings['bburl']}/usercp.php"><b>{$lang->welcome_usercp}</b></a></td>
<
td class="welcome"><a href="{$mybb->settings['bburl']}/modcp.php"><b>{$modcplink}</b></a></td>
<
td class="welcome"><a href="{$mybb->settings['bburl']}/admincp.php"><b>{$admincplink}</b></a></td>
<
td class="welcome"><a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup', 'buddyList', 200, 300);"><b>{$lang->welcome_open_buddy_list}</b></a></td>
<
td class="welcome"><a href="{$mybb->settings['bburl']}/misc.php?action=help"><b>{$lang->toplinks_help}</b></a></td>
<
td class="welcome"><a href="{$mybb->settings['bburl']}/calendar.php"><b>{$lang->toplinks_calendar}</b></a></td>
<
td class="welcome"><a href="search.php?action=getnew"><b>{$lang->welcome_newposts}</b></a></td>
<
td class="welcome"><a href="$settings[bburl]/search.php"><b>{$lang->toplinks_search}</b></a></td>
<
td class="welcome"><a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}"><b>{$lang->welcome_logout}</b></a></td>
</
tr>
</
table>
</
div>

header_welcomeblock_member_admin:
Código PHP:
<?php 
<a href="{$mybb->settings['bburl']}/{$config['admin_dir']}/index.php">{$lang->welcome_admin}<


PD: ESO ME PASO DESOUES DE QUE AGREGE EL TEMA FRESHBLUE
PERO YA LO ELIMINE
Silver   30 Sep, 2009, 5:43 pm
#5
help me!!
Aeroxis   1 Oct, 2009, 6:29 am
#6
Un usuario ya se ha llevado warn por DoblePost!
Tu eres el siguiente.
10% WARN!

No quiero doblepost! Ten paciencia!
Silver   1 Oct, 2009, 11:57 am
#7
(1 Oct, 2009, 6:29 am)Aeroxis escribió: Un usuario ya se ha llevado warn por DoblePost!
Tu eres el siguiente.
10% WARN!

No quiero doblepost! Ten paciencia!

¬________¬
  
Powered By MyBB, © 2002-2024 MyBB Group.
Made with by Curves UI.