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

stile forum, icona forum, forum tipo link

Supporto stili in generale.
Rispondi
wolfff81
Utente
Utente
Messaggi: 22
Iscritto il: 25/06/2011, 20:15
Versione: 3.0.8
Server: Windows
PHP: 5.2.12
Database: mysql

stile forum, icona forum, forum tipo link

Messaggio da wolfff81 » 29/06/2011, 18:08

ciao, non so se queste domande riguardano mod

1. se volessi modificare il css di un forum in elenco o di una categoria (es modificare il colore del bordo del box o del titolo del link per accedere ad un forum) ecc.. come posso fare?

2. ho messo una icona tramite mia png nelle impostazioni di alcuni forum. me la fa vedere bene ma essendo trasparente lo sfondo del png, sotto mi rimane l'icona standard del forum. come faccio a togliere quest'ultima?

3. c'è un modo per far si che quando si clicca su un titolo-link di una categoria, il link si apra in un popup (settando anche le dimensioni e gli altri parametri della popup) o che almeno si possa dire di volta in volta quale target?

per ora è sufficiente.. grazie ciao

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: stile forum, icona forum, forum tipo link

Messaggio da Carlo » 30/06/2011, 19:49

1) Per un singolo forum non lo puoi fare, ma per tutti. Se vuoi sapere cosa devi esattamente toccare, devi specificare lo stile utilizzato.

2) Non ho capito bene. Potresti inserire uno screenshot?

3) Non credo, perchè in alcuni casi non c'è nessuna variabile lato template che specifichi se si tratta di una categoria o di un forum.
MODs | Stili | Traduzioni MOD
Ogni MP contenente una richiesta di supporto verrà ignorato.

wolfff81
Utente
Utente
Messaggi: 22
Iscritto il: 25/06/2011, 20:15
Versione: 3.0.8
Server: Windows
PHP: 5.2.12
Database: mysql

Re: stile forum, icona forum, forum tipo link

Messaggio da wolfff81 » 02/07/2011, 18:26

Riguardo all'icona personalizzata del forum indendo questo. Vedi l'allegato. La lampadina l'ho indicata nel pannello admin.
Ho provato ad aprire con normale editor il file dello stile viewforum_body.html in modo da creare un nuovo td all'immagine personale aggiuntiva. Però non mi cambia nulla. Cancello la cache e non cambia. Allora provo a scrivere "xxx" nel td ma "xxx" nn si vede e non c'è neanche nel codice sorgente della pagina http. Ho guardato ovunque anche altri file degli stili ma nulla. In sostanza le modifiche non mi vengono applicate. ho provato anche a eliminare sia la cache della cartella in ftp sia quella del browser.
La cosa strana è che in admin l'immagine la carica bene. Allego altro screenshot. Quindi presumo che ci sia un bug nello stile lato frontend e vorrei intervenirci per risolvere l'errore del posizionamento dell'icona.
Utilizzo we_universal che fa riferimento a prosilver. Versione phpbb 3.0.8.
Non hai i permessi necessari per visualizzare i file allegati in questo messaggio.

wolfff81
Utente
Utente
Messaggi: 22
Iscritto il: 25/06/2011, 20:15
Versione: 3.0.8
Server: Windows
PHP: 5.2.12
Database: mysql

Re: stile forum, icona forum, forum tipo link

Messaggio da wolfff81 » 02/07/2011, 18:32

scusate le didascalie negli allegati sono invertiti. ho sbagliato a scrivere.

pegasus81
Programmatore
Programmatore
Messaggi: 346
Iscritto il: 24/06/2011, 14:44
Sesso: Maschio
Versione: 3.0.12
Server: UNIX/Linux
PHP: 5.2.13
Database: MySQL 4.1.22-standard-log
Contatta:

Re: stile forum, icona forum, forum tipo link

Messaggio da pegasus81 » 02/07/2011, 19:31

Puoi postare il contenuto del file viewforum_body.html? :?
puzzlepets.net
Il socialnetwork che ama gli animali!
ingegneriapisa.altervista.org
Il forum degli studenti della Facoltà di Ingegneria Informatica di Pisa

wolfff81
Utente
Utente
Messaggi: 22
Iscritto il: 25/06/2011, 20:15
Versione: 3.0.8
Server: Windows
PHP: 5.2.12
Database: mysql

Re: stile forum, icona forum, forum tipo link

Messaggio da wolfff81 » 02/07/2011, 19:57

Codice: Seleziona tutto

