Página 1 de 1

Problemas thanks fot posts 1.3.5 no aparece.  Tema Solucionado

Publicado: 16 Sep 2013, 18:59
por Malveric
Buenas tardes gente de Phpbb :F .

Instale recientemente el mod Thanks fot posts (1.3.5), con AutoMod (1.0.2), hasta ahi todo bien, despues me puse a editar las plantillas de mi theme, Absolution, que hereda de prosilver, pero no pude encontrar lo siguiente (son 3 plantillas las que me generaron problemas, forumlist_body, overall_header, & viewforum_body ):
Open: styles/prosilver/template/forumlist_body.html

Código: Seleccionar todo

Find

					<dl class="icon">

Código: Seleccionar todo

Replace with

					<dl class="<!-- IF forumrow.S_THANKS_FORUM_REPUT_VIEW_COLUMN and not S_IS_BOT -->thanks<!-- ELSE -->icon<!-- ENDIF -->">

Código: Seleccionar todo

Find

						<dd class="lastpost"><span>{L_LAST_POST}</span></dd>

Código: Seleccionar todo

Replace with

						<!-- IF forumrow.S_THANKS_FORUM_REPUT_VIEW_COLUMN and not S_IS_BOT -->	
						<dd style="display: block; width:{forumrow.THANKS_REPUT_GRAPHIC_WIDTH};">{L_REPUT}</dd>
						<!-- ENDIF -->					
						<dd class="lastpostthanks"><span>{L_LAST_POST}</span></dd>

Código: Seleccionar todo

Find
			<dl class="icon" style="background-image: url({forumrow.FORUM_FOLDER_IMG_SRC}); background-repeat: no-repeat;">

Código: Seleccionar todo

Replace with

			<dl class="<!-- IF forumrow.S_THANKS_FORUM_REPUT_VIEW_COLUMN and not S_IS_BOT -->thanks<!-- ELSE -->icon<!-- ENDIF -->" style="background-image: url({forumrow.FORUM_FOLDER_IMG_SRC}); background-repeat: no-repeat;">

Código: Seleccionar todo

Find

					<!-- IF forumrow.MODERATORS -->

Código: Seleccionar todo

Add before

					<!-- BEGIN reput -->
					<!-- IF forumrow.reput.S_THANKS_FORUM_REPUT_VIEW and forumrow.reput.FORUM_REPUT and not S_IS_BOT and not forumrow.reput.S_THANKS_FORUM_REPUT_VIEW_COLUMN -->
					<span style="display: block;">
						<!-- IF forumrow.reput.S_THANKS_REPUT_GRAPHIC -->
						<span style="display: block; float: left; width: {forumrow.reput.THANKS_REPUT_GRAPHIC_WIDTH}; height: {forumrow.reput.THANKS_REPUT_HEIGHT}; background: url({forumrow.reput.THANKS_REPUT_IMAGE_BACK}); background-repeat: repeat-x;"><span style="display: block; height: {forumrow.reput.THANKS_REPUT_HEIGHT}; width: {forumrow.reput.FORUM_REPUT}; background: url({forumrow.reput.THANKS_REPUT_IMAGE}); background-repeat: repeat-x;"></span></span>&nbsp;
						<!-- ENDIF -->
					{L_REPUT}:&nbsp;{forumrow.reput.FORUM_REPUT}	
					</span>
					<!-- ENDIF -->
					<!-- END reput -->

Código: Seleccionar todo

Find
					<dd class="lastpost"><span>

Código: Seleccionar todo

Replace with
					<!-- BEGIN reput -->
						<!-- IF forumrow.reput.S_THANKS_FORUM_REPUT_VIEW and not S_IS_BOT  and forumrow.reput.S_THANKS_FORUM_REPUT_VIEW_COLUMN -->		
						<dd style="display: block; width: {forumrow.reput.THANKS_REPUT_GRAPHIC_WIDTH};">
							<!-- IF  forumrow.reput.FORUM_REPUT -->	
							<span style="display: block;">{forumrow.reput.FORUM_REPUT}
								<!-- IF forumrow.reput.S_THANKS_REPUT_GRAPHIC -->
								<span style="display: block; width: {forumrow.reput.THANKS_REPUT_GRAPHIC_WIDTH}; height: {forumrow.reput.THANKS_REPUT_HEIGHT}; background: url({forumrow.reput.THANKS_REPUT_IMAGE_BACK}); background-repeat: repeat-x;"><span style="display: block; height: {forumrow.reput.THANKS_REPUT_HEIGHT}; width: {forumrow.reput.FORUM_REPUT}; background: url({forumrow.reput.THANKS_REPUT_IMAGE}); background-repeat: repeat-x;">&nbsp;</span></span>
								<!-- ENDIF -->
							</span><dfn>{L_REPUT}</dfn>	
							<!-- ENDIF -->
						</dd>	
						<!-- ENDIF -->
					<!-- END reput -->						
					<dd class="lastpost<!-- IF forumrow.S_THANKS_FORUM_REPUT_VIEW_COLUMN and not S_IS_BOT --> lastpostthanks<!-- ENDIF -->"><span>


