Jail

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
Desperado123
Mitglied
Beiträge: 240
Registriert: 24.03.2006 12:45

Jail

Beitrag von Desperado123 »

Also ich möchte in dem jail Mod auch ein Gitter vor den Rangpics haben. Allerdings wird in diesem Schritt hier in der viewtopic.php nur erklärt, wie man das vor galerie avataren, user avataren und hochgeladenen avataren macht. Allerdings nicht für Rangbilder. Wie funktioniert das jetzt da?

Code: Alles auswählen

#-----[ FIND ]------------------------------------------ 
# 
			case USER_AVATAR_UPLOAD:
				$poster_avatar = ( $board_config['allow_avatar_upload'] ) ? '<img src="' . $board_config['avatar_path'] . '/' . $postrow[$i]['user_avatar'] . '" alt="" border="0" />' : '';
# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
				$poster_avatar = ( ($postrow[$i]['user_cell_time'] > 0) && $board_config['cell_allow_display_bars'] ) ? '<div style="position:absolute;padding:0px;width:'.$board_config['avatar_max_width'].'px;height:'.$board_config['avatar_max_height'].'px;z-index:1;"><IMG src="' . $board_config['avatar_path'] . '/' . $postrow[$i]['user_avatar'] . '" border=0 width="'.$board_config['avatar_max_width'].'" height="'.$board_config['avatar_max_height'].'"></div><div style="position:relative;padding:0px;width:'.$board_config['avatar_max_width'].'px;height:'.$board_config['avatar_max_height'].'px;z-index:2;"><IMG src="images/cell.gif" border=0 STYLE="filter:alpha(opacity=65)" width="'.$board_config['avatar_max_width'].'" height="'.$board_config['avatar_max_height'].'"></div>' : $poster_avatar ;

# 
#-----[ FIND ]------------------------------------------ 
# 			
			case USER_AVATAR_REMOTE:
				$poster_avatar = ( $board_config['allow_avatar_remote'] ) ? '<img src="' . $postrow[$i]['user_avatar'] . '" alt="" border="0" />' : '';
				
# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
				$poster_avatar = ( ($postrow[$i]['user_cell_time'] > 0) && $board_config['cell_allow_display_bars']) ? '<div style="position:absolute;padding:0px;width:'.$board_config['avatar_max_width'].'px;height:'.$board_config['avatar_max_height'].'px;z-index:1;"><IMG src="' . $postrow[$i]['user_avatar'] . '" border=0 width="'.$board_config['avatar_max_width'].'" height="'.$board_config['avatar_max_height'].'"></div><div style="position:relative;padding:0px;width:'.$board_config['avatar_max_width'].'px;height:'.$board_config['avatar_max_height'].'px;z-index:2;"><IMG src="images/cell.gif" border=0 STYLE="filter:alpha(opacity=65)" width="'.$board_config['avatar_max_width'].'" height="'.$board_config['avatar_max_height'].'"></div>' : $poster_avatar ;
				
# 
#-----[ FIND ]------------------------------------------ 
# 
			case USER_AVATAR_GALLERY:
				$poster_avatar = ( $board_config['allow_avatar_local'] ) ? '<img src="' . $board_config['avatar_gallery_path'] . '/' . $postrow[$i]['user_avatar'] . '" alt="" border="0" />' : '';

# 
#-----[ AFTER, ADD ]------------------------------------------ 
# 
				$poster_avatar = ( ($postrow[$i]['user_cell_time'] > 0) && $board_config['cell_allow_display_bars']) ? '<div style="position:absolute;padding:0px;width:'.$board_config['avatar_max_width'].'px;height:'.$board_config['avatar_max_height'].'px;z-index:1;"><IMG src="' . $board_config['avatar_gallery_path'] . '/' . $postrow[$i]['user_avatar'] . '" border=0 width="'.$board_config['avatar_max_width'].'" height="'.$board_config['avatar_max_height'].'"></div><div style="position:relative;padding:0px;width:'.$board_config['avatar_max_width'].'px;height:'.$board_config['avatar_max_height'].'px;z-index:2;"><IMG src="images/cell.gif" border=0 STYLE="filter:alpha(opacity=65)" width="'.$board_config['avatar_max_width'].'" height="'.$board_config['avatar_max_height'].'"></div>' : $poster_avatar ;
Ich müsste nur die Postition finden, hinter der ich, genau wie bei user avatren usw.

Code: Alles auswählen

				$poster_avatar = ( ($postrow[$i]['user_cell_time'] > 0) && $board_config['cell_allow_display_bars']) ? '<div style="position:absolute;padding:0px;width:'.$board_config['avatar_max_width'].'px;height:'.$board_config['avatar_max_height'].'px;z-index:1;"><IMG src="' . $postrow[$i]['user_avatar'] . '" border=0 width="'.$board_config['avatar_max_width'].'" height="'.$board_config['avatar_max_height'].'"></div><div style="position:relative;padding:0px;width:'.$board_config['avatar_max_width'].'px;height:'.$board_config['avatar_max_height'].'px;z-index:2;"><IMG src="images/cell.gif" border=0 STYLE="filter:alpha(opacity=65)" width="'.$board_config['avatar_max_width'].'" height="'.$board_config['avatar_max_height'].'"></div>' : $poster_avatar ;
anhänge. Doch wo ist die?
Gulaschk@none
Mitglied
Beiträge: 1542
Registriert: 17.01.2006 12:43

Beitrag von Gulaschk@none »

Hi...
am besten du stellst mal die datei zum download bereit so das man in der datei suchen kann ...

(eine php datei zum download bereit stellen)
Desperado123
Mitglied
Beiträge: 240
Registriert: 24.03.2006 12:45

Beitrag von Desperado123 »

Desperado123
Mitglied
Beiträge: 240
Registriert: 24.03.2006 12:45

Beitrag von Desperado123 »

und?
Antworten

Zurück zu „phpBB 2.0: Mod Support“