<!-- INCLUDE overall_header.html -->

<h2><a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></h2>
<!-- IF MODERATORS --><p><strong><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->:</strong> {MODERATORS}</p><!-- ENDIF -->

<!-- IF S_FORUM_RULES -->
	<div class="rules">
		<!-- IF U_FORUM_RULES -->
			<a href="{U_FORUM_RULES}">{L_FORUM_RULES}</a>
		<!-- ELSE -->
			<strong class="rules-header">{L_FORUM_RULES}</strong>
			{FORUM_RULES}
		<!-- ENDIF -->
	</div>
<!-- ENDIF -->

<!-- IF S_HAS_SUBFORUM -->
	<!-- IF not S_IS_BOT and U_MARK_FORUMS -->
		<ul class="linklist">
			<li class="rightside"><a href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a></li>
		</ul>
	<!-- ENDIF -->
	
	<!-- INCLUDE forumlist_body.html -->
<!-- ENDIF -->

<!-- IF S_DISPLAY_POST_INFO or PAGINATION or TOTAL_POSTS or TOTAL_TOPICS -->
	<div class="topic-actions" <!-- IF S_HAS_SUBFORUM -->style="margin-top: 2em;"<!-- ENDIF -->>

	<!-- IF not S_IS_BOT and S_DISPLAY_POST_INFO -->
		<div class="buttons">
			<div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->post-icon<!-- ENDIF -->" title="<!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF -->"><a href="{U_POST_NEW_TOPIC}"><span></span><!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF --></a></div>
		</div>
	<!-- ENDIF -->

	<!-- IF S_DISPLAY_SEARCHBOX -->
		<div class="search-box">
			<form method="post" id="forum-search" action="{S_SEARCHBOX_ACTION}">
			<fieldset>
				<input class="inputbox search tiny" type="text" name="keywords" id="search_keywords" size="20" value="{L_SEARCH_FORUM}" onclick="if (this.value == '{LA_SEARCH_FORUM}') this.value = '';" onblur="if (this.value == '') this.value = '{LA_SEARCH_FORUM}';" />
				<input class="button2" type="submit" value="{L_SEARCH}" />
				<input type="hidden" value="{FORUM_ID}" name="fid[]" />
			</fieldset>
			</form>
		</div>
	<!-- ENDIF -->

	<!-- IF PAGINATION or TOTAL_POSTS or TOTAL_TOPICS -->
		<div class="pagination">
			<!-- IF not S_IS_BOT and U_MARK_TOPICS --><a href="{U_MARK_TOPICS}" accesskey="m">{L_MARK_TOPICS_READ}</a> &bull; <!-- ENDIF --><!-- IF TOTAL_TOPICS -->{TOTAL_TOPICS}<!-- ENDIF -->
			<!-- IF PAGE_NUMBER -->
				<!-- IF PAGINATION --> &bull; <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span><!-- ELSE --> &bull; {PAGE_NUMBER}<!-- ENDIF -->
			<!-- ENDIF -->
		</div>
	<!-- ENDIF -->

	</div>
<!-- ENDIF -->

<!-- IF S_NO_READ_ACCESS -->

	<div class="panel">
		<div class="inner"><span class="corners-top"><span></span></span>
		<strong>{L_NO_READ_ACCESS}</strong>
		<span class="corners-bottom"><span></span></span></div>
	</div>

	<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->

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

		<div class="panel">
			<div class="inner"><span class="corners-top"><span></span></span>

			<div class="content">
				<h3><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF S_REGISTER_ENABLED -->&nbsp; &bull; &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --></h3>

				<fieldset class="fields1">
				<dl>
					<dt><label for="username">{L_USERNAME}:</label></dt>
					<dd><input type="text" tabindex="1" name="username" id="username" size="25" value="{USERNAME}" class="inputbox autowidth" /></dd>
				</dl>
				<dl>
					<dt><label for="password">{L_PASSWORD}:</label></dt>
					<dd><input type="password" tabindex="2" id="password" name="password" size="25" class="inputbox autowidth" /></dd>
					<!-- IF S_AUTOLOGIN_ENABLED --><dd><label for="autologin"><input type="checkbox" name="autologin" id="autologin" tabindex="3" /> {L_LOG_ME_IN}</label></dd><!-- ENDIF -->
					<dd><label for="viewonline"><input type="checkbox" name="viewonline" id="viewonline" tabindex="4" /> {L_HIDE_ME}</label></dd>
				</dl>
				<dl>
					<dt>&nbsp;</dt>
					<dd><input type="submit" name="login" tabindex="5" value="{L_LOGIN}" class="button1" /></dd>
				</dl>
				{S_LOGIN_REDIRECT}
				</fieldset>
			</div>

			<span class="corners-bottom"><span></span></span></div>
		</div>

		</form>

	<!-- ENDIF -->

