eigene beiträge irgendwie markiert
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.
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.
eigene beiträge irgendwie markiert
ich hab letzens mal beim wbb system was gutes gesehen und zwar ist da das bildchen links neben dem thread markiert falls dort ein beitrag von mir selbst war.
da war also ein schwarze punkt in der mitte. ich finde das ist ein ziemlich interessantes feature.
kennt das jemand ? hat das auch jemand mal fürs phpbb gesehen ?
da war also ein schwarze punkt in der mitte. ich finde das ist ein ziemlich interessantes feature.
kennt das jemand ? hat das auch jemand mal fürs phpbb gesehen ?
- Simpson
- Ehemaliges Teammitglied
- Beiträge: 1088
- Registriert: 20.05.2002 17:35
- Wohnort: Göttingen
- Kontaktdaten:
Folgender Mod funktioniert astrein, es wird damit um die Beitragsicons von eigenen Beiträgen ein durchgehender Strich drum herum gezogen, kannste aber auch anpassen das du ne gestrichelte farbige Linie erhälstst, z.B. so (in der .cfg Datei nachher ändern):
Code: Alles auswählen
$board_config['me_posted_css'] = 'style="border : 2px dotted #C6D2FD"';
Code: Alles auswählen
########################################################
## Mod Title: posted in a topic icon
## Mod Version: 1.0.0
## Author: Adam Ismay (mitsubishi) <admin@boardz.tk> www.boardz.tk
## Description: Adds some CSS to the topic icon if you've posted in it
##
## Installation Level: easy
## Installation Time: 1-2 Minutes
## Files To Edit: subSilver.cfg
## viewforum.php
## viewforum_body.tpl
##############################################################
## This MOD is released under the GPL License.
## Intellectual Property is retained by the MOD Author(s) listed above
##############################################################
## 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/
##############################################################
## Authors Notes:
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
# ------ [ OPEN ] ----
#
viewforum.php
#
# ------- [ FIND ] ------
#
while( $row = $db->sql_fetchrow($result) )
{
$topic_rowset[] = $row;
$total_announcements++;
}
#
# ----- [ REPLACE WITH] ----
#
$topics_on_page = '';
while( $row = $db->sql_fetchrow($result) )
{
$topic_rowset[] = $row;
$total_announcements++;
$topics_on_page .= ( ( $topics_on_page != '' ) ? ', ' : '' ) . $row['topic_id'];
}
#
# ------ [ FIND ] ----
#
$total_topics++;
#
# ------ [ AFTER, ADD] ----
#
$topics_on_page .= ( ( $topics_on_page != '' ) ? ', ' : '' ) . $row['topic_id'];
#
# ------ [ FIND] ----
#
//
// Total topics ...
//
$total_topics += $total_announcements;
#
# ------ [ AFTER, ADD ] ----
#
// MOD
$posted_topics = array();
if ( $userdata['session_logged_in'] && !empty($topics_on_page))
{
$sql = "SELECT p.topic_id FROM " . POSTS_TABLE . " p
WHERE p.topic_id IN ($topics_on_page)
AND p.poster_id = " . $userdata['user_id'];
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain topic information', '', __LINE__, __FILE__, $sql);
}
while( $row = $db->sql_fetchrow($result) )
{
$posted_topics[] = $row['topic_id'];
}
}
// END MOD
#
# ------ [ FIND ] ----
#
'LAST_POST_AUTHOR' => $last_post_author,
'LAST_POST_IMG' => $last_post_url,
#
# ------ [ AFTER, ADD ] ----
#
'POSTED' => in_array($topic_id, $posted_topics) ? $board_config['me_posted_css'] : '',
#
# ------ [ OPEN ] ----
#
viewforum_body.tpl
#
# ------ [ FIND ] ----
#
<td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="19" height="18" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
#
# ------ [ REPLACE with] ----
#
<td class="row1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="19" height="18" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" {topicrow.POSTED} /></td>
#
# ------ [ OPEN ] ----
#
templates/SubSilver/Subsilver.cfg
#
# ------ [ Find] ----
#
$board_config['vote_graphic_length'] = 205;
$board_config['privmsg_graphic_length'] = 175;
#
# ------ [ AFTER, ADD ] ----
#
$board_config['me_posted_css'] = 'style="background : orange"';
#------[ OR ]---------
$board_config['me_posted_css'] = 'style="border : 2px dotted Red"';
#
#-----[ SAVE ALL FILES ]------------------------------------------
#
# EoM
Da geht noch was!
Unread Post Information to Database Mod Version 3 mit vielen neuen Features!
Scrolling down automaticly Mod
Unread Post Information to Database Mod Version 3 mit vielen neuen Features!
Scrolling down automaticly Mod
Code: Alles auswählen
#
# ------ [ ÖFFNEN ] ------
#
# search.php
#
# ------ [ FINDE ] ------
#
$template->assign_block_vars('searchresults', array(
'FORUM_NAME' => $searchset[$i]['forum_name'],
#
# ------ [ MIT FOLGENDEM ERSETZEN ] ------
#
// MOD
$posted_topics = array();
if ( $userdata['session_logged_in'] )
{
$sql = "SELECT p.topic_id FROM " . POSTS_TABLE . " p
WHERE p.topic_id IN ($topic_id)
AND p.poster_id = " . $userdata['user_id'];
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain topic information', '', __LINE__, __FILE__, $sql);
}
while( $row = $db->sql_fetchrow($result) )
{
$posted_topics[] = $row['topic_id'];
}
}
// END MOD
$template->assign_block_vars('searchresults', array(
'POSTED' => in_array($topic_id, $posted_topics) ? $board_config['me_posted_css'] : '',
'FORUM_NAME' => $searchset[$i]['forum_name'],
#
# ------ [ ÖFFNEN ] ------
#
# search_results_topics.tpl
#
# ------ [ FINDE ] ------
#
<td class="row1" align="center" valign="middle"><img src="{searchresults.TOPIC_FOLDER_IMG}" width="19" height="18" alt="{searchresults.L_TOPIC_FOLDER_ALT}" title="{searchresults.L_TOPIC_FOLDER_ALT}" /></td>
#
# ------ [ MIT FOLGENDEM ERSETZEN ] ------
#
<td class="row1" align="center" valign="middle"><img src="{searchresults.TOPIC_FOLDER_IMG}" width="19" height="18" alt="{searchresults.L_TOPIC_FOLDER_ALT}" title="{searchresults.L_TOPIC_FOLDER_ALT}" {searchresults.POSTED_TOPIC} /></td>

hi, ich bin immer noch auf der suche. die lösung von acid hat leider nicht geklappt !Aho hat geschrieben:schön funktioniert gut. aber kann ich es auch hinbekommen, das die beiträge in der search.php und in der portal.php bzw glance.php markiert werden ?
ich habs versucht die selben änderungen auch bei den genannten files zu machen, das klappt aber nicht. kennt einer ne lösung ?