Seite 1 von 1
Automatisch in jedem Forum eine Ankündigung
Verfasst: 08.10.2006 22:23
von ottix
Hallo zusammen,
ich wäre euch sehr dankbar wenn Ihr mir helfen könnt. Ich suche ein Mod oder snippets womit ich automatisch vom admin aus oder so in jeden Forum eine Ankündigung schreiben kann.??
Beste Grüsse
Micha
Verfasst: 08.10.2006 22:27
von hackepeter13
Hi, schon mal nach Globale Ankündigung oder auch Global Announce Mod gesucht.
In der Mod Datenbank gibt es auch diesen Mod:
Global Topic
Verfasst: 08.10.2006 22:34
von ottix
Hi,
danke... habe ich noch nicht nach gesucht weil ich nicht wusste wonach ich suchen muss.
Ist denn das mod was du hier gepostet hast das was ich suche?
Muss ich da jeden MOD global topic part 1-2-3-4-5 ausführen?
Die datei includes/def_auth.php habe ich nicht auf dem server

?
Gruss Micha
Verfasst: 08.10.2006 23:07
von Bermal
Es gibt auch noch
den hier. Finde ich persöhnlich auch besser.
Verfasst: 09.10.2006 14:59
von ottix
Hi,
ich danke dir! Ich habe es gerade installiert. Aber die Punkte gibt es in meiner viewforum_body.tpl nicht:
#
#-----[ FIND ]------------------------------------------------
#
<td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="19" height="18" /></td>
<td class="gensmall">{L_ANNOUNCEMENT}</td>
#
#-----[ REPLACE WITH ]----------------------------------------
#
<!-- Start replacement - Global announcement MOD -->
<td width="20" align="center"><img src="{FOLDER_GLOBAL_ANNOUNCE_IMG}" alt="{L_GLOBAL_ANNOUNCEMENT}" width="19" height="18" /></td>
<td class="gensmall">{L_GLOBAL_ANNOUNCEMENT}</td>
<!-- End replacement - Global announcement MOD -->
#
#-----[ FIND ]------------------------------------------------
#
<td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" width="19" height="18" /></td>
<td class="gensmall">{L_STICKY}</td>
#
#-----[ REPLACE WITH ]----------------------------------------
#
<!-- Start replacement - Global announcement MOD -->
<td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="19" height="18" /></td>
<td class="gensmall">{L_ANNOUNCEMENT}</td>
<!-- End replacement - Global announcement MOD -->
#
#-----[ FIND ]------------------------------------------------
#
<td class="gensmall"><img src="{FOLDER_LOCKED_IMG}"
<td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- Start add - Global announcement MOD -->
<td> </td>
<td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" width="19" height="18" /></td>
<td class="gensmall">{L_STICKY}</td>
<!-- End add - Global announcement MOD -->
#
#-----[ DIY INSTRUCTIONS ]------------------------------------------
#
In the translations directory you find instructions for editting other languages.
EasyMod put the English language also in other languages, so make sure you remove
that before you add the original language strings.
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM
Was soll ich nun machen ?
Meine viewforum_body.tpl:
Gruss Micha
<form method="post" action="{S_POST_DAYS_ACTION}">
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></td>
<td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall"><b>{PAGINATION}</b></span></td>
</tr>
<tr>
<td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
<td align="left" valign="middle" class="nav" width="100%"><span class="nav"> <a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
<td align="right" valign="bottom" class="nav" nowrap="nowrap"><span class="gensmall"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>
</tr>
</table>
<table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
<tr>
<th colspan="5" align="center" height="25" class="thCornerL" nowrap="nowrap"> {L_TOPICS} </th>
<th width="50" align="center" class="thTop" nowrap="nowrap"> {L_REPLIES} </th>
<th width="100" align="center" class="thTop" nowrap="nowrap"> {L_AUTHOR} </th>
<th width="50" align="center" class="thTop" nowrap="nowrap"> {L_VIEWS} </th>
<th width="100" align="center" class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
<!-- BEGIN topicrow -->
<tr>
<td colspan="4" 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>
<td class="row1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
{topicrow.GOTO_PAGE}</span></td>
<td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
<td class="row3" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
<td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
<td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
</tr>
<!-- END topicrow -->
<!-- BEGIN switch_no_topics -->
<tr>
<td class="row1" colspan="9" height="30" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
</tr>
<!-- END switch_no_topics -->
<tr>
<td class="catBottom" align="center" valign="middle" colspan="9" height="28"><span class="genmed">{L_DISPLAY_TOPICS}: {S_SELECT_TOPIC_DAYS}
<input type="submit" class="liteoption" value="{L_GO}" name="submit" />
</span></td>
</tr>
</table>
<br />
<table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
<tr>
<td class="row1">
<span class="gensmall"><b>{L_MODERATOR}: {MODERATORS}</b></span>
</td>
<td class="row1" align="center" width="200">
<span class="gensmall"><b>{S_TIMEZONE}</b></span>
</td>
</tr>
<tr>
<td class="row1" colspan="2">
<span class="gensmall">{LOGGED_IN_USER_LIST}</span>
</td>
</tr>
</table>
<table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
<tr>
<td align="left"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
<td align="right"><span class="nav">{PAGE_NUMBER}</span></td>
</tr>
</table>
</form>
<table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
<tr>
<td align="right"><span class="gensmall">{S_AUTH_LIST}</span></td>
</tr>
</table>