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

[Wiki] aggiungere il "condividi su" dopo il primo post

Modifiche allo stile (template e tema).
Avatar utente
Micogian
Leader Programmatori
Leader Programmatori
Messaggi: 3704
Iscritto il: 07/01/2010, 8:51
Versione: 3.2.0
Server: UNIX/Linux
PHP: 5.4.36
Database: MySQL 5.1.70-log
Località: Udine
Contatta:

Re: Come aggiungere il "condividi su" dopo il primo post

Messaggio da Micogian » 24/11/2011, 21:12

lenders ha scritto:Non ho capito perche esce quella linea bianca
E' il css "row" che inserisce una riga. La classe "row" viene usata per separare i campi nella Lista dei Topics.
Prova così:

Codice: Seleziona tutto

<li class="row" style="border: 0;">

Avatar utente
lenders
phpBB Expert
phpBB Expert
Messaggi: 713
Iscritto il: 22/06/2010, 14:28
Sesso: Maschio
Versione: 3.0.10
Server: UNIX/Linux
Database: MySQL(i) 5.1.49-community-log
Località: Napoli
Contatta:

Re: Come aggiungere il "condividi su" dopo il primo post

Messaggio da lenders » 24/11/2011, 21:24

Non cambia nulla

Avatar utente
Micogian
Leader Programmatori
Leader Programmatori
Messaggi: 3704
Iscritto il: 07/01/2010, 8:51
Versione: 3.2.0
Server: UNIX/Linux
PHP: 5.4.36
Database: MySQL 5.1.70-log
Località: Udine
Contatta:

Re: Come aggiungere il "condividi su" dopo il primo post

Messaggio da Micogian » 24/11/2011, 22:22

Non è il "row", è il <dd>
In tutti 4 i dd devi inserire il border-left: 0; :

Codice: Seleziona tutto

    <div class="forabg">
       <div class="inner"><span class="corners-top"><span></span></span>
          <ul class="topiclist">
             <li class="header">
                <dl class="icon">
                   <dt>Condividi questa discussione</dt>
                   <dd class="information"></dd>
                </dl>
             </li>
          </ul>
          <ul class="topiclist">
             <li class="row">
                <dl style="width: 100%; margin-left: 5px; font-size: 1.2em;">
                        <dd style="width: 70%; border-left: 0;">Aiuta ad aumentare la popolarità di {SITENAME} condividendo la pagina!</dd>
                        <dd style="width: 15%; border-left: 0;text-align: center;">
                            <a name="fb_share" type="button_count" share_url="" href="http://www.facebook.com/sharer.php">Condividi su Facebook</a>
                        </dd>
                            <script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
                   <dd style="width: 7%; border-left: 0;text-align: center;">
                            <!-- Place this tag where you want the +1 button to render -->
                            <g:plusone size="medium" annotation="none"></g:plusone>
                            <!-- Place this render call where appropriate -->
                            <script type="text/javascript">
                            window.___gcfg = {lang: 'it'};
                            (function()
                               {
                               var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
                               po.src = 'https://apis.google.com/js/plusone.js';
                               var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
                               }
                            )();
                            </script>
                        </dd>
                        <dd style="width: 7%;border-left: 0; text-align: center;">
                            <a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-via="vostronick" data-lang="it">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>
                        </dd>
                </dl>
                <div style="float:clear;"></div>
             </li>
          </ul>
          <span class="corners-bottom"><span></span></span>
       </div>
    </div>

Avatar utente
lenders
phpBB Expert
phpBB Expert
Messaggi: 713
Iscritto il: 22/06/2010, 14:28
Sesso: Maschio
Versione: 3.0.10
Server: UNIX/Linux
Database: MySQL(i) 5.1.49-community-log
Località: Napoli
Contatta:

Re: Come aggiungere il "condividi su" dopo il primo post

Messaggio da lenders » 24/11/2011, 22:30

Yes,adesso và bene..

La_Tati
Utente
Utente
Messaggi: 29
Iscritto il: 30/11/2011, 15:27
Sesso: Femmina
Versione: 3.0.9
Server: UNIX/Linux
PHP: 5.2.2
Database: MySQL(i) 5.0.67

