[Solucionado] Agrandar la parte de Último mensaje

  • Autor Autor acryo69
  • Fecha de inicio Fecha de inicio
A

acryo69

Curioso
¡Usuario con pocos negocios! ¡Utiliza siempre saldo de Forobeta!
Hola. Tengo el siguiente problema, quiero que en la pagina principal de mi foro en la parte de "Último mensaje" verla mas grande para que no me aparezcan los titulos de los mensajes cortados. Alguien sabe como se cambia eso?

Gracias
 
Respuesta: Agrandar la parte de Último mensaje

La unica manera es editando la plantilla eliminando la parte de mensajes y temas.
 
Respuesta: Agrandar la parte de Último mensaje

Me puedes dar mas detalles de como se haria, es que soy muy nuevo en el vbulletin y no queria desmontar medio foro intentando hacerlo. Gracias Gasper
 
Respuesta: Agrandar la parte de Último mensaje

En que parte del foro lo quieres, cuando ves el index.php, un foro o un subforo??
 
Respuesta: Agrandar la parte de Último mensaje

Lo quiro en el index, es decir en el la pagina principal del foro.

y quiero que se vea mas grande lo que muestro en la imagen
sinttulo1tw3.jpg
 
Respuesta: Agrandar la parte de Último mensaje

Para que se ve mas grande sigue estos pasos:
En la plantilla FORUMHOME busca esto:
HTML:
<tr align="center"> 
     <td class="thead">&nbsp;</td> 
      <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td> 
      <td class="thead" width="175">$vbphrase[last_post]</td> 
      <td class="thead">$vbphrase[threads]</td> 
      <td class="thead">$vbphrase[posts]</td> 
      <if condition="$vboptions['showmoderatorcolumn']"> 
       <td class="thead">$vbphrase[moderator]</td> 
  </if> 
</tr>
Y reemplazalo por:
HTML:
<tr align="center"> 
      <td class="thead" width="5%">&nbsp;</td> 
      <td class="thead" width="50%" align="$stylevar[left]">$vbphrase[forum]</td> 
      <td class="thead" width="39%">$vbphrase[last_post]</td> 
      <td class="thead" width="3%">$vbphrase[threads]</td> 
      <td class="thead" width="3%">$vbphrase[posts]</td> 
      <if condition="$vboptions['showmoderatorcolumn']"> 
       <td class="thead" width="0%">$vbphrase[moderator]</td> 
  </if> 
</tr>
 
Respuesta: Agrandar la parte de Último mensaje

Gasper tengo un problema, el codigo que tu me muestras supongo que es para el skin que viene por defecto en el vbulletin, pero yo tengo un skin distinto y no encuentro el codigo que tu me dices en FORUMHOME

El codigo que a mi me aparece es:

HTML:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	<!-- no cache headers -->
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="Expires" content="-1" />
	<meta http-equiv="Cache-Control" content="no-cache" />
	<!-- end no cache headers -->
	$headinclude
	<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</head>
<body>
$header
$navbar


 	<if condition="$show['guest']">
	<!-- guest welcome message -->
	   <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

	<tr>
		<td class="tcat" colspan="6"><phrase 1="$vboptions[bbtitle]">$vbphrase[welcome_to_the_x]</phrase></td>
	</tr>
	<tr>
		<td class="alt1" colspan="6">
			<phrase 1="faq.php$session[sessionurl_q]" 2="register.php$session[sessionurl_q]">$vbphrase[first_visit_message]</phrase>
		</td>
	</tr></table>
	<div class="spacer"></div>
	<!-- / guest welcome message -->
	</if>

<!-- main -->
$forumbits
<!-- /main -->
$forumhome_markread_script


<!-- what's going on box -->

 <!-- top category table setup -->
<table width="100%" class="tcat" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="140" height="27" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_ls.gif" width="140" height="27" alt=" " border="0" /></td>
    <td width="100%" class="tcat" align="center"><div class="smallfont"><strong>$vbphrase[whats_going_on]</strong></div></td>
     <td width="140" height="27" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_rs.gif" width="140" height="27" alt=" " border="0" /></td>
  </tr>
