Seite 6 von 15

Verfasst: 02.06.2004 12:02
von TheRealKoston
so wie muss ich die lines modifizieren:

Code: Alles auswählen

		$last_post_time = create_date($board_config['default_dateformat'], $forum_data[$j]['post_time'], $board_config['board_timezone']);
		$last_post = '<a href="' . append_sid("viewtopic.$phpEx?"  . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '" title="' . $topic_title2 . '">' . $topic_title . '</a><br>';
		$last_post .= $last_post_time . '&nbsp;<a href="' . append_sid("viewtopic.$phpEx?"  . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '"></a><br>' . $lang['by'] . '&nbsp;';
		$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '='  . $forum_data[$j]['user_id']) . '">' . $forum_data[$j]['username'] . '</a> ';
damit das [ externes Bild ] Icon direkt hinter dem Namen und net hinter dem Datum steht?

Verfasst: 03.06.2004 14:35
von TheRealKoston
so hab des ma versucht krieg des aba net gebacken
einmal stand dann scho: #9994 dan ndas icon - hmm das zu machen dürfte doch für einen der des checkt nur eine minute dauern :-?

Verfasst: 03.06.2004 16:02
von rabbit
versuch' mal damit:
$last_post_time = create_date($board_config['default_dateformat'], $forum_data[$j]['post_time'], $board_config['board_timezone']);
$last_post = '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '" title="' . $topic_title2 . '">' . $topic_title . '</a><br>';
$last_post .= $last_post_time . '&nbsp;<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '"></a><br>' . $lang['by'] . '&nbsp;';
$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $forum_data[$j]['user_id']) . '">' . $forum_data[$j]['username'] . '<img src="' . $images['icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '"></a> ';
ohne gewähr... ;)

Verfasst: 03.06.2004 16:32
von TheRealKoston
ok funkt soweit: nur nen leerzeichen zwischen dem usernamen und der Pfeil sollte ein Link auf den letzten Beitrag sein - kansnt du des bitte auch nochmachen :> ?

soweit Danke :D

Verfasst: 03.06.2004 22:35
von rabbit
wie sieht's hiemit aus?

Code: Alles auswählen

$last_post_time = create_date($board_config['default_dateformat'], $forum_data[$j]['post_time'], $board_config['board_timezone']); 
$last_post = '<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '" title="' . $topic_title2 . '">' . $topic_title . '</a><br>'; 
$last_post .= $last_post_time . '&nbsp;<a href="' . append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '"></a><br>' . $lang['by'] . '&nbsp;'; 
$last_post .= ( $forum_data[$j]['user_id'] == ANONYMOUS ) ? ( ($forum_data[$j]['post_username'] != '' ) ? $forum_data[$j]['post_username'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $forum_data[$j]['user_id']) . '">' . $forum_data[$j]['username'] . '</a> ';&nbsp;<a href="' . append_sid("viewtopic.$phpEx?"  . POST_POST_URL . '=' . $forum_data[$j]['forum_last_post_id']) . '#' . $forum_data[$j]['forum_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" border="0" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '"></a> ';

Verfasst: 04.06.2004 09:50
von TheRealKoston
da bringt er mir nen Fehler Parse error oder so
Wennst genaue Fehlerbeschreibung brauchst kann ichs ja später nochma einbauen

Verfasst: 06.06.2004 14:31
von Juuro
So... mir gehts genauso wie Mike666! :(

Hier meine index: http://www.i-wars.net/forum/index.txt

Ich hoffe es kann mir jemand helfen! :|

Verfasst: 07.06.2004 11:15
von TheRealKoston
So habs etz mal mit Screenshots gemacht, damit mans besser erkennen kann was ich will =)

Aktueller Stand:
[ externes Bild ]


So solls aussehn(Thread+USername verwischt, weil aus drittem Forum):
[ externes Bild ]

Der Username soll zum Profil gelangen und der Link zum Thread sowie das Icon "[ externes Bild ]" sollen auf den letzten reply springen :)

Hoffe, habs nun ausführlich beschrieben :/ - danke für die Hilfe

Edit:
Hab hier mal die Zeilen, die editiert werden müssen, in ne txt datei gepackt (colorgroup mod is bereits integriert!)

und das Datum soll bitte so bleiben wie vorher :) (also ohne Wochentag)

Verfasst: 12.06.2004 16:52
von luxi
Hmm mal ne frage dazu fuzt des auch bei 2.0.8? Oder habt ihr des noch nicht getestet

Verfasst: 12.06.2004 17:55
von TheRealKoston
also ich baus halt bei 2.0.6. ein :D
[weil mir kommt des hier vor, als würde keiner diesen mod supporten) :(