Re: Come aggiungere il "condividi su" dopo il primo post

Messaggio da La_Tati » 02/12/2011, 12:51

Salve a tutti, sono in vena di restyling del mio forum. Ho trovato questa Mod molto interessante e mi piacerebbe inserirla. Premetto che sono una schiappa e quindi abbiate pazienza :D Ma nonostante abbia letto i vari post creandomi anche una certa confusione :shock: non sono riuscita sul mio template etech con base sibsilver2, a trovare nel viewtopic_body.html qui sotto riportato, il punto dove aggiungere le stringhe.


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">
	<h2><a class="titles" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></h2>

<!-- IF MODERATORS -->
	<p class="moderators"><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->: {MODERATORS}</p>
<!-- ENDIF -->
<!-- IF U_MCP -->
	<p class="linkmcp">[ <a href="{U_MCP}">{L_MCP}</a> ]</p>
<!-- ENDIF -->
</div>

<br clear="all" /><br />

<div id="pagecontent">

	<table width="100%" cellspacing="1">
	<tr>
		<!-- IF not S_IS_BOT -->
			<td align="{S_CONTENT_FLOW_BEGIN}" valign="middle" nowrap="nowrap">
				<!-- IF S_DISPLAY_REPLY_INFO --><a href="{U_POST_REPLY_TOPIC}">{REPLY_IMG}</a><!-- ENDIF -->
			</td>
		<!-- ENDIF -->
		<!-- IF TOTAL_POSTS -->
			<td class="nav" valign="middle" nowrap="nowrap">&nbsp;{PAGE_NUMBER}<br /></td>
			<td class="gensmall" nowrap="nowrap">&nbsp;[ {TOTAL_POSTS} ]&nbsp;</td>
			<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
		<!-- ENDIF -->
	</tr>
	</table>

			<table width="100%" cellspacing="0">
			<tr>
				<td class="nav" nowrap="nowrap">
				<!-- 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>
<!-- IF S_HAS_POLL -->
	{$CA_BLOCK_START}
	{$CA_CAP2_START}{TOPIC_TITLE}{$CA_CAP2_END}
	<table class="tablebg" width="100%" cellspacing="{$CA_SPACING}">
	<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" class="poll">
			<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>
						<td><span class="gen">
							<!-- IF S_CAN_VOTE -->
								<label>
								<!-- 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 -->
							<!-- ENDIF -->
							{poll_option.POLL_OPTION_CAPTION}
							<!-- IF S_CAN_VOTE --></label><!-- ENDIF -->
						</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>
	</table>
	{$CA_BLOCK_END}
	<br />
<!-- ENDIF -->

