(2 Jul, 2011, 6:33 am)Ryuuseiken escribió: Necesito unas cuantas ayudas más, hare un video y las traigo .
-----
Video
1.- Comentarios.
3.-Pestañas ( cuando hago muchos click se sombrea con firefox y chrome)
3.- Últimas Visitas.
4.- Amigos.
5.-Firma
No es que me quiera copiar todo del foro, solo que es algo que me disgusta un poco y quisiera yo también luego aprender a hacerlo solo, pero por ahora necesito ayuda.
<form id="newcomment" name="newcomment" action="member.php?action=profile&uid={$uid}&op=send" method="post">
<tr>
<td colspan="2" style="text-align: left;" class="trow2">
<div id="replyingto" class="pm_alert2" style="display: none;"></div>
<p align="center">
<textarea name="message" id="message" rows="5" cols="70" tabindex="2"></textarea>
</p>
<p align="center">
<input type="hidden" name="reply_to_profile" id="reply_to_profile" value="default" />
<input type="submit" class="button" value="{$lang->profile_comments_add_button}" />
</p>
{$editor}
<style type="text/css">.pm_alert2 {background: #FFF6BF; border: 1px solid #FFD324; text-align: center; padding: 5px 20px; margin-bottom: 15px; font-size: 11px;}</style>
<script type="text/javascript">
Event.observe(window, 'load', function() {
var editorloaded = {$editor_active};
$$("a.reply").each(function(a)
{
a.observe('click', function(c) {
var username = $(this).readAttribute('username');
if(editorloaded == 1)
{
clickableEditor.performInsert('[b]' + username + '[/b], ', '', true, false);
}
else
{
$('message').value += '[b]' + username + '[/b], ';
}
Event.stop(c);
});
});
$$("a.reply_to_profile").each(function(a)
{
a.observe('click', function(c) {
var username = $(this).readAttribute('username');
var uid = $(this).readAttribute('userid');
$('reply_to_profile').value = uid;
if(editorloaded == 1)
{
//clickableEditor.performInsert('[b]' + username + '[/b], ', '', true, false);
}
else
{
//$('message').value += '[b]' + username + '[/b], ';
}
$("replyingto").update('Estás respondiendo a ' + username + '. El comentario aparecerá en su perfil. <a href="{$profile_page}" id="linkcancel">Cancelar</a>.').show();
$('linkcancel').observe('click', function(c) {
$("replyingto").hide();
$('reply_to_profile').value = 'default';
Event.stop(c);
});
Event.stop(c);
});
});
});
</script>
</td>
</tr>
</form>
<tr>
<td class="trow2 valign="top" colspan="2">
<fieldset style="margin: 6px;"><legend class="smalltext">Firma de {$post['username']}</legend>
<div style="max-width: 655px; max-height: 170px; overflow: auto;">{$post['signature']}</div>
</fieldset>
</td>
</tr>
<?php
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function() {
jQuery(".pestañas_portal_contenido").hide();
jQuery("ul.pestañas_portal li:first").addClass("activa").show();
jQuery(".pestañas_portal_contenido:first").show();
jQuery("ul.pestañas_portal li").click(function() {
jQuery("ul.pestañas_portal li").removeClass("activa");
jQuery(this).addClass("activa");
jQuery(".pestañas_portal_contenido").hide();
var activeTab = jQuery(this).find("a").attr("href");
jQuery(activeTab).fadeIn();
return false;
});
});
</script>
</head>
<body>
{$header}
<div style="float: left; width: 320px;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="6" class="tborder">
<tr>
<td class="trow1" align="center" valign="middle" width="140" height="140">
{$avatar}
</td>
<td class="trow1 smalltext" valign="middle" style="font-weight: bold;">
<span class="largetext"><strong>{$formattedname}</strong></span><br />
<div style="font-weight: normal; margin-bottom: 4px;">{$usertitle}</div>
{$groupimage}<br />
<a href="search.php?action=finduserthreads&uid={$uid}" title="{$lang->find_threads}"><img src="{$theme['imgdir']}/profile_buscar.png" alt="{$lang->find_threads}" width="16" height="16" /> Sus temas</a><br />
<a href="search.php?action=finduser&uid={$uid}" title="{$lang->find_posts}"><img src="{$theme['imgdir']}/profile_buscar.png" alt="{$lang->find_posts}" width="16" height="16" /> Sus mensajes</a><br />
</td>
</tr>
<tr>
<td class="trow2 smalltext" style="font-weight: bold;" colspan="2">
<a href="private.php?action=send&uid={$memprofile['uid']}" title="Envíale un mensaje privado"><img src="{$theme['imgdir']}/profile_pm.png" alt="Envíale un mensaje privado" width="16" height="16" /> Envíale un mensaje privado</a><br />
<a href="member.php?action=emailuser&uid={$memprofile['uid']}" title="Envíale un email"><img src="{$theme['imgdir']}/profile_email.png" alt="Envíale un email" width="16" height="16" /> Envíale un email</a><br />
{$buddy_options}
</td>
</tr>
</table>
{$last_visit}
{$modoptions}
{$adminoptions}
</div>
<div style="float: right; width: 570px;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1 smalltext" width="50"><strong>{$lang->postbit_status}</strong></td>
<td class="trow1 smalltext">{$online_status}</td>
</tr>
</table>
<br />
<ul class="pestañas_portal" align="center">
<li class="activa"><a href="#pestaña1">Comentarios</a></li>
<li class=""><a href="#pestaña2">Información</a></li>
<li class=""><a href="#pestaña3">Acerca de</a></li>
<li class=""><a href="#pestaña4">Contacto</a></li>
<li class=""><a href="#pestaña5">Amigos</a></li>
<li class=""><a href="#pestaña6">Firma</a></li>
</ul>
<div class="pestañas_portal_contenedor">
<div style="display: block;" id="pestaña1" class="pestañas_portal_contenido">
<!-- ProfileComments -->{$comments_index}<!-- /ProfileComments -->
</div>
<div style="display: block;" id="pestaña2" class="pestañas_portal_contenido">
<table border="0" cellspacing="0" cellpadding="4" class="tborder" width="100%">
<tr>
<td colspan="2" class="thead"><strong>{$lang->users_forum_info}</strong></td>
</tr>
<tr>
<td class="trow1" width="170"><strong>{$lang->registration_date}</strong></td>
<td class="trow1">{$memregdate}</td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->lastvisit}</strong></td>
<td class="trow2">{$memlastvisitdate} {$memlastvisittime}</td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->total_posts}</strong></td>
<td class="trow1">{$memprofile['postnum']} ({$lang->ppd_percent_total})<br /><span class="smalltext">(<a href="search.php?action=finduserthreads&uid={$uid}">{$lang->find_threads}</a> — <a href="search.php?action=finduser&uid={$uid}">{$lang->find_posts}</a>)</span></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->timeonline}</strong></td>
<td class="trow2">{$timeonline}</td>
</tr>
{$referrals}
{$reputation}
{$warning_level}
{$myachievements}
</table>
</div>
<div style="display: block;" id="pestaña3" class="pestañas_portal_contenido">
{$profilefields}
</div>
<div style="display: block;" id="pestaña4" class="pestañas_portal_contenido">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="-moz-border-radius-topleft: 0px; -webkit-border-top-left-radius: 0px; border-top-left-radius: 0px;">
<tr>
<td colspan="2" class="thead"><strong>{$lang->users_contact_details}</strong></td>
</tr>
<tr>
<td class="trow1" width="170"><strong>{$lang->homepage}</strong></td>
<td class="trow1">{$website}</td>
</tr>
{$sendemail}
<tr>
<td class="{$bgcolors['pm']}"><strong>{$lang->pm}</strong></td>
<td class="{$bgcolors['pm']}"><a href="private.php?action=send&uid={$memprofile['uid']}">{$lang->send_pm}</a></td>
</tr>
<tr>
<td class="{$bgcolors['icq']}"><strong>{$lang->icq_number}</strong></td>
<td class="{$bgcolors['icq']}">{$memprofile['icq']}</td>
</tr>
<tr>
<td class="{$bgcolors['aim']}"><strong>{$lang->aim_screenname}</strong></td>
<td class="{$bgcolors['aim']}"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&imtype=aim&uid={$uid}', 'imcenter', 450, 300);">{$memprofile['aim']}</a></td>
</tr>
<tr>
<td class="{$bgcolors['yahoo']}"><strong>{$lang->yahoo_id}</strong></td>
<td class="{$bgcolors['yahoo']}"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&imtype=yahoo&uid={$uid}', 'imcenter', 450, 300);">{$memprofile['yahoo']}</a></td>
</tr>
<tr>
<td class="{$bgcolors['msn']}"><strong>{$lang->msn}</strong></td>
<td class="{$bgcolors['msn']}"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&imtype=msn&uid={$uid}', 'imcenter', 450, 300);">{$memprofile['msn']}</a></td>
</tr>
</table>
</div>
<div style="display: block;" id="pestaña5" class="pestañas_portal_contenido">
{$buddylist}
</div>
<div style="display: block;" id="pestaña6" class="pestañas_portal_contenido">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="-moz-border-radius-topleft: 0px; -webkit-border-top-left-radius: 0px; border-top-left-radius: 0px;">
<tr>
<td class="thead"><strong>{$signature}</strong></td>
</tr>
</table>
</div>
</div>
</div>
<br class="clear" />
{$footer}
</body>
</html>
(3 Jul, 2011, 12:26 pm)~ice escribió: o_o aparesco en un video xDDDDDD
ahahaha
---
en tus plantillas globales busca profile comments
y arriba de donde inicia <table
busca si tiene un <br />
y borralo
<?php
<tr id="comment_form">
<td colspan="2" style="text-align: left;" class="trow2">
<form id="newcomment" name="newcomment" action="member.php?action=profile&uid={$this->target['uid']}&op=new" method="post">
<div id="replyingto" class="pm_alert" style="display: none;"></div>
<p>
<textarea name="message" id="message" rows="10" cols="70" tabindex="5"></textarea>
</p>
<p>
<input type="hidden" name="reply_to_profile" id="reply_to_profile" value="default" />
<input type="hidden" name="to_uid" id="to_uid" value="{$this->target['uid']}" />
<input type="submit" id="sendcomment" value="{$lang->profile_comments_add_button}" tabindex="6" />
</p>
{$editor}
<script type="text/javascript">
var editorloaded = {$editor_active};
var comments_ajax = {$ajax};
var current_user = {$mybb->input['uid']};
var replying_message = '{$lang->profilecomments_replying}';
var confirm_delete_message = '{$lang->profilecomments_confirm_delete}';
</script>
</form>
</td>
</tr>
<tr id="comment_form">
<td colspan="2" style="text-align: left;" class="trow2">
<form id="newcomment" name="newcomment" action="member.php?action=profile&uid={$this->target['uid']}&op=new" method="post">
<div id="replyingto" class="pm_alert" style="display: none;"></div>
<p>
<textarea name="message" id="message" rows="10" cols="70" tabindex="5"></textarea>
</p>
<p>
<input type="hidden" name="reply_to_profile" id="reply_to_profile" value="default" />
<input type="hidden" name="to_uid" id="to_uid" value="{$this->target['uid']}" />
<center><input type="submit" id="sendcomment" value="{$lang->profile_comments_add_button}" tabindex="6" /></center>
</p>
{$editor}
<script type="text/javascript">
var editorloaded = {$editor_active};
var comments_ajax = {$ajax};
var current_user = {$mybb->input['uid']};
var replying_message = '{$lang->profilecomments_replying}';
var confirm_delete_message = '{$lang->profilecomments_confirm_delete}';
</script>
</form>
</td>
</tr>
<input type="submit" class="button" value="Agregar comentario" tabindex="6">