<!-- ENDIF -->

<!-- BEGIN topicrow -->
	<!-- IF not topicrow.S_TOPIC_TYPE_SWITCH and not topicrow.S_FIRST_ROW -->
				</tbody>
			</table>
		</div>
	<!-- ENDIF -->

	<!-- IF topicrow.S_FIRST_ROW or not topicrow.S_TOPIC_TYPE_SWITCH -->
		<div class="forums-wrapper">
			<table class="forums <!-- IF topicrow.S_TOPIC_TYPE_SWITCH and (topicrow.S_POST_ANNOUNCE or topicrow.S_POST_GLOBAL) --> announcement<!-- ENDIF -->">
				<thead>
					<tr>
						<th colspan="2"><!-- IF S_DISPLAY_ACTIVE -->{L_ACTIVE_TOPICS}<!-- ELSEIF topicrow.S_TOPIC_TYPE_SWITCH and (topicrow.S_POST_ANNOUNCE or topicrow.S_POST_GLOBAL) -->{L_ANNOUNCEMENTS}<!-- ELSE -->{L_TOPICS}<!-- ENDIF --></th>
						<th class="statistics">{L_STATISTICS}</th>
						<th class="last-post">{L_LAST_POST}</th>
					</tr>
				</thead>
				<tbody>
	<!-- ENDIF -->

	<tr class="<!-- IF topicrow.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF topicrow.S_POST_GLOBAL --> global-announce<!-- ENDIF --><!-- IF topicrow.S_POST_ANNOUNCE --> announce<!-- ENDIF --><!-- IF topicrow.S_POST_STICKY --> sticky<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ENDIF -->">
		<td class="icon bg2" style="background-image: url({topicrow.TOPIC_FOLDER_IMG_SRC});" title="{topicrow.TOPIC_FOLDER_IMG_ALT}"></td><!-- IF topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS --><img src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" alt="" title="" style="border:1px solid #000;" /><!-- ENDIF -->
		<td class="topic">
			<h4>
				<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG}<!-- ENDIF --> <a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
				<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED --><a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a> <!-- ENDIF -->
				<!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF -->
			</h4>
			<!-- IF topicrow.PAGINATION --><strong class="pagination"><span>{topicrow.PAGINATION}</span></strong><!-- ENDIF -->
			<p>{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} &raquo; {topicrow.FIRST_POST_TIME}</p>
		</td>
		<td class="bg2">
			<p>{L_REPLIES}: <strong>{topicrow.REPLIES}</strong></p>
			<p>{L_VIEWS}: <strong>{topicrow.VIEWS}</strong></p>
		</td>
		<td class="topic">
			<!-- IF not S_IS_BOT --><a href="{topicrow.U_LAST_POST}" class="last-post-img">{LAST_POST_IMG}</a><!-- ENDIF -->
			<div class="lastpost-details">
				<p>{topicrow.LAST_POST_TIME}</p>
				<p>{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL}</p>
			</div>
		</td>
	</tr>

	<!-- IF topicrow.S_LAST_ROW -->
				</tbody>
			</table>
		</div>
	<!-- ENDIF -->
<!-- BEGINELSE -->
	<!-- IF S_IS_POSTABLE -->
		<div class="panel">
			<div class="inner"><span class="corners-top"><span></span></span>
				
			<strong>{L_NO_TOPICS}</strong>
			
			<span class="corners-bottom"><span></span></span></div>
		</div>
	<!-- ENDIF -->
<!-- END topicrow -->

<!-- IF S_SELECT_SORT_DAYS and not S_DISPLAY_ACTIVE -->
	<form method="post" action="{S_FORUM_ACTION}">
		<fieldset class="display-options">
			<!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF -->
			<!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF -->
	<!-- IF not S_IS_BOT -->
			<label>{L_DISPLAY_TOPICS}: {S_SELECT_SORT_DAYS}</label>
			<label>{L_SORT_BY} {S_SELECT_SORT_KEY}</label>
			<label>{S_SELECT_SORT_DIR} <input type="submit" name="sort" value="{L_GO}" class="button2" /></label>
	<!-- ENDIF -->
		</fieldset>
	</form>
	<hr />
