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.
##############################################################
## MOD Title: Author Hyperlink
## MOD Author: tosspot <tosspot@markf.mailshell.com> Mark Fyvie
## MOD Description: By default the author name in a message is not a hyperlink. This mod makes
## it a URL to the poster's profile. This might be more intuitive for some users compared to the profile button.
## MOD Version: 1.0.0
##
## Installation Level: easy
## Installation Time: 1 Minute
## Files To Edit: viewtopic.php
## Included Files: n/a
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/downloads/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/downloads/
##############################################################
## Author Notes:
## The default colour for the author before applying this mod is black. After applying the mod it will be blue, since it
## is following the "genmed" class. Feel free to modify this part to another class, or to add an additional class if you don't
## like the colour.
##############################################################
## MOD History:
## 1.0.0 - Initial version 19.05.2003
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
$poster = ( $poster_id == ANONYMOUS ) ? $lang['Guest'] : $postrow[$i]['username'];
#
#-----[ REPLACE WITH ]------------------------------------------
#
$poster = ( $poster_id != ANONYMOUS ) ? '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $poster_id) . '" class="genmed">' : '';
$poster .= ( $poster_id != ANONYMOUS ) ? $postrow[$i]['username'] : ( ( $postrow[$i]['post_username'] != '' ) ? $postrow[$i]['post_username'] : $lang['Guest'] );
$poster .= ( $poster_id != ANONYMOUS ) ? '</a>' : '';
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Ach nochwas. Ich hab seid dem Mod ein Problem mit dem Eintrag "Beitrag editiert von ... " . Das "..." wird mit dem Post des nächsten Users ersetzt. Ich bin mir fast 100% sicher dass es auch am Mod liegt. Läuft aber sonst alles wunderbar! Danke für den Mod!
Yo mach ich ... hab aber die Zeile ausm Style weggenommen und geht jetzt wunderbar. Wird zwar nicht mehr bearbeitet von angezeigt aber es funktionert... Soll ichs mal wieder reinmachen?