• Página 1 de 1
  • 1
Moderador del foro: ZorG  
Foro uCoz » Servicios Adicionales » Cuestiones generales » codigo para poner la imagen de un perfil
codigo para poner la imagen de un perfil
Violinista
Mensajes: 104
Reputación: 3
Mensaje Nº 1 | 8:52 PM
bueno, he creado una seccion en mi web, nombre: "historias" con el catalogo de articulos, aqui, lo he configurado de manera que aparescan los cuentos de los usuarios, agregado tambien, entre otros datos de las historias; fecha de publicacion, nombre del autor, categoria de la historia, y numero de comentarios.dejo aqui, e link de la mencionada seccion: http://skare.at.ua/publ/

aqui mismo, quiero agregar la imagen de perfil de usuario, con un tamaño predermiñado, puse el codigo que es $_AVATAR$ pero se ve que no lo acepta por que no aparece nada.
tambien intente agregar un codigo para que aparescan las primeras lineas de cada historia. pero no lo acepta tambien, espero que puedan ayudarme.
desde ya. muchas gracias.


Para escritores nobeles mirar aquí: http://skare.at.ua/
GUARAGUAO
Mensajes: 2362
Reputación: 81
Mensaje Nº 2 | 2:05 PM
Déjame saber a qué plantilla has agregado el código $_AVATAR$. Y dónde quieres que aparezca el avatar.
Las vírgenes tienen muchas navidades pero ninguna Nochebuena.
Violinista
Mensajes: 104
Reputación: 3
Mensaje Nº 3 | 7:38 AM
el problema se plantea en el catalogo de artilulos> plantilla, aspecto de materiales. aquí.

Code
<table class="eBlock" border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td style="padding: 3px; text-align: left; vertical-align: middle; background-color: rgb(229, 240, 251); letter-spacing: 0pt; word-spacing: 0pt; background-image: url("/12.gif"); background-repeat: repeat; background-position: left top;">
<?if($MODER_PANEL$)?><div style="float: right;">$MODER_PANEL$</div><?endif?>
<div class="eTitle" style="text-align: left;"><span style="font-size: 14pt; font-family: Trebuchet MS; color: rgb(100, 100, 100);"> <span style="font-family: Trebuchet MS; font-size: 12pt;"><a href="$ENTRY_URL$">$TITLE$</a><br></span></span><br><br><a href="$ENTRY_URL$"><span style="font-family: Times New Roman; font-size: 12pt;"><span style="font-size: 12pt; font-family: Times New Roman; color: rgb(100, 100, 100);"><span style="font-family: Trebuchet MS; font-size: 10pt; color: rgb(100, 100, 100);"></span></span></span></a></div><div align="right">
<?if($MESSAGE$)?></div><span style="font-size: 10pt; font-family: Trebuchet MS; color: rgb(100, 100, 100);">$MESSAGE$</span><div align="right"><?endif?></div><div class="eDetails" style="clear: both;"><div align="right">
<?if($RATING$)?></div><span style="font-size: 10pt; font-family: Trebuchet MS; color: rgb(100, 100, 100);"><?$RSTARS$('12','/.s/img/stars/3/12.png','0','float')?></span><div align="right"><?endif?></div><div align="left"><div align="left"><div align="left"><span style="font-family: Times New Roman; font-size: 12pt;"><span style="font-family: Trebuchet MS; font-size: 10pt; color: rgb(100, 100, 100);"><span style="font-size: 10pt; font-family: Trebuchet MS; color: rgb(100, 100, 100);">Autor: $AUTHOR_NAME$ <a href="$PROFILE_URL$">$USERNAME$</a><span style="font-size: 10pt; font-family: Trebuchet MS; color: rgb(100, 100, 100);" title="$TIME$"></span>   |   </span><span style="font-size: 10pt; font-family: Trebuchet MS; color: rgb(100, 100, 100);">Categoria:
$CATEGORY_NAME$   </span><span style="font-size: 10pt; font-family: Trebuchet MS; color: rgb(100, 100, 100);">|   </span></span><span style="font-size: 12pt; font-family: Times New Roman; color: rgb(100, 100, 100);"><span style="font-family: Trebuchet MS; font-size: 10pt; color: rgb(100, 100, 100);"><span style="font-size: 10pt; font-family: Trebuchet MS;">Comentarios </span></span></span></span><font color="#838383"><span style="font-family: Trebuchet MS; font-size: 10pt;">($COMMENTS_NUM$)</span></font><link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CAnthony%5CCONFIG%7E1%5CTemp%5Cmsohtml1%5C06%5Cclip_filelist.xml"><!--[if gte mso 9]><xml>
   <w:WordDocument>
   <w:View>Normal</w:View>
   <w:Zoom>0</w:Zoom>
   <w:HyphenationZone>21</w:HyphenationZone>
   <w:PunctuationKerning/>
   <w:ValidateAgainstSchemas/>
   <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
   <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
   <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
   <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:DontGrowAutofit/>
   </w:Compatibility>
   <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
   </w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
   <w:LatentStyles DefLockedState="false" LatentStyleCount="156">
   </w:LatentStyles>