<!-- ENDIF -->

<!-- IF .topicrow and not S_DISPLAY_ACTIVE -->
	<div class="topic-actions">
		<!-- IF not S_IS_BOT and S_DISPLAY_POST_INFO -->
		<div class="buttons">
			<div class="<!-- IF S_IS_LOCKED -->locked-icon<!-- ELSE -->post-icon<!-- ENDIF -->" title="<!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF -->"><a href="{U_POST_NEW_TOPIC}"><span></span><!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF --></a></div>
		</div>
		<!-- ENDIF -->

		<!-- IF PAGINATION or TOTAL_POSTS or TOTAL_TOPICS -->
		<div class="pagination">
			<!-- IF TOTAL_TOPICS and not S_IS_BOT and U_MARK_TOPICS --><a href="{U_MARK_TOPICS}">{L_MARK_TOPICS_READ}</a> &bull;  <!-- ENDIF -->
			<!-- IF TOTAL_POSTS and not NEWEST_USER --> {TOTAL_POSTS}<!-- ELSEIF TOTAL_TOPICS and not NEWEST_USER --> {TOTAL_TOPICS}<!-- ENDIF -->
			<!-- IF TOTAL_USERS -->{TOTAL_USERS}<!-- ENDIF -->
			<!-- IF PAGINATION --> &bull;  <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a>
			 &bull;  <span>{PAGINATION}</span><!-- ELSE --> &bull; {PAGE_NUMBER}<!-- ENDIF -->
		</div>
		<!-- ENDIF -->
	</div>
<!-- ENDIF -->

<!-- INCLUDE jumpbox.html -->

<!-- IF S_DISPLAY_ONLINE_LIST -->
	<h3><!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a><!-- ELSE -->{L_WHO_IS_ONLINE}<!-- ENDIF --></h3>
	<p>{LOGGED_IN_USER_LIST}</p>
<!-- ENDIF -->

<!-- IF S_DISPLAY_POST_INFO -->
	<h3>{L_FORUM_PERMISSIONS}</h3>
	<p><!-- BEGIN rules -->{rules.RULE}<br /><!-- END rules --></p>
<!-- ENDIF -->

<!-- INCLUDE overall_footer.html -->

pegasus81
Programmatore
Programmatore
Messaggi: 346
Iscritto il: 24/06/2011, 14:44
Sesso: Maschio
Versione: 3.0.12
Server: UNIX/Linux
PHP: 5.2.13
Database: MySQL 4.1.22-standard-log
Contatta:

Re: stile forum, icona forum, forum tipo link

Messaggio da pegasus81 » 02/07/2011, 20:32

Nel file viewforum_body.html trova

Codice: Seleziona tutto

<!-- IF topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS --><img src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" alt="" title="" style="border:1px solid #000;" /><!-- ENDIF -->
taglia quella porzione di codice e incollala prima di

Codice: Seleziona tutto

<h4>
            <!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG}<!-- ENDIF --> <a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
p.s.: per lo stile poi ti dico! ;)
puzzlepets.net
Il socialnetwork che ama gli animali!
ingegneriapisa.altervista.org
Il forum degli studenti della Facoltà di Ingegneria Informatica di Pisa

wolfff81
Utente
Utente
Messaggi: 22
Iscritto il: 25/06/2011, 20:15
Versione: 3.0.8
Server: Windows
PHP: 5.2.12
Database: mysql

Re: stile forum, icona forum, forum tipo link

Messaggio da wolfff81 » 03/07/2011, 1:16

genio! ma nada... nessun effetto.. non è che sbaglio file?

pegasus81
Programmatore
Programmatore
Messaggi: 346
Iscritto il: 24/06/2011, 14:44
Sesso: Maschio
Versione: 3.0.12
Server: UNIX/Linux
PHP: 5.2.13
Database: MySQL 4.1.22-standard-log
Contatta:

Re: stile forum, icona forum, forum tipo link

Messaggio da pegasus81 » 03/07/2011, 9:11

Si, hai ragione. Annulla la modifica al file viewforum_body.html e postami il codice del file forumlist_body.html! ;)
puzzlepets.net
Il socialnetwork che ama gli animali!
ingegneriapisa.altervista.org
Il forum degli studenti della Facoltà di Ingegneria Informatica di Pisa

Rispondi

Torna a “Supporto stili”

Chi c’è in linea

Visitano il forum: Nessuno e 3 ospiti