</table>
        <!-- End top category table setup -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
			<a href="online.php$session[sessionurl_q]" rel="nofollow">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
	<tr>
		<td class="alt2"><a href="online.php$session[sessionurl_q]" rel="nofollow"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
		<td class="alt1" width="100%">
			<div class="smallfont">
				<div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
				<div>$activeusers</div>
			</div>
		</td>
	</tr>
</tbody>
<!-- end logged-in users -->
</if>
<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
			<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
	<tr>
		<td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
		<td class="alt1" width="100%">
		<div class="smallfont">
			<div>
				$vbphrase[threads]: $totalthreads,
				$vbphrase[posts]: $totalposts,
				$vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
					<span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
				</if>
			</div>
			<div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
		</div>
		</td>
	</tr>
</tbody>
<if condition="$show['birthdays']">
<!-- today's birthdays -->
<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
			$vbphrase[todays_birthdays]
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
	<tr>
		<td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
		<td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
	</tr>
</tbody>
<!-- end today's birthdays -->
</if>
<if condition="$show['upcomingevents']">
<tbody>
	<tr>
		<td class="thead" colspan="2">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
			<if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
		</td>
	</tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
	<tr>
		<td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
		<td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
	</tr>
</tbody>
</if>
</table>
  <!-- bottom table setup -->
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="70" align="left" valign="top"><img src="$stylevar[imgdir_misc]/ls_main_table_bottom.gif" width="70" height="14" alt=" " border="0" /></td>
        <td  width="100%" style="background-image:url($stylevar[imgdir_misc]/extended_main_table_bottom.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="14" alt=" " border="0" /></td>
        <td width="70" align="right" valign="top"><img src="$stylevar[imgdir_misc]/rs_main_table_bottom.gif" width="70" height="14" alt=" " border="0" /></td>
      </tr>
    </table>
   <!-- End bottom table setup -->

<div class="spacer"></div>
<!-- end what's going on box -->

<!-- icons and login code -->
<table border="0" align="center" cellpadding="10" cellspacing="0" style="border: 1px solid #181B16; background-color: #FDFDFD;">
		<tr>			
			<td align="center" valign="middle" class="smallfont" >
			<img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" align="middle" border="0" /> $vbphrase[contains_new_posts] &nbsp; &nbsp;
			<img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" align="middle" border="0" /> $vbphrase[contains_no_new_posts] &nbsp;&nbsp;
			<img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" align="middle" border="0" /> $vbphrase[a_closed_forum] &nbsp;&nbsp;</td>
		</tr>
	  </table>
<!-- / icons and login code -->

$footer
</body>
</html>

Te agradeceria mucho que me digeses cuales son la modificaciones que tengo que hacer en este codigo.

Muchas gracias por tu ayuda.
 
Respuesta: Agrandar la parte de Último mensaje

Al ser un skin perosnalizado busca este codigo:
HTML:
<td class="thead">$vbphrase[posts]</td>
En alguna plantilla dentro de los Template del FORUM HOME, una ves encontrado postealos en el foro asi te puedo ayudar.
 
Respuesta: Agrandar la parte de Último mensaje

Lo encontre en la plantilla llamada:

forumhome_forumbit_level1_nopost

HTML:
<!-- top category table setup -->
<table width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="140" height="27" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_ls.gif" width="140" height="27" alt=" " border="0" /></td>
    <td width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" valign="middle">
	
			
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
			<div align="center">
			<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><b>$forum[title]</b></a></div>
			<if condition="$show['forumdescription']"><div align="center" class="smallfont">$forum[description]</div></if>
			<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></div></if>
		
	
	</td>
     <td width="140" height="27" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_rs.gif" width="140" height="27" alt=" " border="0" /></td>
  </tr>
