Seite 1 von 1

postprofile entfernen

Verfasst: 19.10.2014 08:42
von donsenilo
hi

ich möchte die postprofile-box komplett entfernen, da diese völlig unnötig ist und nur platz verschwendet.
da es diesbezüglich keine einstellungsmöglichkeit gibt, habe ich mir die viewtopic_bocy.html mal angesehen ...
allerdings blicke ich nicht durch.
wie ich dort bestimmte infos entferne, habe ich herausgefunden. aber ich möchte eben die komplette box entfernen, damit die anzeige der beiträge mehr platz hat.

bitte um unterstützung !
danke !

http://www.paranormal.wien/phpBB3/

Re: postprofile entfernen

Verfasst: 19.10.2014 09:38
von Kirk
Hallo
Suche und entferne in der viewtopic_body.html deines Styles das hier:

Code: Alles auswählen

		<!-- IF not postrow.S_IGNORE_POST -->
			<dl class="postprofile" id="profile{postrow.POST_ID}">
			<!-- IF not postrow.U_POST_AUTHOR --><dd style="margin-top: 5px;"><strong>{postrow.POST_AUTHOR_FULL}</strong></dd><!-- ELSE --><dd style="margin-top: 5px;">{postrow.POST_AUTHOR_FULL}</dd><!-- ENDIF -->
			<!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd>{postrow.RANK_TITLE}<!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF -->
			<!-- IF postrow.POSTER_POSTS != '' --><dd>{L_POSTS}: {postrow.POSTER_POSTS}</dd><!-- ENDIF -->
		<!-- IF postrow.POSTER_JOINED --><dd>{L_JOINED}:<br>{postrow.POSTER_JOINED}</dd><!-- ENDIF -->
		<!-- IF postrow.POSTER_FROM --><dd>{L_LOCATION}: {postrow.POSTER_FROM}</dd><!-- ENDIF -->
			<dt>
				<!-- IF postrow.POSTER_AVATAR -->
					<!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{postrow.POSTER_AVATAR}</a><!-- ELSE -->{postrow.POSTER_AVATAR}<!-- ENDIF -->
				<!-- ENDIF -->
				
			</dt>

			



		

		<!-- IF postrow.S_PROFILE_FIELD1 -->
			<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
			<dd><strong>{postrow.PROFILE_FIELD1_NAME}:</strong> {postrow.PROFILE_FIELD1_VALUE}</dd>
		<!-- ENDIF -->

		<!-- BEGIN custom_fields -->
			<dd><strong>{postrow.custom_fields.PROFILE_FIELD_NAME}:</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}</dd>
		<!-- END custom_fields -->

		<!-- IF not S_IS_BOT -->
		<!-- IF postrow.U_PM or postrow.U_EMAIL or postrow.U_WWW or postrow.U_MSN or postrow.U_ICQ or postrow.U_YIM or postrow.U_AIM or postrow.U_JABBER -->
			<dd>
				<ul class="profile-icons">
					<!-- IF postrow.U_PM --><li class="pm-icon"><a href="{postrow.U_PM}" title="{L_PRIVATE_MESSAGE}"><span>{L_PRIVATE_MESSAGE}</span></a></li><!-- ENDIF -->
					<!-- IF postrow.U_EMAIL --><li class="email-icon"><a href="{postrow.U_EMAIL}" title="{L_SEND_EMAIL_USER} {postrow.POST_AUTHOR}"><span>{L_SEND_EMAIL_USER} {postrow.POST_AUTHOR}</span></a></li><!-- ENDIF -->
					<!-- IF postrow.U_WWW --><li class="web-icon"><a href="{postrow.U_WWW}" title="{L_VISIT_WEBSITE}: {postrow.U_WWW}"><span>{L_WEBSITE}</span></a></li><!-- ENDIF -->
					<!-- IF postrow.U_MSN --><li class="msnm-icon"><a href="{postrow.U_MSN}" onclick="popup(this.href, 550, 320); return false;" title="{L_MSNM}"><span>{L_MSNM}</span></a></li><!-- ENDIF -->
					<!-- IF postrow.U_ICQ --><li class="icq-icon"><a href="{postrow.U_ICQ}" onclick="popup(this.href, 550, 320); return false;" title="{L_ICQ}"><span>{L_ICQ}</span></a></li><!-- ENDIF -->
					<!-- IF postrow.U_YIM --><li class="yahoo-icon"><a href="{postrow.U_YIM}" onclick="popup(this.href, 780, 550); return false;" title="{L_YIM}"><span>{L_YIM}</span></a></li><!-- ENDIF -->
					<!-- IF postrow.U_AIM --><li class="aim-icon"><a href="{postrow.U_AIM}" onclick="popup(this.href, 550, 320); return false;" title="{L_AIM}"><span>{L_AIM}</span></a></li><!-- ENDIF -->
					<!-- IF postrow.U_JABBER --><li class="jabber-icon"><a href="{postrow.U_JABBER}" onclick="popup(this.href, 550, 320); return false;" title="{L_JABBER}"><span>{L_JABBER}</span></a></li><!-- ENDIF -->
				</ul>
			</dd>
		<!-- ENDIF -->
		<!-- ENDIF -->

		</dl>
	<!-- ENDIF -->
Jetzt musst du nur noch die Breite etwas anpassen, finde in der content.css deines Styles das hier:

Code: Alles auswählen

.postbody {
    clear: left;
    color: #ffffff;
    float: left;
    line-height: 1.48em;
    padding: 0;
    width: 76%;
}
Finde darin: width: 76%; ersetze es damit width: 100%;
Zum Schluss das hier nicht vergessen: Änderungen am Style sind nicht sofort sichtbar (Template-Caching)