<!-- BEGIN postrow -->
	<!-- IF postrow.S_FIRST_ROW or $CA_SPLIT_POSTS -->
	{$CA_BLOCK_START}
	{$CA_CAP2_START}{TOPIC_TITLE}{$CA_CAP2_END}
	<table class="tablebg" width="100%" cellspacing="{$CA_SPACING}">
        <!-- IF not $CA_SPLIT_POSTS -->
        <tr>
            <th>{L_AUTHOR}</th>
            <th width="100%">{L_MESSAGE}</th>
        </tr>
        <!-- ENDIF -->
	<!-- ENDIF -->
	<!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->

	<!-- IF postrow.S_IGNORE_POST -->
			<td class="gensmall row" 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 align="center" valign="top" class="row">
				<!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF --><a name="p{postrow.POST_ID}"></a>
				<div class="postauthor"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{postrow.POST_AUTHOR}</div>
				<!-- IF postrow.ONLINE_IMG && postrow.S_ONLINE --><div class="postonline">{postrow.ONLINE_IMG}</div><!-- ENDIF -->
				<!-- IF postrow.RANK_TITLE --><div class="posterrank">{postrow.RANK_TITLE}</div><!-- ENDIF -->
				<!-- IF postrow.RANK_IMG --><div class="postrankimg">{postrow.RANK_IMG}</div><!-- ENDIF -->
				<!-- IF postrow.POSTER_AVATAR --><div class="postavatar">{postrow.POSTER_AVATAR}</div><!-- ENDIF -->

				<div class="postdetails">
					<!-- IF postrow.POSTER_JOINED --><br /><b>{L_JOINED}:</b> {postrow.POSTER_JOINED}<!-- ENDIF -->
					<!-- IF postrow.POSTER_POSTS != '' --><br /><b>{L_POSTS}:</b> {postrow.POSTER_POSTS}<!-- ENDIF -->
					<!-- IF postrow.POSTER_FROM --><br /><b>{L_LOCATION}:</b> {postrow.POSTER_FROM}<!-- 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. -->
						<br /><b>{postrow.PROFILE_FIELD1_NAME}:</b> {postrow.PROFILE_FIELD1_VALUE}
					<!-- ENDIF -->

					<!-- BEGIN custom_fields -->
						<br /><b>{postrow.custom_fields.PROFILE_FIELD_NAME}:</b> {postrow.custom_fields.PROFILE_FIELD_VALUE}
					<!-- END custom_fields -->
				</div>
				<img src="{T_THEME_PATH}/images/spacer.gif" width="120" height="1" alt="" />
			</td>
			<td width="100%" height="25" class="row" valign="top">
				<!-- IF not S_IS_BOT --><div style="float: {S_CONTENT_FLOW_END};"><!-- IF postrow.U_EDIT --><a href="{postrow.U_EDIT}">{EDIT_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_QUOTE --><a href="{postrow.U_QUOTE}">{QUOTE_IMG}</a><!-- ENDIF --></div><!-- ENDIF -->
				<div class="postsubject"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}"><!-- IF postrow.POST_ICON_IMG --><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" /><!-- ELSE -->{postrow.MINI_POST_IMG}<!-- ENDIF --></a><!-- ENDIF -->&nbsp;<a href="#p{postrow.POST_ID}">{postrow.POST_SUBJECT}</a></div>

					<!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED -->
						<div 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 --></div>
					<!-- ENDIF -->

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

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

						<div class="attachwrapper"><div class="attachtitle">{L_ATTACHMENTS}:</div>
						<!-- BEGIN attachment -->
						<div class="attachcontent">{postrow.attachment.DISPLAY_ATTACHMENT}</div>
						<!-- END attachment -->
						</div>
					<!-- ENDIF -->

					<!-- IF postrow.S_DISPLAY_NOTICE -->
						<span class="gensmall error"><br /><br />{L_DOWNLOAD_NOTICE}</span>
					<!-- ENDIF -->
					<!-- IF postrow.SIGNATURE -->
						<div class="postbody signature"><br /><span class="line">_________________</span><br />{postrow.SIGNATURE}</div>
					<!-- ENDIF -->

					<!-- IF postrow.EDITED_MESSAGE or postrow.EDIT_REASON -->
						<!-- IF postrow.EDIT_REASON -->
							<br /><br />
							<div class="edited">
								<p class="gensmall">{postrow.EDITED_MESSAGE}</p>
								<p class="genmed">{postrow.EDIT_REASON}</p>
							</div>
						<!-- ELSE -->
							<br /><br />
							<div class="edited">
    							<p class="gensmall">{postrow.EDITED_MESSAGE}</p>
    						</div>
						<!-- 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 -->
			</td>
		</tr>

		<!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->

			<td class="postbottom" align="center">{postrow.POST_DATE}</td>
			<td class="postbottom postbuttons" valign="middle">
				<!-- IF not S_IS_BOT -->
					<div style="float: {S_CONTENT_FLOW_END}">
					<!-- 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 --> 
					<!-- IF postrow.U_DELETE --><a href="{postrow.U_DELETE}">{DELETE_IMG}</a> <!-- ENDIF -->
					</div>
				<!-- ENDIF -->
				<!-- 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}</a> <!-- ENDIF --> 
				<!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF --> 
                <!-- IF postrow.U_MSN --><a href="{postrow.U_MSN}">{MSN_IMG}</a> <!-- ENDIF --> 
                <!-- IF postrow.U_ICQ --><a href="{postrow.U_ICQ}">{ICQ_IMG}</a> <!-- ENDIF --> 
                <!-- IF postrow.U_YIM --><a href="{postrow.U_YIM}">{YIM_IMG}</a> <!-- ENDIF --> 
                <!-- IF postrow.U_AIM --><a href="{postrow.U_AIM}">{AIM_IMG}</a> <!-- ENDIF --> 
                <!-- IF postrow.U_JABBER --><a href="{postrow.U_JABBER}">{JABBER_IMG}</a> <!-- ENDIF --> 
				<!-- IF postrow.U_WWW --><a href="{postrow.U_WWW}">{WWW_IMG}</a> <!-- ENDIF -->
			</td>
    	<!-- ENDIF -->
		</tr>
	<!-- IF $CA_SPLIT_POSTS and not postrow.S_LAST_ROW -->
	</table>
	{$CA_BLOCK_END}
	<br />
	<!-- ELSEIF not $CA_SKIP_LAST_SPACER or not postrow.S_LAST_ROW -->
	<tr>
		<td class="spacer" colspan="2" height="1"><img src="{T_THEME_PATH}/images/spacer.gif" alt="" width="1" height="1" /></td>
	</tr>
	<!-- ENDIF -->
