THOR Style - Modifizierung

Alles zu Styles, Templates, Icons und Smilies für phpBB 3.0.x, sowie allgemeine Designfragen zur Integration von phpBB in bestehende Websites.
phpBB Styles Demo
Forumsregeln
Bei Style spezifischen Fragen ist der Stylename und die Downloadquelle des Styles erforderlich, besser noch die URL vom betroffenen Forum.
Antworten
Sesaya
Mitglied
Beiträge: 119
Registriert: 24.07.2007 23:46

THOR Style - Modifizierung

Beitrag von Sesaya »

---
Zuletzt geändert von Sesaya am 10.11.2008 15:46, insgesamt 1-mal geändert.
..
Benutzeravatar
porfavor
Mitglied
Beiträge: 834
Registriert: 23.08.2006 00:35
Wohnort: Tuttlingen
Kontaktdaten:

Beitrag von porfavor »

Es gibt bereits einen Mod, bei dem man auswählen kann, auf welcher Seite das angezeigt werden soll.

Code: Alles auswählen

##########################################################################################
##                        Profile on Left or Right Mod v 1.0.0                          ##
##                                                                                      ##
##     For use with phpBB3 RC4 (RC5 dev) or later.                                      ##
##     This Mod is part of the IntegraMod Portal (Stargate Portal with all the Mods.    ##
##     Post your FINDEings, bugs etc., in appropriate mod Forum...                       ##
##                                                                                      ##
##     Copyright: phpbbireland 2005-2007 (Michael O'Toole) www.phpbbireland.com         ## 
##     Last Updated: 16 August 2007 04:54                                               ##
##########################################################################################
#                                                                                        #
#      Please backup all code relating to this installation....                          #
#      Also note, edits in this process do not delete any of the core code...            #
#                                                                                        #
##########################################################################################
#                                       UPDATES                                          #
#                                      ---------                                         #
#  Updates: 1:                                                                           #
#  Updates: 2:                                                                           #
#  Updates: 3:                                                                           #
#                                      ---------                                         #
#                                                                                        #
##########################################################################################

##########################################################################################
#                                                                                        #
#  Dieser MOD ermöglicht Membern,                                                        #
#  ihr Profil links oder rechts neben dem Beitrag anzuzeigen,                            #
#  einstellbar im Persönlichen Bereich                                                   #
#                                                                                        #
##########################################################################################

##########################################################################################
#                                                                                        #
#       SQL Required to add this mod... None                                             #
#                                                                                        #
##########################################################################################

(Notiere: Falls du das Stargate Portal installiert hast, könnten diese Dateien bereits existieren.)

Kopiere Dateien: 

  icon_user_online_left.gif to: styles/prosilver/imageset/en/icon_user_online_left.gif

##########################################################################################
#                              Profile on Left or Right                                  #  
##########################################################################################


Files to edit:

includes/ucp/upc_prefs.php
language/en/ucp.php
styles/prosilver/template/ucp_prefs_personal.html
styles/prosilver/template/viewtopics_body.html


#
#-----[ ÖFFNE ]------------------------------------------
#

includes/ucp/ucp_prefs.php

# 
#-----[ FINDE ]------------------------------------------ 
# 

					'allowpm'		=> request_var('allowpm', (bool) $user->data['user_allow_pm']),

# 
#-----[ DANACH HINZUFÜGEN ]------------------------------------------ 
# 

					'profile_position'	=> request_var('profile_position', $user->data['profile_position']),

# 
#-----[ FINDE ]------------------------------------------ 
# 

							'user_style'			=> $data['style'],

# 
#-----[ DANACH HINZUFÜGEN ]------------------------------------------ 
# 

							'profile_position'		=> $data['profile_position'],

# 
#-----[ FINDE ]------------------------------------------ 
# 

					'S_SELECT_NOTIFY'		=> ($config['jab_enable'] && $user->data['user_jabber'] && @extension_loaded('xml')) ? true : false)
				);
				
# 
#-----[ DANACH HINZUFÜGEN ]------------------------------------------ 
# 

				$template->assign_vars(array(
					'S_PROFILE_POSITION'	=> $data['profile_position'])					
				);


#
#-----[ ÖFFNE ]------------------------------------------
#

languages/en/ucp.php

# 
#-----[ FINDE ]------------------------------------------ 
# 

	'NO_NONMEMBER'	=> 'Keine nicht-Mitglieder Gruppe',

# 
#-----[ DANACH HINZUFÜGEN ]------------------------------------------ 
# 

	'PROFILE_POSITION'	=> 'Falls verfügbar, wähle die bevorzugte Profil Ausrichtung',
	'LEFT'				=> 'Links',
	'RIGHT'				=> 'Rechts',




#
#-----[ ÖFFNE ]------------------------------------------
#

styles/prosilver/template/ucp_prefs_personal.html

# 
#-----[ FINDE ]------------------------------------------ 
# 

	<!-- IF S_STYLE_OPTIONS -->
		<dl>
			<dt><label for="style">{L_BOARD_STYLE}:</label></dt>
			<dd><select name="style" id="style">{S_STYLE_OPTIONS}</select></dd>
		</dl>
	<!-- ENDIF -->

# 
#-----[ DANACH HINZUFÜGEN ]------------------------------------------ 
# 

	<!-- Michael's Mod to allow profile position on left or right of viewtopics phpbbireland.com -->
	<dl>
		<dt><label for="profile_position">{L_PROFILE_POSITION}:</label></dt>
		<dd>
		<label for="profile_position0"><input type="radio" name="profile_position" id="profile_position0" value="L"<!-- IF S_PROFILE_POSITION == 'L' --> checked="checked"<!-- ENDIF --> /> {L_LEFT}</label> 
		<label for="profile_position1"><input type="radio" name="profile_position" id="profile_position1" value="R"<!-- IF S_PROFILE_POSITION == 'R' --> checked="checked"<!-- ENDIF --> /> {L_RIGHT}</label>
		</dd>  
	</dl>

EOM
Vielleicht hilfts dir das ein wenig. Ist aber auch für Prosilver. Desweiteren gibt es noch ein Tutorial:

http://www.easytutorials.org/prosilver_ ... _side.html

Die Grafik kann ich dir evtl. schicken, falls du den Mod installierst.
Lebe dein Leben solange du kannst.

Jugendgemeinderat-Tuttlingen
Antworten

Zurück zu „[3.0.x] Styles, Templates und Grafiken“