</xml><![endif]--><style>
<!--
   /* Style Definitions */
   p.MsoNormal, li.MsoNormal, div.MsoNormal
   {mso-style-parent:"";
   margin:0cm;
   margin-bottom:.0001pt;
   mso-pagination:widow-orphan;
   font-size:12.0pt;
   font-family:"Times New Roman";
   mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
   {color:blue;
   text-decoration:underline;
   text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
   {color:purple;
   text-decoration:underline;
   text-underline:single;}
@page Section1
   {size:595.3pt 841.9pt;
   margin:70.85pt 3.0cm 70.85pt 3.0cm;
   mso-header-margin:35.4pt;
   mso-footer-margin:35.4pt;
   mso-paper-source:0;}
div.Section1
   {page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
   /* Style Definitions */
   table.MsoNormalTable
   {mso-style-name:"Tabla normal";
   mso-tstyle-rowband-size:0;
   mso-tstyle-colband-size:0;
   mso-style-noshow:yes;
   mso-style-parent:"";
   mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
   mso-para-margin:0cm;
   mso-para-margin-bottom:.0001pt;
   mso-pagination:widow-orphan;
   font-size:10.0pt;
   font-family:"Times New Roman";
   mso-ansi-language:#0400;
   mso-fareast-language:#0400;
   mso-bidi-language:#0400;}
</style>
<![endif]--><font color="#838383"><span style="font-family: Trebuchet MS; font-size: 10pt;"><span style="font-size: 10pt; font-family: Trebuchet MS; color: rgb(100, 100, 100);"><span style="font-family: Trebuchet MS; font-size: 10pt; color: rgb(100, 100, 100);"><span style="font-family: Trebuchet MS; font-size: 10pt;"></span></span></span></span></font><span style="font-family: Trebuchet MS; font-size: 10pt;"><span style="font-family: Trebuchet MS; font-size: 10pt;"><span style="font-family: Trebuchet MS; font-size: 10pt; color: rgb(100, 100, 100);"><span style="font-size: 10pt; font-family: Trebuchet MS; color: rgb(100, 100, 100);">   |</span></span></span><span style="font-family: Trebuchet MS; font-size: 10pt;"><span style="font-size: 10pt; font-family: Trebuchet MS; color: rgb(100, 100, 100);"><span style="font-family: Trebuchet MS; font-size: 10pt; color: rgb(100, 100, 100);">  </span></span></span><span style="font-family: Trebuchet MS; color: rgb(120, 120, 120);">Fecha: <span style="font-family: Trebuchet MS; font-size: 10pt; color: rgb(120, 120, 120);" title="$TIME$">$DATE$</span></span></span><span style="font-family: Times New Roman; font-size: 12pt;"><span style="font-size: 12pt; font-family: Times New Roman; color: rgb(100, 100, 100);"><span style="font-family: Trebuchet MS; font-size: 10pt; color: rgb(100, 100, 100);"><span style="font-family: Trebuchet MS; color: rgb(131, 131, 131);"><span style="color: rgb(120, 120, 120);">  </span>$RATING$</span></span></span></span><br></div><span style="font-family: Times New Roman; font-size: 12pt;"><span style="font-size: 12pt; font-family: Times New Roman; color: rgb(100, 100, 100);"><span style="font-family: Trebuchet MS; font-size: 10pt; color: rgb(100, 100, 100);"></span></span></span><span style="font-family: Times New Roman; font-size: 12pt;"><span style="font-size: 12pt; font-family: Times New Roman; color: rgb(100, 100, 100);"><span style="font-family: Trebuchet MS; font-size: 10pt; color: rgb(100, 100, 100);"><br></span></span></span></div><p class="MsoNormal"><!--[if gte mso 9]><xml>
   <w:WordDocument>
   <w:View>Normal</w:View>
   <w:Zoom>0</w:Zoom>
   <w:HyphenationZone>21</w:HyphenationZone>
   <w:PunctuationKerning/>
   <w:ValidateAgainstSchemas/>
   <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
   <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
   <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
   <w:Compatibility>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:DontGrowAutofit/>
   </w:Compatibility>
   <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
   </w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
   <w:LatentStyles DefLockedState="false" LatentStyleCount="156">
   </w:LatentStyles>
</xml><![endif]--></p><style>
<!--
   /* Style Definitions */
   p.MsoNormal, li.MsoNormal, div.MsoNormal
   {mso-style-parent:"";
   margin:0cm;
   margin-bottom:.0001pt;
   mso-pagination:widow-orphan;
   font-size:12.0pt;
   font-family:"Times New Roman";
   mso-fareast-font-family:"Times New Roman";}
@page Section1
   {size:595.3pt 841.9pt;
   margin:70.85pt 3.0cm 70.85pt 3.0cm;
   mso-header-margin:35.4pt;
   mso-footer-margin:35.4pt;
   mso-paper-source:0;}
div.Section1
   {page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
   /* Style Definitions */
   table.MsoNormalTable
   {mso-style-name:"Tabla normal";
   mso-tstyle-rowband-size:0;
   mso-tstyle-colband-size:0;
   mso-style-noshow:yes;
   mso-style-parent:"";
   mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
   mso-para-margin:0cm;
   mso-para-margin-bottom:.0001pt;
   mso-pagination:widow-orphan;
   font-size:10.0pt;
   font-family:"Times New Roman";
   mso-ansi-language:#0400;
   mso-fareast-language:#0400;
   mso-bidi-language:#0400;}
</style>
<![endif]-->

<span style="font-family: Times New Roman; font-size: 12pt;"><span style="font-size: 12pt; font-family: Times New Roman; color: rgb(100, 100, 100);"><span style="font-family: Trebuchet MS; font-size: 10pt; color: rgb(100, 100, 100);"></span></span></span></div><span style="font-family: Times New Roman; font-size: 12pt;"><span style="font-size: 12pt; font-family: Times New Roman; color: rgb(100, 100, 100);"><span style="font-family: Trebuchet MS; font-size: 10pt; color: rgb(100, 100, 100);"></span></span></span><?if($AUTHOR_NAME$)?><?endif?><?if($USERNAME$)?><?endif?><?if($COMMENTS_URL$)?><?endif?>
</div></td></tr></tbody></table><br>

en esta plantilla, al parecer es que no acepta el codigo, debe ser tal vez que ciertos codigos no son aceptados en ciertas plantillas. por entonces, otro codigo mediante el cual haga efecto.

link : http://skare.at.ua/publ/

aqui buscaba poner, debajo del titulo de la historia, un codigo para que se muestren el primer renglon del mensaje. y a su vez, al lado, un codigo que muestre la foto de perfil, de tamaño predermiñado.

de igualmente, sigo buscando, gracias por su ayuda.

Adherido: 5790124.jpg (65.0 Kb)

Para escritores nobeles mirar aquí: http://skare.at.ua/
Post editado por Violinista - Martes, 2010-06-08, 7:58 AM
Foro uCoz » Servicios Adicionales » Cuestiones generales » codigo para poner la imagen de un perfil
  • Página 1 de 1
  • 1
Búscar: