phpBB Italia chiude!
phpBB Italia ringrazia tutti gli utenti che hanno dato fiducia al nostro progetto per ben 9 anni, e che, grazie al grande lavoro fatto da tutto lo Staff (rigorosamente a titolo gratuito), hanno portato il portale a diventare il principale punto di riferimento italiano alla piattaforma phpBB.

Purtroppo, causa motivi personali, non ho più modo di gestirlo e portarlo avanti. Il forum viene ora posto in uno stato di sola lettura, nonché un archivio storico per permettere a chiunque di fruire di tutte le discussioni trattate.

Il nuovo portale di assistenza per l'Italia di phpBB diventa phpBB-Store.it, cui ringrazio per aver deciso di portare avanti questo grande progetto.

Grazie ancora,
Carlo - Amministratore di phpBB Italia

Testi non visibili ai visitatori

Supporto per phpBB 3.0.x.
Avatar utente
Haku
Utente
Utente
Messaggi: 2529
Iscritto il: 22/09/2009, 22:36
Sesso: Maschio
Versione: 3.0.9
Server: UNIX/Linux
Contatta:

Testi non visibili ai visitatori

Messaggio da Haku » 13/01/2010, 17:50

Forse è già stato trattato questo argomento o addirittura esiste una mod,ma vorrei chiedervi supporto per sapere maggiori info.
Vorrei che gli ospiti mentre gironzolano nelle mie sezioni,nei post dei topic visualizzino un testo al posto dei post,come succede qua per intenderci:
http://www.igmakers.com/forums/Thread-I ... g-Graphics

So che è possibile(penso),ma non so ove mettere mano :S o almeno,per adesso non mi viene in mente nulla ç_ç

Avatar utente
Carlo
Amministratore
Amministratore
Messaggi: 9957
Iscritto il: 19/04/2009, 10:24
Sesso: Maschio
Versione: 3.2.0
Server: UNIX/Linux
PHP: 7.1.0
Database: MySQL(i) 10.0.27-MariaDB-cll-lve
Località: Puglia
Contatta:

Re: Testi non visibili ai visitatori

Messaggio da Carlo » 13/01/2010, 17:56

Ovvero visualizzare un testo a piacere al posto del messaggio se l'utente non è loggato?
MODs | Stili | Traduzioni MOD
Ogni MP contenente una richiesta di supporto verrà ignorato.

Avatar utente
Haku
Utente
Utente
Messaggi: 2529
Iscritto il: 22/09/2009, 22:36
Sesso: Maschio
Versione: 3.0.9
Server: UNIX/Linux
Contatta:

Re: Testi non visibili ai visitatori

Messaggio da Haku » 13/01/2010, 18:21

Esatto ^^
Ho guardato sul .com,ma no ho trovato nulla di interessante :S
Vorrei attuare quel metodo per no incasinarmi e non far postare obbligamente un messaggio di presentazione ai nuovi utenti(nel caso si iscivessero...e comunque mi sta un pò sull'anima che magari uno visita,estrapola le risorse e se ne va postandole su altri forum >.<)

Avatar utente
Carlo
Amministratore
Amministratore
Messaggi: 9957
Iscritto il: 19/04/2009, 10:24
Sesso: Maschio
Versione: 3.2.0
Server: UNIX/Linux
PHP: 7.1.0
Database: MySQL(i) 10.0.27-MariaDB-cll-lve
Località: Puglia
Contatta:

Re: Testi non visibili ai visitatori

Messaggio da Carlo » 13/01/2010, 18:39

Puoi provare in questo.

Apri il template viewtopic_body.html, trova:

Codice: Seleziona tutto

<div class="content">{postrow.MESSAGE}</div>
e sostituisci con:

Codice: Seleziona tutto

<div class="content"><!-- IF not S_USER_LOGGED_IN -->messaggio per gli ospiti<!-- ELSE -->{postrow.MESSAGE}<!-- ENDIF --></div>
MODs | Stili | Traduzioni MOD
Ogni MP contenente una richiesta di supporto verrà ignorato.

Avatar utente
Haku
Utente
Utente
Messaggi: 2529
Iscritto il: 22/09/2009, 22:36
Sesso: Maschio
Versione: 3.0.9
Server: UNIX/Linux
Contatta:

Re: Testi non visibili ai visitatori

Messaggio da Haku » 14/01/2010, 0:51

Prima di verificare,se attuo questa piccolissima modifica,comporta qualche 'cambiamento' e/o 'modifica' al database?

EDIT:funziona,ma anche da sloggati,si visualizzano lo stesso i post,e subito a finaco il messaggio che dovrebbe essere visualizzato per gli ospiti.

Avatar utente
Carlo
Amministratore
Amministratore
Messaggi: 9957
Iscritto il: 19/04/2009, 10:24
Sesso: Maschio
Versione: 3.2.0
Server: UNIX/Linux
PHP: 7.1.0
Database: MySQL(i) 10.0.27-MariaDB-cll-lve
Località: Puglia
Contatta:

Re: Testi non visibili ai visitatori

Messaggio da Carlo » 14/01/2010, 7:13

Cioè? Qual'è il risultato?
MODs | Stili | Traduzioni MOD
Ogni MP contenente una richiesta di supporto verrà ignorato.

Avatar utente
Haku
Utente
Utente
Messaggi: 2529
Iscritto il: 22/09/2009, 22:36
Sesso: Maschio
Versione: 3.0.9
Server: UNIX/Linux
Contatta:

Re: Testi non visibili ai visitatori

Messaggio da Haku » 14/01/2010, 15:10

Il risultato è questo.
Da loggati:
-Testo + Testo uguale del post

Da sloggati(quindi da visitatore)
-Testo + Testo pre gli ospiti

Avatar utente
Carlo
Amministratore
Amministratore
Messaggi: 9957
Iscritto il: 19/04/2009, 10:24
Sesso: Maschio
Versione: 3.2.0
Server: UNIX/Linux
PHP: 7.1.0
Database: MySQL(i) 10.0.27-MariaDB-cll-lve
Località: Puglia
Contatta:

Re: Testi non visibili ai visitatori

Messaggio da Carlo » 14/01/2010, 15:20

Forse hai sbagliato punto... potresti allegarmi il tuo viewtopic_body.html?
MODs | Stili | Traduzioni MOD
Ogni MP contenente una richiesta di supporto verrà ignorato.

Avatar utente
Haku
Utente
Utente
Messaggi: 2529
Iscritto il: 22/09/2009, 22:36
Sesso: Maschio
Versione: 3.0.9
Server: UNIX/Linux
Contatta:

Re: Testi non visibili ai visitatori

Messaggio da Haku » 15/01/2010, 19:16

Ecco qua:

Codice: Seleziona tutto

<!-- INCLUDE overall_header.html -->

<!-- IF S_FORUM_RULES -->
	<div class="forumrules">
		<!-- IF U_FORUM_RULES -->
			<h3>{L_FORUM_RULES}</h3><br />
			<a href="{U_FORUM_RULES}"><b>{L_FORUM_RULES_LINK}</b></a>
		<!-- ELSE -->
			<h3>{L_FORUM_RULES}</h3><br />
			{FORUM_RULES}
		<!-- ENDIF -->
	</div>
    <br clear="all" />
<!-- ENDIF -->

<div id="pageheader">
    <p align="center">	
        <a class="titles" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></p>
</div><br />

<div id="pagecontent">

	<table width="100%" cellspacing="1">
	<tr>
		<td width="30%" align="{S_CONTENT_FLOW_BEGIN}" valign="middle" nowrap="nowrap">
		<!-- IF not S_IS_BOT -->
			<!-- IF S_DISPLAY_POST_INFO --><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a>&nbsp;<!-- ENDIF -->
			<!-- IF S_DISPLAY_REPLY_INFO --><a href="{U_POST_REPLY_TOPIC}">{REPLY_IMG}</a><!-- ENDIF -->
		<!-- ENDIF -->
		</td>
	<!-- IF TOTAL_POSTS -->
	<td width="70%"  align="{S_CONTENT_FLOW_END}" nowrap="nowrap">
			<table cellspacing="1" cellpadding="3" border="0" class="tablebg">
<tr>
			<td nowrap="nowrap" style="padding:1px; margin:0px;" class="pagination2">
				<span class="gensmall">&nbsp;{PAGE_NUMBER}</span>
			<span class="gensmall">&nbsp;[ {TOTAL_POSTS} ]&nbsp;</span></td>
			<!-- IF PAGINATION -->	<td class="pagination" style="padding:1px; margin:0px;" nowrap="nowrap"><!-- INCLUDE pagination2.html --></td><!-- ENDIF -->
	</tr>
		</table></td>	<!-- ENDIF -->
	</tr>
	</table>

	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<td class="cat">
			<table width="100%" cellspacing="0">
			<tr>
				<td class="nav" nowrap="nowrap">&nbsp;
				<!-- IF not S_IS_BOT -->
					<!-- IF U_WATCH_TOPIC --><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a><!-- IF U_PRINT_TOPIC or U_EMAIL_TOPIC or U_BUMP_TOPIC or U_BOOKMARK_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
					<!-- IF U_BOOKMARK_TOPIC --><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a><!-- IF U_PRINT_TOPIC or U_EMAIL_TOPIC or U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
					<!-- IF U_PRINT_TOPIC --><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}">{L_PRINT_TOPIC}</a><!-- IF U_EMAIL_TOPIC or U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
					<!-- IF U_EMAIL_TOPIC --><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}">{L_EMAIL_TOPIC}</a><!-- IF U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF -->
					<!-- IF U_BUMP_TOPIC --><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a><!-- ENDIF -->
				<!-- ENDIF -->
				</td>
				<td class="nav" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a><!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --> | <a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a><!-- ENDIF --> | <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a>&nbsp;</td>
			</tr>
			</table>
		</td>
	</tr>
<!-- IF S_HAS_POLL -->
	<tr>
		<td class="row2" colspan="2" align="center"><br clear="all" />

			<form method="post" action="{S_POLL_ACTION}">

			<table cellspacing="0" cellpadding="4" border="0" align="center">
			<tr>
				<td align="center"><span class="gen"><b>{POLL_QUESTION}</b></span><br /><span class="gensmall">{L_POLL_LENGTH}</span></td>
			</tr>
			<tr>
				<td align="{S_CONTENT_FLOW_BEGIN}">
					<table cellspacing="0" cellpadding="2" border="0">
				<!-- BEGIN poll_option -->
					<tr>
					<!-- IF S_CAN_VOTE -->
						<td>
							<!-- IF S_IS_MULTI_CHOICE -->
								<input type="checkbox" class="radio" name="vote_id[]" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> />
							<!-- ELSE -->
								<input type="radio" class="radio" name="vote_id[]" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> />
							<!-- ENDIF -->
						</td>
					<!-- ENDIF -->
						<td><span class="gen">{poll_option.POLL_OPTION_CAPTION}</span></td>
						<!-- IF S_DISPLAY_RESULTS -->
							<td dir="ltr">{POLL_LEFT_CAP_IMG}{poll_option.POLL_OPTION_IMG}{POLL_RIGHT_CAP_IMG}</td>
							<td class="gen" align="{S_CONTENT_FLOW_END}"><b>&nbsp;{poll_option.POLL_OPTION_PERCENT}&nbsp;</b></td>
							<td class="gen" align="center">[ {poll_option.POLL_OPTION_RESULT} ]</td>
							<!-- IF poll_option.POLL_OPTION_VOTED -->
								<td class="gensmall" valign="top"><b title="{L_POLL_VOTED_OPTION}">x</b></td>
							<!-- ENDIF -->
						<!-- ENDIF -->
					</tr>
				<!-- END poll_option -->
					</table>
				</td>
			</tr>
		<!-- IF S_CAN_VOTE -->
			<tr>
				<td align="center"><span class="gensmall">{L_MAX_VOTES}</span><br /><br /><input type="submit" name="update" value="{L_SUBMIT_VOTE}" class="btnlite" /></td>
			</tr>
		<!-- ENDIF -->
		<!-- IF S_DISPLAY_RESULTS -->
			<tr>
				<td class="gensmall" colspan="4" align="center"><b>{L_TOTAL_VOTES} : {TOTAL_VOTES}</b></td>
			</tr>
		<!-- ELSE -->
			<tr>
				<td align="center"><span class="gensmall"><b><a href="{U_VIEW_RESULTS}">{L_VIEW_RESULTS}</a></b></span></td>
			</tr>
		<!-- ENDIF -->
			</table>
			{S_HIDDEN_FIELDS}
			
			{S_FORM_TOKEN}
			</form>
			
		</td>
	</tr>
<!-- ENDIF -->
	</table>

	<!-- BEGIN postrow -->


	<table class="tablebg" width="100%" cellspacing="1">

		<tr>
			<th colspan="6"><p align="left">{postrow.POST_DATE}</p></th>
		
		</tr>	
	<tr>

	<!-- IF postrow.S_IGNORE_POST -->
			<td class="row2" colspan="2" height="25" align="center"><!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF --><a name="p{postrow.POST_ID}"></a>{postrow.L_IGNORE_POST}</td>
	<!-- ELSE -->

			<td class="row2" align="center" valign="middle">	
		
				<!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF --><a name="p{postrow.POST_ID}"></a>
				<a class="postauthor" style="text-decoration:none;" href="{postrow.U_PROFILE}"><span class="postauthor"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{postrow.POST_AUTHOR}</span></a>
			</td>
			<td class="row1" width="100%" height="25">
				<table width="100%" cellspacing="0">
				<tr>
				<!-- IF postrow.POST_ICON_IMG -->
					<td class="row1"><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" title="" /></td>
				<!-- ENDIF -->
				<td class="row1" width="100%">
		<div style="float: {S_CONTENT_FLOW_BEGIN};">&nbsp;<span class="genmed"><b><a href="#p{postrow.POST_ID}">{postrow.POST_SUBJECT}</a></b></span></div> 
		
	</td>
				</tr>
				</table>
			</td>
		</tr>
		
	<tr>

			<td class="row2" valign="top">
				<table cellspacing="4" align="center" width="170">
				<!-- IF postrow.ONLINE_IMG -->
		        <tr>
					<td>{postrow.ONLINE_IMG}</td>
				</tr>
		
		<!-- ENDIF -->
		<!-- IF postrow.RANK_TITLE -->
				<tr>
					<td>{postrow.RANK_TITLE}</td>
				</tr>
			<!-- ENDIF -->
			<!-- IF postrow.RANK_IMG -->
				<tr>
					<td>{postrow.RANK_IMG}</td>
				</tr>
			<!-- ENDIF -->
			<!-- IF postrow.POSTER_AVATAR -->
				<tr>
					<td>{postrow.POSTER_AVATAR}</td>
				</tr>
			<!-- ENDIF -->
			<!-- IF not (postrow.ONLINE_IMG or postrow.RANK_TITLE or postrow.RANK_IMG or postrow.POSTER_AVATAR) -->
				<tr>
					<td></td>
				</tr>
			<!-- ENDIF -->
				</table>

			
							<!-- IF postrow.POSTER_JOINED --><div class="postdetails"><b>{L_JOINED}:</b> {postrow.POSTER_JOINED}</div><!-- ENDIF -->
					<!-- IF postrow.POSTER_POSTS != '' --><div class="postdetails"><b>{L_POSTS}:</b> {postrow.POSTER_POSTS}</div><!-- ENDIF -->
			
					<!-- IF postrow.POSTER_AGE != '' --><div class="postdetails"><b>{L_AGE}:</b> {postrow.POSTER_AGE}</div><!-- ENDIF -->
					<!-- IF postrow.POSTER_FROM --><div class="postdetails"><b>{L_LOCATION}:</b> {postrow.POSTER_FROM}</div><!-- ENDIF -->
					<!-- IF postrow.S_PROFILE_FIELD1 -->
						<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
						<div class="postdetails"><b>{postrow.PROFILE_FIELD1_NAME}:</b> {postrow.PROFILE_FIELD1_VALUE}</div>
					<!-- ENDIF -->

					<!-- BEGIN custom_fields -->
						<div class="postdetails"><b>{postrow.custom_fields.PROFILE_FIELD_NAME}:</b> {postrow.custom_fields.PROFILE_FIELD_VALUE}</div>
					<!-- END custom_fields -->
					
					<!-- IF postrow.U_PROFILE -->
					    <div class="postdetails"><a href="{postrow.U_PROFILE}"><b>{L_READ_PROFILE}</b></a></div>
					<!-- ENDIF -->
					<!-- IF postrow.U_PM -->
					    <div class="postdetails"><a href="{postrow.U_PM}"><b>{L_SEND_PRIVATE_MESSAGE}</b></a></div>
					<!-- ENDIF -->
					<!-- IF postrow.U_EMAIL -->
					    <div class="postdetails"><a href="{postrow.U_EMAIL}"><b>{L_SEND_EMAIL_USER}</b></a></div>
					<!-- ENDIF --><br />
				</td>
			<td class="row1" valign="top">
				<table width="100%" cellspacing="5">
				<tr>
					<td class="row1">
					<!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED -->
						<table width="100%" cellspacing="0">
						<tr>
							<td class="gensmall"><!-- IF postrow.S_POST_UNAPPROVED --><span class="postapprove">{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}">{L_POST_UNAPPROVED}</a></span><br /> <!-- ENDIF --> <!-- IF postrow.S_POST_REPORTED --><span class="postreported">{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}">{L_POST_REPORTED}</a></span><!-- ENDIF --></td>
						</tr>
						</table>

						<br clear="all" />
					<!-- ENDIF -->

						<div class="postbody">{postrow.MESSAGE}<!-- IF not S_USER_LOGGED_IN -->messaggio per gli ospiti<!-- ELSE -->{postrow.MESSAGE}<!-- ENDIF --></div>

					<!-- IF postrow.S_HAS_ATTACHMENTS -->
						<br clear="all" /><br />

						<table class="tablebg" width="100%" cellspacing="1">
						<tr>
							<td class="row3"><b class="genmed">{L_ATTACHMENTS}: </b></td>
						</tr>
						<!-- BEGIN attachment -->
							<tr>
								<td class="row1">{postrow.attachment.DISPLAY_ATTACHMENT}</td>
							</tr>
						<!-- END attachment -->
						</table>
					<!-- ENDIF -->

					<!-- IF postrow.S_DISPLAY_NOTICE -->
						<span class="gensmall error"><br /><br />{L_DOWNLOAD_NOTICE}</span>
					<!-- ENDIF -->

					<!-- IF postrow.SIGNATURE -->

						<span class="postbody"><br /><img src="http://img51.imageshack.us/img51/2481/firma2n.gif"><br />{postrow.SIGNATURE}</span>
					<!-- ENDIF -->

					<!-- IF postrow.EDITED_MESSAGE or postrow.EDIT_REASON -->
						<!-- IF postrow.EDIT_REASON -->
							<br /><br />
							<table class="tablebg" width="100%" cellspacing="1">
							<tr>
								<td class="row3"><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
							</tr>
							<tr>
								<td class="row2"><span class="genmed">{postrow.EDIT_REASON}</span></td>
							</tr>
							</table>
						<!-- ELSE -->
							<br /><br />
							<span class="gensmall">{postrow.EDITED_MESSAGE}</span>
						<!-- ENDIF -->
					<!-- ENDIF -->

					<!-- IF postrow.BUMPED_MESSAGE -->
						<span class="gensmall"><br /><br />{postrow.BUMPED_MESSAGE}</span>
					<!-- ENDIF -->

					<!-- IF not postrow.S_HAS_ATTACHMENTS --><br clear="all" /><br /><!-- ENDIF -->

						<table width="100%" cellspacing="0">
						<tr valign="middle">
							<td class="gensmall" align="{S_CONTENT_FLOW_END}">
							<!-- IF not S_IS_BOT -->
								<!-- IF postrow.U_REPORT --><a href="{postrow.U_REPORT}">{REPORT_IMG}</a> <!-- ENDIF --> 
								<!-- IF postrow.U_INFO --><a href="{postrow.U_INFO}">{INFO_IMG}</a> <!-- ENDIF --> 
								<!-- IF postrow.U_WARN --><a href="{postrow.U_WARN}">{WARN_IMG}</a> <!-- ENDIF --> 
								
							<!-- ENDIF -->
							</td>
						</tr>
						</table>
					</td>
				</tr>
				</table>
			</td>
		</tr>

	<tr>

			<td class="row2"><img src="{T_THEME_PATH}/images/icon_top.gif" width="13" height="12" alt="{L_BACK_TO_TOP}" />&nbsp;<a href="#top"><strong>{L_BACK_TO_TOP}</strong></a></td>
			<td class="row1"><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};">&nbsp;
			<!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{PROFILE_IMG}</a> <!-- ENDIF -->
			<!-- IF postrow.U_PM --><a href="{postrow.U_PM}">{PM_IMG}&nbsp;</a> <!-- ENDIF --> 
			<!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}">{EMAIL_IMG}&nbsp;</a> <!-- ENDIF -->
			<!-- IF postrow.U_WWW --><a href="{postrow.U_WWW}">{WWW_IMG}&nbsp;</a><!-- ENDIF -->
			<!-- IF postrow.U_MSN --><a href="{postrow.U_MSN}" onclick="popup(this.href, 550, 320); return false;">{MSN_IMG}&nbsp;</a><!-- ENDIF -->
			<!-- IF postrow.U_ICQ --><a href="{postrow.U_ICQ}" onclick="popup(this.href, 550, 320); return false;">{ICQ_IMG}&nbsp;</a><!-- ENDIF -->
			<!-- IF postrow.U_YIM --><a href="{postrow.U_YIM}" onclick="popup(this.href, 780, 550); return false;">{YIM_IMG}&nbsp;</a><!-- ENDIF -->
			<!-- IF postrow.U_AIM --><a href="{postrow.U_AIM}" onclick="popup(this.href, 550, 320); return false;">{AIM_IMG}&nbsp;</a><!-- ENDIF -->
			<!-- IF postrow.U_JABBER --><a href="{postrow.U_JABBER}" onclick="popup(this.href, 550, 320); return false;">{JABBER_IMG}&nbsp;</a><!-- ENDIF -->
			
			
			</div>
				<div style="float: {S_CONTENT_FLOW_END};">&nbsp;
		<!-- IF postrow.U_EDIT --><a href="{postrow.U_EDIT}">{EDIT_IMG}&nbsp;</a> <!-- ENDIF --> <!-- IF postrow.U_QUOTE --><a href="{postrow.U_QUOTE}">{QUOTE_IMG}&nbsp;</a> <!-- ENDIF --><!-- IF postrow.U_DELETE --><a href="{postrow.U_DELETE}">{DELETE_IMG}&nbsp;</a> <!-- ENDIF --></div>
			</td>
		</tr>

	<!-- ENDIF -->
		<!-- IF not postrow.S_FIRST_ROW and not S_IS_BOT -->
		
<p>	<img src="{T_THEME_PATH}/images/bosluk.gif" width="5" height="5" alt="#" /></p>
			
		<!-- ENDIF -->
	
	</table>
<!-- END postrow -->
<!-- IF not S_IS_BOT -->
	<table width="100%" cellspacing="1" class="tablebg">
	<tr align="center">
		<td class="cat"><form name="viewtopic" method="post" action="{S_TOPIC_ACTION}"><span class="gensmall">{L_DISPLAY_POSTS}:</span> {S_SELECT_SORT_DAYS}&nbsp;<span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR}&nbsp;<input class="btnlite" type="submit" value="{L_GO}" name="sort" /></form></td>
	</tr>
	</table>	<!-- ENDIF -->

	<table width="100%" cellspacing="1">
	<tr>
		<td align="{S_CONTENT_FLOW_BEGIN}" width="30%"  valign="middle" nowrap="nowrap">
		<!-- IF not S_IS_BOT -->
			<!-- IF S_DISPLAY_POST_INFO --><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a>&nbsp;<!-- ENDIF -->
			<!-- IF S_DISPLAY_REPLY_INFO --><a href="{U_POST_REPLY_TOPIC}">{REPLY_IMG}</a><!-- ENDIF -->
		<!-- ENDIF -->
		</td>
		<!-- IF TOTAL_POSTS -->
		
<td width="70%"  align="{S_CONTENT_FLOW_END}" nowrap="nowrap">
			<table cellspacing="1" cellpadding="3" border="0" class="tablebg">
<tr>
			<td nowrap="nowrap" style="padding:1px; margin:0px;" class="pagination2">
				<span class="gensmall">&nbsp;{PAGE_NUMBER}</span>
			<span class="gensmall">&nbsp;[ {TOTAL_POSTS} ]&nbsp;</span></td>
			<!-- IF PAGINATION -->	<td class="pagination" style="padding:1px; margin:0px;" nowrap="nowrap"><!-- INCLUDE pagination2.html --></td><!-- ENDIF -->
	</tr>
		</table></td>
		<!-- ENDIF -->
	</tr>
	</table>

</div>



<div id="pagefooter"></div>

<br clear="all" />
<!-- IF S_QUICK_REPLY -->
<!-- INCLUDE quickreply_editor.html -->
<!-- ENDIF -->
<!-- INCLUDE breadcrumbs.html -->

<!-- IF S_DISPLAY_ONLINE_LIST -->
	<br clear="all" />

	<table class="tablebg" width="100%" cellspacing="1">
	<tr>
		<td class="cat"><h4>{L_WHO_IS_ONLINE}</h4></td>
	</tr>
	<tr>
		<td class="row1"><p class="gensmall">{LOGGED_IN_USER_LIST}</p></td>
	</tr>
	</table>
<!-- ENDIF -->

<br clear="all" />

<table width="100%" cellspacing="1">
<tr>
	<td width="40%" valign="top" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><!-- IF S_TOPIC_MOD --><form method="post" action="{S_MOD_ACTION}"><span class="gensmall">{L_QUICK_MOD}:</span> {S_TOPIC_MOD} <input class="btnlite" type="submit" value="{L_GO}" /></form><!-- ENDIF --></td>
	<td align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><span class="gensmall"><!-- BEGIN rules -->{rules.RULE}<br /><!-- END rules --></span><br /><!-- IF MODERATORS -->
	<p class="moderators"><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->: {MODERATORS}</p>
<!-- ENDIF --></td>
</tr>
</table>

<br clear="all" />

<table width="100%" cellspacing="0">
<tr>
	<td><!-- IF S_DISPLAY_SEARCHBOX --><!-- INCLUDE searchbox.html --><!-- ENDIF --></td>
	<td align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></td>
</tr>
</table>

<!-- INCLUDE overall_footer.html -->
Siccome uso lo stile vbulletin(ma basato su subsilver),le modifiche le puoi trovare in questo punto:

Codice: Seleziona tutto

<div class="postbody">{postrow.MESSAGE}

Avatar utente
Carlo
Amministratore
Amministratore
Messaggi: 9957
Iscritto il: 19/04/2009, 10:24
Sesso: Maschio
Versione: 3.2.0
Server: UNIX/Linux
PHP: 7.1.0
Database: MySQL(i) 10.0.27-MariaDB-cll-lve
Località: Puglia
Contatta:

Re: Testi non visibili ai visitatori

Messaggio da Carlo » 15/01/2010, 20:40

Ehm... io ho detto bene, sei tu che hai sbagliato.

Nel tuo template hai:

Codice: Seleziona tutto

<div class="postbody">{postrow.MESSAGE}<!-- IF not S_USER_LOGGED_IN -->messaggio per gli ospiti<!-- ELSE -->{postrow.MESSAGE}<!-- ENDIF --></div>
Come puoi vedere {postrow.MESSAGE} c'è sempre 2 volte, di cui il primo è fuori dalla condizione, per ciò vedi sempre il messaggio.

Io ti avevo detto di sostituirlo con:

Codice: Seleziona tutto

<div class="postbody"><!-- IF not S_USER_LOGGED_IN -->messaggio per gli ospiti<!-- ELSE -->{postrow.MESSAGE}<!-- ENDIF --></div>
MODs | Stili | Traduzioni MOD
Ogni MP contenente una richiesta di supporto verrà ignorato.

Rispondi

Torna a “[3.0.x] Forum di Supporto”

Chi c’è in linea

Visitano il forum: Nessuno e 84 ospiti