<!-- BEGINELSE -->
	{$CA_BLOCK_START}
	{$CA_CAP2_START}{TOPIC_TITLE}{$CA_CAP2_END}
	<table class="tablebg" width="100%" cellspacing="{$CA_SPACING}">
<!-- END postrow -->
    <!-- IF not S_IS_BOT -->
	<tr>
		<td class="cat" colspan="2" align="center"><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>
	<!-- ENDIF -->
	</table>
	{$CA_BLOCK_END}

	<table width="100%" cellspacing="1">
	<tr>
		<!-- IF not S_IS_BOT -->
			<td align="{S_CONTENT_FLOW_BEGIN}" valign="middle" nowrap="nowrap">
				<!-- IF S_DISPLAY_REPLY_INFO --><a href="{U_POST_REPLY_TOPIC}">{REPLY_IMG}</a>&nbsp;<!-- ENDIF -->
				<!-- IF S_QUICK_REPLY --><a href="javascript:void(0);" onclick="var qr = document.getElementById('ca-qr'); qr.style.display = (qr.style.display == 'none') ? '' : 'none'; return false;"><img src="{T_IMAGESET_LANG_PATH}/quick_reply.gif" alt="{L_QUICKREPLY}" /></a><!-- ENDIF -->
			</td>
		<!-- ENDIF -->
		<!-- IF TOTAL_POSTS -->
			<td class="nav" valign="middle" nowrap="nowrap">&nbsp;{PAGE_NUMBER}<br /></td>
			<td class="gensmall" nowrap="nowrap">&nbsp;[ {TOTAL_POSTS} ]&nbsp;</td>
			<td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td>
		<!-- ENDIF -->
	</tr>
	</table>

</div>

<!-- IF S_QUICK_REPLY -->
<!-- INCLUDE quickreply_editor.html -->
<!-- ENDIF -->

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

<!-- INCLUDE breadcrumbs.html -->

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

	<table class="tablebg" width="100%" cellspacing="{$CA_SPACING}">
	<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></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 -->
oppure ho letto che si può fare un foglio html a parte in questo caso può andar bene quello postato da Micogian? Gradirei sapere, se c'è un modo di mettere queste modifiche da una parte, in modo di non perderle con gli aggiornamenti.

Grazie[/b]

Angolo
Leader Traduttori
Leader Traduttori
Messaggi: 7237
Iscritto il: 11/03/2011, 17:37
Sesso: Maschio
Versione: 3.0.12
Server: UNIX/Linux
PHP: 5.6.18
Database: MySQL 5.6.33-log
Contatta:

Re: Come aggiungere il "condividi su" dopo il primo post

Messaggio da Angolo » 02/12/2011, 17:50

Mi spiace, ma non diamo supporto a chi avendo la 3.0.9, non ha la traduzione aggiornata, ovvero, non espone i nostri crediti. Aggiorna la traduzione prima di ogni cosa.

