Kann mir da jemand weiterhelfen, ich versuche nämlich auch bereits diesen Mod einzubauen, habe bereits ein paar andere Sachen installiert - mit BoardModSE geht das jetzt nicht mehr zu installieren.
1. Änderung
Folgendes wird gesucht: (BoardIndex.php)Quote<search for>
print <<<EOT
<tr>
<td class="windowbg" width="6%" align="center" valign="top">$new</td>
<td class="windowbg2" align="left" width="60%">
<a name="b$row_board[ID_BOARD]"></a>
<font size="2"><b><a href="$scripturl?board=$row_board[ID_BOARD]">$row_board[boardName]</a></b>
<br>$row_board[description]</font>$showmods</td>
<td class="windowbg" valign="middle" align="center" width="6%">$row_board[numTopics]</td>
<td class="windowbg" valign="middle" align="center" width="6%">$row_board[numPosts]</td>
<td class="windowbg2" valign="middle" width="22%"><font size="1">$latestPostTime<br />$txt[yse88] <a href="$scripturl?board=$row_board[ID_BOARD];action=display;threadid=$topicID;start=$startPage;boardseen=1">$subject</a><br> $txt[525] $latestPostName</font></td>
</tr>
</search for>
ersetzt werden soll dieses durch
Quote<replace>
print <<<EOT
<tr>
<td class="windowbg" bgcolor="$color[windowbg]" width="6%" align="center" valign="top">$new</td>
<td class="windowbg2" bgcolor="$color[windowbg2]" onclick="document.location.href='$scripturl?board=$row_board[ID_BOARD]'" onmouseover="this.style.backgroundColor='$color[windowbg]';this.style.cursor='hand';" onmouseout="this.style.backgroundColor=''" align="left" width="60%">
<a name="b$row_board[ID_BOARD]"></a>
<font size="2"><b><a href="$scripturl?board=$row_board[ID_BOARD]">$row_board[boardName]</a></b>
<br>$row_board[description]</font>$showmods</td>
<td class="windowbg" bgcolor="$color[windowbg]" valign="middle" align="center" width="6%"><font size="2">$row_board[numTopics]</font></td>
<td class="windowbg" bgcolor="$color[windowbg]" valign="middle" align="center" width="6%"><font size="2">$row_board[numPosts]</font></td>
<td class="windowbg2" bgcolor="$color[windowbg2]" onclick="document.location.href='$scripturl?board=$row_board[ID_BOARD];action=display;threadid=$topicID;start=$startPage'" onmouseover="this.style.backgroundColor='$color[windowbg]';this.style.cursor='hand';" onmouseout="this.style.backgroundColor=''" valign="middle" width="22%"><font size="1">$latestPostTime<BR>in <a href="$scripturl?board=$row_board[ID_BOARD];action=display;threadid=$topicID;start=$startPage">$subject</a><br> $txt[525] $latestPostName</font></td>
</tr>
</replace>
Jetzt sieht meine Datei aber bereits so aus:
Quoteprint <<<EOT
<tr>
<td class="windowbg" width="6%" align="center" valign="top">$new</td>
<td class="windowbg2" align="left" width="60%">
<a name="b$row_board[ID_BOARD]"></a>
<font size="2"><b>$subs1</a></b></font>
<br>$row_board[description]</font>$showmods</td>
<td class="windowbg" valign="middle" align="center" width="6%">$row_board[numTopics]</td>
<td class="windowbg" valign="middle" align="center" width="6%">$row_board[numPosts]</td>
<td class="windowbg2" valign="middle" width="22%"><font size="1">$subs2</font></td>
</tr>
Zweite Änderung: MessageIndex.phpGesucht wird...
Quote<search for>
print <<<EOT
<tr>
<td class="windowbg2" valign="middle" align="center" width="6%" bgcolor="$color[windowbg2]"><img src="$imagesdir/$threadclass.gif" alt=""></td>
<td class="windowbg2" valign="middle" align="center" width="4%" bgcolor="$color[windowbg2]"><img src="$imagesdir/$micon.gif" alt="" border="0" align="middle"></td>
<td class="windowbg" valign="middle" width="48%" bgcolor="$color[windowbg]"><font size="2"><a href="$cgi;action=display;threadid=$mnum">$msub</a> $new $pages</font></td>
<td class="windowbg2" valign="middle" width="14%" bgcolor="$color[windowbg2]"><font size="2">$mname</font></td>
<td class="windowbg" valign="middle" width="4%" align="center" bgcolor="$color[windowbg]"><font size="2">$mreplies</font></td>
<td class="windowbg" valign="middle" width="4%" align="center" bgcolor="$color[windowbg]"><font size="2">$views</font></td>
<td class="windowbg2" valign="middle" width="27%" bgcolor="$color[windowbg2]"><font size="1">$mydate<br>$txt[525] $lastposter</font></td>
</tr>
EOT;
</search for>
und ersetzt werden soll es durch:
Quote<replace>
print <<<EOT
<tr>
<td class="windowbg2" valign="middle" align="center" width="6%" bgcolor="$color[windowbg2]"><img src="$imagesdir/$threadclass.gif" alt=""></td>
<td class="windowbg2" valign="middle" align="center" width="4%" bgcolor="$color[windowbg2]"><img src="$imagesdir/$micon.gif" alt="" border="0" align="middle"></td>
<td class="windowbg" valign="middle" width="48%" bgcolor="$color[windowbg]" onclick="document.location.href='$cgi;action=display;threadid=$mnum'" onmouseover="this.style.backgroundColor='$color[windowbg2]';this.style.cursor='hand';" onmouseout="this.style.backgroundColor=''"><font size="2"><a href="$cgi;action=display;threadid=$mnum">$msub</a> $new $pages</font></td>
<td class="windowbg2" valign="middle" width="14%" bgcolor="$color[windowbg2]"><font size="2">$mname</font></td>
<td class="windowbg" valign="middle" width="4%" align="center" bgcolor="$color[windowbg]"><font size="2">$mreplies</font></td>
<td class="windowbg" valign="middle" width="4%" align="center" bgcolor="$color[windowbg]"><font size="2">$views</font></td>
<td class="windowbg2" valign="middle" width="27%" bgcolor="$color[windowbg2]"><font size="1">$mydate<br>$txt[525] $lastposter</font></td>
</tr>
EOT;
</replace>
Meine Datei sieht aber folgendermaßen aus:
Quote<tr>
<td class="windowbg2" valign="middle" align="center" width="6%" bgcolor="$color[windowbg2]"><img src="$imagesdir/$threadclass.gif" alt=""></td>
<td class="windowbg2" valign="middle" align="center" width="4%" bgcolor="$color[windowbg2]"><img src="$imagesdir/$micon.gif" alt="" border="0" align="middle"></td>
<td class="windowbg" valign="middle" width="48%" bgcolor="$color[windowbg]"><table width="100%"><tr><td align="left" width="95%"><font size="2"><a href="$cgi;action=display;threadid=$mnum">$msub</a> $new $pages</font></td><td align="right" width="5%">$topic_summary</td></tr></table></td>
<td class="windowbg2" valign="middle" width="14%" bgcolor="$color[windowbg2]"><font size="2">$mname</font></td>
<td class="windowbg" valign="middle" width="4%" align="center" bgcolor="$color[windowbg]"><font size="2">$mreplies</font></td>
<td class="windowbg" valign="middle" width="4%" align="center" bgcolor="$color[windowbg]"><font size="2">$views</font></td>
<td class="windowbg2" valign="middle" width="27%" bgcolor="$color[windowbg2]"><font size="1">$mydate<br>$txt[525] $lastposter</font></td>
EOT;
Jetzt die Frage (keine Ahnung haben): Welche Zeilen muss ich verändern, damit der Mouseover Cell-Mod funktioniert.