</table>
        <!-- End top category table setup -->
        
        
        

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr align="center">
	  <td class="thead">&nbsp;</td>
	  <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
          <td class="thead" width="200">$vbphrase[last_post]</td>
          <td class="thead">$vbphrase[threads]</td>
	  <td class="thead">$vbphrase[posts]</td>
	  <if condition="$vboptions[showmoderatorcolumn]">
	  <td class="thead">$vbphrase[moderator]</td>
	  </if>
	</tr>
$childforumbits
</tbody>
</if>
</table>
  <!-- bottom table setup -->
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="70" align="left" valign="top"><img src="$stylevar[imgdir_misc]/ls_main_table_bottom.gif" width="70" height="14" alt=" " border="0" /></td>
        <td  width="100%" style="background-image:url($stylevar[imgdir_misc]/extended_main_table_bottom.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="14" alt=" " border="0" /></td>
        <td width="70" align="right" valign="top"><img src="$stylevar[imgdir_misc]/rs_main_table_bottom.gif" width="70" height="14" alt=" " border="0" /></td>
      </tr>
    </table>
   <!-- End bottom table setup -->
   <div class="spacer"></div>
 
Respuesta: Agrandar la parte de Último mensaje

Ok, reemplaza todo eso por:
HTML:
<!-- top category table setup -->
<table width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="140" height="27" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_ls.gif" width="140" height="27" alt=" " border="0" /></td>
    <td width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" valign="middle">
	
			
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
			<div align="center">
			<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><b>$forum[title]</b></a></div>
			<if condition="$show['forumdescription']"><div align="center" class="smallfont">$forum[description]</div></if>
			<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></div></if>
		
	
	</td>
     <td width="140" height="27" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_rs.gif" width="140" height="27" alt=" " border="0" /></td>
  </tr>
</table>
        <!-- End top category table setup -->
        
        
        

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr align="center"> 
      <td class="thead" width="5%">&nbsp;</td> 
      <td class="thead" width="50%" align="$stylevar[left]">$vbphrase[forum]</td> 
      <td class="thead" width="39%">$vbphrase[last_post]</td> 
      <td class="thead" width="3%">$vbphrase[threads]</td> 
      <td class="thead" width="3%">$vbphrase[posts]</td> 
      <if condition="$vboptions['showmoderatorcolumn']"> 
       <td class="thead" width="0%">$vbphrase[moderator]</td> 
  </if> 
</tr>
$childforumbits
</tbody>
</if>
</table>
  <!-- bottom table setup -->
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="70" align="left" valign="top"><img src="$stylevar[imgdir_misc]/ls_main_table_bottom.gif" width="70" height="14" alt=" " border="0" /></td>
        <td  width="100%" style="background-image:url($stylevar[imgdir_misc]/extended_main_table_bottom.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="14" alt=" " border="0" /></td>
        <td width="70" align="right" valign="top"><img src="$stylevar[imgdir_misc]/rs_main_table_bottom.gif" width="70" height="14" alt=" " border="0" /></td>
      </tr>
    </table>
   <!-- End bottom table setup -->
   <div class="spacer"></div>
 
Respuesta: Agrandar la parte de Último mensaje

Gracias Gasper. El recuadro de "Último mensaje" ahora es mas grande pero sigue habiendo un problemilla, que es que los titulos de los mensajes siguen apareciendo los mismos caracteres, es decir, que los titulos largos aparecen cortados. Comprendes lo que te quiero decir?
 
Respuesta: Agrandar la parte de Último mensaje

Ok, lo que pasa que en tu primer mensaje dijistes agrandar esa parte, no dijistes para que no se vea cortado. Para que no se corte haz esto:
Admincp-> Opciones de VBulletin-> Opciones de Desplegado del Listado de Foros-> Número de Caracteres Máximo para el Título del Último Mensaje, pon 0.
 
Respuesta: Agrandar la parte de Último mensaje

Perfecto, ahora si, justo lo que yo queria. Muchisimas gracias Gasper. Un saludo.
 
Atrás
Arriba