Open: styles/prosilver/template/overall_header.html

Código: Seleccionar todo

Find

					<!-- IF S_DISPLAY_MEMBERLIST --><li class="icon-members"><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}">{L_MEMBERLIST}</a></li><!-- ENDIF -->

Código: Seleccionar todo

Add after

					<!-- IF S_DISPLAY_TOPLIST --><li class="icon-thanks_toplist"><a href="{U_REPUT_TOPLIST}" title="{L_REPUT_TOPLIST}">{L_REPUT_TOPLIST}</a></li><!-- ENDIF -->
				<!-- IF S_DISPLAY_THANKSLIST --><li class="icon-thanks"><a href="{U_THANKSLIST}" title="{L_THANKS_USER}">{L_GRATITUDES}</a></li><!-- ENDIF -->

Open: styles/prosilver/template/viewforum_body.html

Código: Seleccionar todo

Find
				<dl class="icon">

Código: Seleccionar todo

Replace with
				<dl class="<!-- BEGIN reput --><!-- IF topicrow.reput.S_THANKS_TOPIC_REPUT_VIEW_COLUMN and not S_IS_BOT -->thanks<!-- ELSE -->icon<!-- ENDIF --><!-- END reput -->">

Código: Seleccionar todo

Find
					<dd class="lastpost"><span>{L_LAST_POST}</span></dd>

Código: Seleccionar todo

Replace with

					<!-- BEGIN reput -->					
					<!-- IF topicrow.reput.S_THANKS_TOPIC_REPUT_VIEW and topicrow.reput.S_THANKS_TOPIC_REPUT_VIEW_COLUMN and not S_IS_BOT -->	
					<dd style="display: block; width: {topicrow.reput.THANKS_REPUT_GRAPHIC_WIDTH};">{L_REPUT}</dd>
					<!-- ENDIF -->					
					<!-- END reput -->	
					<dd class="lastpostthanks"><span>{L_LAST_POST}</span></dd>

Código: Seleccionar todo

Find

Tip: This may be a partial find and not the whole line.
Code:Select all

			<dl class="icon" style="background-image: url({topicrow.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">

Código: Seleccionar todo

Replace with
			<dl class="<!-- BEGIN reput --><!-- IF topicrow.reput.S_THANKS_TOPIC_REPUT_VIEW_COLUMN and not S_IS_BOT -->thanks<!-- ELSE -->icon<!-- ENDIF --><!-- END reput -->" style="background-image: url({topicrow.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">

Código: Seleccionar todo

Find
					<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} &raquo; {topicrow.FIRST_POST_TIME}

Código: Seleccionar todo

Add after
					<!-- BEGIN reput -->
						<!-- IF topicrow.reput.S_THANKS_TOPIC_REPUT_VIEW and topicrow.reput.TOPIC_REPUT and not S_IS_BOT  and not topicrow.reput.S_THANKS_TOPIC_REPUT_VIEW_COLUMN -->
						<span style="display: block;">
							<!-- IF topicrow.reput.S_THANKS_REPUT_GRAPHIC -->
							<span style="display: block; float: left; width: {topicrow.reput.THANKS_REPUT_GRAPHIC_WIDTH}; height: {topicrow.reput.THANKS_REPUT_HEIGHT}; background: url({topicrow.reput.THANKS_REPUT_IMAGE_BACK}); background-repeat: repeat-x;"><span style="display: block; height: {topicrow.reput.THANKS_REPUT_HEIGHT}; width: {topicrow.reput.TOPIC_REPUT}; background: url({topicrow.reput.THANKS_REPUT_IMAGE}); background-repeat: repeat-x;"></span></span>&nbsp;
							<!-- ENDIF -->
						{L_REPUT}:&nbsp;{topicrow.reput.TOPIC_REPUT}
						</span>
						<!-- ENDIF -->
					<!-- END reput -->

