Pagina 1 di 5

Problemi col tasto grazie

Inviato: 28/08/2011, 19:32
da likepremium
ciao a tutti, allora oggi ho installato la mod Thanks for posts (questa qui), ho installato tutto correttamente(come da guida) e pulito la cache, però ho un problema cioè il tasto grazie si presenta così -> http://i53.tinypic.com/2mhe9vb.jpg, allora come faccio a sistemarlo cioè a togliere la ripetizione del tasto grazie? perchè ora come ora neanche si può cliccare per ringraziare.

Re: Problemi col tasto grazie

Inviato: 28/08/2011, 20:35
da Darkman
Invece ritengo che i problemi siano nelle modifiche.

ricontrolla questi

styles/prosilver/template/viewtopic_body.html,
styles/prosilver/theme/buttons.css,
styles/prosilver/theme/colours.css

Per la sexonda questione sembra che con l'ultima versionne 1.3.1 non sia semplice come in passato.

Re: Problemi col tasto grazie

Inviato: 29/08/2011, 11:44
da likepremium
modifica da apportare nel viewtopic_body.html per il tasto grazie:

Codice: Seleziona tutto

Find
Tip: This may be a partial find and not the whole line.

Code:Select All
					<!-- IF postrow.U_QUOTE --><li class="quote-icon"><a href="{postrow.U_QUOTE}" title="{L_REPLY_WITH_QUOTE}"><span>{L_REPLY_WITH_QUOTE}</span></a></li><!-- ENDIF -->
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

Code:Select all
					<!-- IF  not postrow.S_FIRST_POST_ONLY or (not START and postrow.S_ROW_COUNT == 0) -->
						<!-- IF not postrow.S_GLOBAL_POST_THANKS and not postrow.S_POST_ANONYMOUS and postrow.S_FORUM_THANKS and S_USER_LOGGED_IN and not postrow.S_IS_OWN_POST and (not postrow.S_ALREADY_THANKED or postrow.S_REMOVE_THANKS) --><li class="{postrow.THANKS_IMG}"><a href="{postrow.THANKS_LINK}" title="{postrow.THANK_ALT}{postrow.POST_AUTHOR}"></a></li><!-- ENDIF -->				
					<!-- ENDIF -->
<< Hide
Find
Tip: This may be a partial find and not the whole line.

Code:Select All
			<!-- IF postrow.SIGNATURE --><div id="sig{postrow.POST_ID}" class="signature">{postrow.SIGNATURE}</div><!-- ENDIF -->
		<!-- ENDIF -->
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

Code:Select all
		<!-- IF postrow.THANKS and postrow.THANKS_POSTLIST_VIEW -->
			<hr />
			<!-- IF not postrow.S_POST_ANONYMOUS and not S_IS_BOT and postrow.S_MOD_THANKS -->
			<ul class="profile-icons" style="float:left"><li class="delete-icon"><a href="{postrow.U_CLEAR_LIST_THANKS_POST}" title="{L_CLEAR_LIST_THANKS}"><span>{L_CLEAR_LIST_THANKS}</span></a></li></ul>
			<!-- ENDIF -->
			<div class="content">
				<!-- IF not postrow.S_POST_ANONYMOUS and not S_IS_BOT-->
				<dl class="postbody small">
					<dt>{postrow.THANK_TEXT}{postrow.POST_AUTHOR_FULL}{postrow.THANK_TEXT_2}</dt>
					<dd>{postrow.THANKS}</dd>
				</dl>
				<!-- ENDIF -->	
			</div>
		<!-- ENDIF -->
		<!-- IF postrow.S_THANKS_POST_REPUT_VIEW and postrow.POST_REPUT and not postrow.S_POST_ANONYMOUS and not S_IS_BOT -->
			<div class="content">
				<dl class="postbody">
					<dt class="small"><strong>{L_REPUT}:</strong>&nbsp;{postrow.POST_REPUT}</dt>
					<dd>
					<!-- IF postrow.S_THANKS_REPUT_GRAPHIC -->
					<div style="width: {postrow.THANKS_REPUT_GRAPHIC_WIDTH}; height: {postrow.THANKS_REPUT_HEIGHT}; background: URL({postrow.THANKS_REPUT_IMAGE_BACK});"><div style="height: {postrow.THANKS_REPUT_HEIGHT}; width: {postrow.POST_REPUT}; background: URL({postrow.THANKS_REPUT_IMAGE});"></div></div>&nbsp;
					<!-- ENDIF -->
					</dd>
				</dl>
			</div>
		<!-- ENDIF -->

Re: Problemi col tasto grazie

Inviato: 29/08/2011, 12:00
da likepremium
modifica da apportare nel buttons.css per il tasto grazie:

Codice: Seleziona tutto

Find
Tip: This may be a partial find and not the whole line.

Code:Select All
.sitehome,
In-line Find
Tip: This is a partial match of a line for in-line operations.

Code:Select all
.sitehome,
In-line Add after

Code:Select All
 .icon-thanks, .icon-thanks_toplist,
<< Hide
Find
Tip: This may be a partial find and not the whole line.

Code:Select All
/* Set profile icon dimensions */
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

Code:Select all
ul.profile-icons li.thanks-icon	{ width: {IMG_THANKPOSTS_WIDTH}px; height: {IMG_THANKPOSTS_HEIGHT}px; }
ul.profile-icons li.removethanks-icon	{ width: {IMG_REMOVETHANKS_WIDTH}px; height: {IMG_REMOVETHANKS_HEIGHT}px; }


Re: Problemi col tasto grazie

Inviato: 29/08/2011, 12:02
da likepremium

Codice: Seleziona tutto

rimosso

Re: Problemi col tasto grazie

Inviato: 29/08/2011, 12:03
da likepremium
modifica da apportare nel colours.css per il tasto grazie:

Codice: Seleziona tutto

Find
Tip: This may be a partial find and not the whole line.

Code:Select All
.icon-search					{ background-image: url("{T_THEME_PATH}/images/icon_search.gif"); }
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

Code:Select all
.icon-thanks					{ background-image: url("{T_THEME_PATH}/images/icon_thanks.gif"); }
.icon-thanks_toplist			{ background-image: url("{T_THEME_PATH}/images/icon_thanks_toplist.gif"); }
<< Hide
Find
Tip: This may be a partial find and not the whole line.

Code:Select All
/* Moderator icons */
Add before
Tip: Add these lines on a new blank line before the preceding line(s) to find.

Code:Select all
.thanks-icon, .thanks-icon a		{ background-image: url("{IMG_THANKPOSTS_SRC}"); }
.removethanks-icon, .removethanks-icon a	{ background-image: url("{IMG_REMOVETHANKS_SRC}"); }

Re: Problemi col tasto grazie

Inviato: 29/08/2011, 12:08
da likepremium
naturalmente i miei file sono stati già modificati, penso di aver fatto tutto giusto, ho pure ricontrollato però mi da sempre quel errore citato al primo post, sperò mi possiate aiutare a risolvere :(

P.S: scusate i doppi post ma lo dovevo fare per forza a causa del limite di caratteri inseribili.

Re: Problemi col tasto grazie

Inviato: 30/08/2011, 17:29
da likepremium
qualcuno mi può aiutare?

Re: Problemi col tasto grazie

Inviato: 30/08/2011, 18:33
da Darkman
Ti ho ricontrollato le modifiche, sono ok...

Spero un altro individui il problema, io la mod ce l'ho, quello si

Re: Problemi col tasto grazie

Inviato: 31/08/2011, 13:10
da likepremium
darkman sai come fare per mettere il pulsante così -> http://i55.tinypic.com/maugxy.jpg ? così almeno tolgo il codice che c'è su viewtopic_body.html e dovrebbe togliersi pure quella fastidiosa ripetizione.