MyBB.de Forum
Recent Posts Forum Index - Druckversion

+- MyBB.de Forum (https://www.mybb.de/forum)
+-- Forum: Anpassungen (https://www.mybb.de/forum/forum-47.html)
+--- Forum: Plugin-Veröffentlichungen und -Support (https://www.mybb.de/forum/forum-82.html)
+--- Thema: Recent Posts Forum Index (/thread-26760.html)

Seiten: Seiten: 1 2


RE: Recent Posts Forum Index - hkkp - 23.05.2014

also aus:

Code:
showthread.php?tid=' . $row['tid'] . '&action=lastpost"

wird:

Code:
get_thread_link(' . $row['tid'] . '&action=lastpost")



und aus:

Code:
forumdisplay.php?&fid=' . $row['fid'] . '

wird:

Code:
get_forum_link(' . $row['fid'] . ')

oder?


RE: Recent Posts Forum Index - Jockl - 23.05.2014

Ohne es ausprobiert zu haben:
PHP-Code:
get_thread_link($row['tid'], 0"lastpost"
und
PHP-Code:
get_forum_link($row['fid']) 

siehe auch:
https://crossreference.mybb.de/nav.html?inc/functions.php.html#get_forum_link
https://crossreference.mybb.de/nav.html?inc/functions.php.html#get_thread_link


RE: Recent Posts Forum Index - hkkp - 23.05.2014

Code:
<a href="get_thread_link($row['tid'], 0, 'lastpost')"> ' . $subject .'</a>

funktioniert nicht bei mir...


RE: Recent Posts Forum Index - Jockl - 24.05.2014

Was heißt "funktioniert nicht bei mir"? Gibt's Fehlermeldungen oder eine genauer Beschreibung?


RE: Recent Posts Forum Index - hkkp - 24.05.2014

Parse error: syntax error, unexpected 'tid' (T_STRING) in /www/htdocs/xxx/inc/plugins/recentpostsindex.php on line 206


RE: Recent Posts Forum Index - doylecc - 24.05.2014

Versuche es mal so:

PHP-Code:
<a href="'.get_thread_link($row['tid'], 0, 'lastpost').'"' . $subject .'</a



RE: Recent Posts Forum Index - Jockl - 24.05.2014

korrekt Wink

Danke Dir! Smile


RE: Recent Posts Forum Index - hkkp - 24.05.2014

(24.05.2014, 17:17)waldo schrieb: Versuche es mal so:

PHP-Code:
<a href="'.get_thread_link($row['tid'], 0, 'lastpost').'"' . $subject .'</a


perfekt, funktioniert. und da hab ich schon rumprobiert, aber auf die anführungszeichen und punkte wäre ich nie gekomen.

analog zu forum:

PHP-Code:
<a href="'.get_forum_link($row['fid']).'"' . $row['name'] . '</a