Código: Seleccionar todo

Find
				<dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL}

Código: Seleccionar todo

Replace with
					<!-- BEGIN reput -->
						<!-- IF topicrow.reput.S_THANKS_TOPIC_REPUT_VIEW and not S_IS_BOT  and topicrow.reput.S_THANKS_TOPIC_REPUT_VIEW_COLUMN -->		
						<dd style="display: block; width: {topicrow.reput.THANKS_REPUT_GRAPHIC_WIDTH};">
							<!-- IF  topicrow.reput.TOPIC_REPUT -->	
							<span style="display: block;">{topicrow.reput.TOPIC_REPUT}
								<!-- IF topicrow.reput.S_THANKS_REPUT_GRAPHIC -->
								<span style="display: block; width: {topicrow.reput.THANKS_REPUT_GRAPHIC_WIDTH}; height: {topicrow.reput.THANKS_REPUT_HEIGHT}; background: url({topicrow.reput.THANKS_REPUT_IMAGE_BACK}); background-repeat: repeat-x;"><span style="display: block; height: {topicrow.reput.THANKS_REPUT_HEIGHT}; width: {topicrow.reput.TOPIC_REPUT}; background: url({topicrow.reput.THANKS_REPUT_IMAGE}); background-repeat: repeat-x;">&nbsp;</span></span>
								<!-- ENDIF -->
							</span><dfn>{L_REPUT}</dfn>	
							<!-- ENDIF -->
						</dd>				
						<!-- ENDIF -->
					<!-- END reput -->				
				<dd class="lastpost<!-- BEGIN reput --><!-- IF topicrow.reput.S_THANKS_TOPIC_REPUT_VIEW_COLUMN and not S_IS_BOT --> lastpostthanks<!-- ENDIF --><!-- END reput -->"><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL}

Alguien me puede decir como integrar esto?.

Saludos, disculpen la molestia!,

Atte^*

Re: Problemas thanks fot posts 1.3.5 no aparece.

Publicado: 16 Sep 2013, 19:55
por micontre
mal estilo has cojido para intalar mod . a cada mod que quieras instalas te va a pasar lo mismo.
te aconsejaria que cambiaras de estilo . para comenzar a intalar hay que buscar un estilo que se adapte a los mod , no que haya que adaptar los mod al estilo

Re: Problemas thanks fot posts 1.3.5 no aparece.

Publicado: 16 Sep 2013, 20:56
por Malveric
micontre escribió:mal estilo has cojido para intalar mod . a cada mod que quieras instalas te va a pasar lo mismo.
te aconsejaria que cambiaras de estilo . para comenzar a intalar hay que buscar un estilo que se adapte a los mod , no que haya que adaptar los mod al estilo
Muchisimas gracias por el consejo, pero seria contraproductivo que lo cambie, ya solo me queda este mod, y voy a ver que pasa con el Reputation system y ya quedaria, mil disculpas por las molestias creadas, te agradeceria inmensamente si pudieras ayudarme, comprendo la molestia ocasionada, mil disculpas nuevamente.

Saludos, que tengas un lindo dia.

Atte.

Edit:
Pd: Realmente no sabia que sucedia esto con algunos themes, te agradezco sinceramente el consejo y lo voy a tomar en consideracion a priorizar para los proximos proyectos, mil perdones nuevamente, la verdad vergonzoso ser tan ignorante sobre un tema que me gusta, voy buscar para aprender y a futuro poder hacer estas cosas por mi mismo y ya no molestar. Saludos.

Re: Problemas thanks fot posts 1.3.5 no aparece.

Publicado: 16 Sep 2013, 21:55
por micontre
mira en este tema de la pagina oficial y te bajas el archivo. aunque en las indicaciones diga prosilver no le hagas caso en para tu tema https://www.phpbb.com/customise/db/styl ... 10#p199310

hechale una ojeada a todo el tema que te interasa.

Re: Problemas thanks fot posts 1.3.5 no aparece.

Publicado: 17 Sep 2013, 03:50
por Malveric
micontre escribió:mira en este tema de la pagina oficial y te bajas el archivo. aunque en las indicaciones diga prosilver no le hagas caso en para tu tema https://www.phpbb.com/customise/db/styl ... 10#p199310

hechale una ojeada a todo el tema que te interasa.

Muchas gracias por la info micontre, saludos.

Atte*