Dopo, prima di attuare modifiche allo stile, assicurati nel tuo interesse, che anche questo sia aggiornato alla 3.0.9

Correggi per favore anche il link del profilo, che dà errore.

La_Tati
Utente
Utente
Messaggi: 29
Iscritto il: 30/11/2011, 15:27
Sesso: Femmina
Versione: 3.0.9
Server: UNIX/Linux
PHP: 5.2.2
Database: MySQL(i) 5.0.67

Re: Come aggiungere il "condividi su" dopo il primo post

Messaggio da La_Tati » 03/12/2011, 11:41

sistemato tutto... adesso è possibile avere assistenza? :roll:

Avatar utente
Micogian
Leader Programmatori
Leader Programmatori
Messaggi: 3704
Iscritto il: 07/01/2010, 8:51
Versione: 3.2.0
Server: UNIX/Linux
PHP: 5.4.36
Database: MySQL 5.1.70-log
Località: Udine
Contatta:

Re: Come aggiungere il "condividi su" dopo il primo post

Messaggio da Micogian » 03/12/2011, 12:08

Le indicazioni di cosa fare mi sembra che ci siano, si tratta di creare un file esterno di nome condividi.html e di inserirlo (è indicato anche dove) nel template con la funzione "INCLUDE".
Questa la possiamo metetre anche subito dopo il primo post che è rappresdentato dal seguente codice (IF postrow.S_FIRST_ROW indica la prima riga del Topic):

Codice: Seleziona tutto

<!-- BEGIN postrow -->
   <!-- IF postrow.S_FIRST_ROW or $CA_SPLIT_POSTS -->
   {$CA_BLOCK_START}
   {$CA_CAP2_START}{TOPIC_TITLE}{$CA_CAP2_END}
   <table class="tablebg" width="100%" cellspacing="{$CA_SPACING}">
        <!-- IF not $CA_SPLIT_POSTS -->
        <tr>
            <th>{L_AUTHOR}</th>
            <th width="100%">{L_MESSAGE}</th>
        </tr>
        <!-- ENDIF -->
   <!-- ENDIF -->
Prima dell'ultimo <!-- ENDIF --> inseriamo l'include

Codice: Seleziona tutto

<!-- INCLUDE condividi.html -->
in pratica dopo il primo post.

La_Tati
Utente
Utente
Messaggi: 29
Iscritto il: 30/11/2011, 15:27
Sesso: Femmina
Versione: 3.0.9
Server: UNIX/Linux
PHP: 5.2.2
Database: MySQL(i) 5.0.67

Re: Come aggiungere il "condividi su" dopo il primo post

Messaggio da La_Tati » 03/12/2011, 12:29

Grazie Micogian :oops: in effetti a rileggere il tuo post precedente lo avevi anche scritto. Ho letto troppe guide tutte insieme, quel giorno :roll: e sono andata in tilt :D La proverò appena riesco a mettere il forum in locale, che l'ultima modifica che ho fatto su remoto mi ha creato un po' di problemi.
Una curiosità riguardo a questa mod, i tasti di condivisione possono essere cliccati anche gli ospiti, sarebbe davvero una buona cosa per pubblicizzare il forum. Grazie di nuovo.

Ch4OSm4n
Utente
Utente
Messaggi: 6
Iscritto il: 14/12/2011, 10:59
Sesso: Maschio
Versione: 3.0.11

Re: Come aggiungere il "condividi su" dopo il primo post

Messaggio da Ch4OSm4n » 14/12/2011, 11:01

Ciao a tutti. Io ho un problema: il blocco da inserire funziona tranquillamente, l'unica cosa è che quando poi clicco, ad esempio, su "condividi su facebook" e appare 1 perchè automaticamente ha messo " mi piace", poi, riaggiornando la pagina, l'1 del mi piace scompare, come se non ci fosse nessun mi piace. Perchè? Grazie :)

Bloccato

Torna a “Stili”

Chi c’è in linea

Visitano il forum: Nessuno e 34 ospiti