Seite 1 von 2
No PM! Mod
Verfasst: 21.02.2004 04:40
von Tuxman
Also, ich hab für mein
Forum Acids "No PM"-Hack installiert... lief auch ganz gut... bis ich mir selbst eine PM geschickt habe

dann wurde plötzlich unter den Beiträgen der PM-Button nicht mehr angezeigt, als Gast sogar nicht mal mehr der eMail-Button!?
Was kann das sein?

Verfasst: 21.02.2004 17:37
von Tuxman
*up*
Verfasst: 21.02.2004 18:29
von Dwing
Versteh ich grad richtig, du hast eine PM bei installiertem No PM! Mod verschickt?
Verfasst: 21.02.2004 19:19
von Tuxman
Richtig.
Mit Adminrechten kann man das.

Verfasst: 21.02.2004 19:32
von Dwing
wo hast du den Mod her?
Verfasst: 21.02.2004 21:45
von Acid
Du wolltest es nur mal testen ..du hast bei dir angegeben, das du keine PNs möchtest und hast dir trotzdem eine geschickt !?
Und wo wird dann was (nicht) angezeigt ?
Verfasst: 21.02.2004 21:56
von Tuxman
Dwing hat geschrieben:wo hast du den Mod her?
www.phpbbhacks.com <-- da hab ich ihn irgendwo gefunden... jetzt isser aber plötzlich weg?
@Acid: Jetzt wird auf einmal der "PM"/"No PM"-Button unter den Postings nicht mehr angezeigt... also {postrow.PM_URL} ...

Verfasst: 21.02.2004 22:22
von Acid
In unserer DB heisst der Hack übrigens "Wer will eine PN?".
Is das jetzt nur ´n Schreibfehler deinerseits.. denn eigentlich heisst die Konstante
{postrow.PM_IMG}!? Eventuell nochmal die Einstellung im Profil und viewtopic_body.tpl/viewtopic.php überprüfen (ggf. hier als *.txt verlinken). Wird der Button noch im Profil angezeigt ?
Verfasst: 21.02.2004 22:57
von Tuxman
Ist ein Schreibfehler, ja. Ich meinte IMG.
Im Profil wird der Button (PM und NoPM) korrekt angezeigt.
Link:
http://emilia.ath.cx/~tuxman/temp/viewtopic.txt
viewtopic_body.tpl:
Code: Alles auswählen
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
<td align="left" valign="bottom" colspan="2"><a class="maintitle" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><br />
<span class="gensmall"><b>{PAGINATION}</b><br />
</span></td>
</tr>
</table>
<table width="100%" cellspacing="2" cellpadding="2" border="0">
<tr>
<td align="left" valign="bottom" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>
<td align="left" valign="middle" width="100%"><span class="nav"> <a href="{U_INDEX}" class="nav">{L_INDEX}</a>
-> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td>
</tr>
</table>
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0">
<tr align="right">
<td class="catHead" colspan="2" height="28"><span class="nav"><a href="{U_VIEW_OLDER_TOPIC}" class="nav">{L_VIEW_PREVIOUS_TOPIC}</a> :: <a href="{U_VIEW_NEWER_TOPIC}" class="nav">{L_VIEW_NEXT_TOPIC}</a> </span></td>
</tr>
{POLL_DISPLAY}
<tr>
<th class="thLeft" width="150" height="26" nowrap="nowrap">{L_AUTHOR}</th>
<th class="thRight" nowrap="nowrap">{L_MESSAGE}</th>
</tr>
<!-- BEGIN postrow -->
<tr>
<td width="150" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a name="{postrow.U_POST_ID}"></a><b><a href="{postrow.PM_URL}" class="genmed">{postrow.POSTER_NAME}</a></b></span><br /><span class="postdetails">{postrow.POSTER_RANK}<br />{postrow.RANK_IMAGE}{postrow.WWW_URLFRONT}{postrow.POSTER_AVATAR}{postrow.WWW_URLBACK}<br /><br />{postrow.POSTER_JOINED}<br />{postrow.POSTER_POSTS}<br />{postrow.POSTER_FROM}</span><br /></td>
<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><a href="{postrow.U_MINI_POST}"><img src="{postrow.MINI_POST_IMG}" width="12" height="9" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /></a><span class="postdetails">{L_POSTED}: {postrow.POST_DATE}<span class="gen"> </span> {L_POST_SUBJECT}: {postrow.POST_SUBJECT}</span></td>
<td valign="top" align="right" nowrap="nowrap">{postrow.IGNORE} {postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG}</td>
</tr>
<tr>
<td colspan="2"><hr /></td>
</tr>
<tr>
<td colspan="2"><span class="postbody">{postrow.MESSAGE}{postrow.SIGNATURE}</span><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td>
</tr>
</table></td>
</tr>
<tr>
<td class="{postrow.ROW_CLASS}" width="150" align="left" valign="middle"><span class="nav"><a href="#top" class="nav">{L_BACK_TO_TOP}</a></span></td>
<td class="{postrow.ROW_CLASS}" width="100%" height="28" valign="bottom" nowrap="nowrap"><table cellspacing="0" cellpadding="0" border="0" height="18" width="18">
<tr>
<td valign="middle" nowrap="nowrap">{postrow.PROFILE_IMG} {postrow.PM_IMG} {postrow.EMAIL_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG}<script language="JavaScript" type="text/javascript"><!--
if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 )
document.write(' {postrow.ICQ_IMG}');
else
document.write('</td><td> </td><td valign="top" nowrap="nowrap"><div style="position:relative"><div style="position:absolute">{postrow.ICQ_IMG}</div><div style="position:absolute;left:3px;top:-1px">{postrow.ICQ_STATUS_IMG}</div></div>');
//--></script><noscript>{postrow.ICQ_IMG}</noscript></td>
</tr>
</table></td>
</tr>
<tr>
<td class="spaceRow" colspan="2" height="1"><img src="templates/Orange/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
<!-- END postrow -->
<tr align="center">
<td class="catBottom" colspan="2" height="28"><table cellspacing="0" cellpadding="0" border="0">
<tr><form method="post" action="{S_POST_DAYS_ACTION}">
<td align="center"><span class="gensmall">{L_DISPLAY_POSTS}: {S_SELECT_POST_DAYS} {S_SELECT_POST_ORDER} <input type="submit" value="{L_GO}" class="liteoption" name="submit" /></span></td>
{S_HIDDEN_FIELDS} </form></tr>
</table></td>
</tr>
</table>
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="left" valign="middle" nowrap="nowrap"><span class="nav"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></span></td>
<td align="left" valign="middle" width="100%"><span class="nav"> <a href="{U_INDEX}" class="nav">{L_INDEX}</a>
-> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td>
<td align="right" valign="top" nowrap="nowrap"><span class="gensmall">{S_TIMEZONE}</span><br /><span class="nav">{PAGINATION}</span>
</td>
</tr>
<tr>
<td align="left" colspan="3"><span class="nav">{PAGE_NUMBER}</span></td>
</tr>
</table>
<table width="100%" cellspacing="2" border="0" align="center">
<tr>
<td width="40%" valign="top" nowrap="nowrap" align="left"><span class="gensmall">{S_WATCH_TOPIC}</span><br />
<br />
{S_TOPIC_ADMIN}</td>
<td align="right" valign="top" nowrap="nowrap">{JUMPBOX}<span class="gensmall">{S_AUTH_LIST}</span></td>
</tr>
</table>
(sry, aber im textformat hab ichs nie browsergerecht hinbekommen, der hat das immer interpretiert...)
Verfasst: 21.02.2004 23:17
von Acid
Meintest du eventuell doch "pm_url" ? Denn in der viewtopic.php gibt´s ja einiges dazu.

Entweder bei folgender Zeile wieder auf "img" umstellen..
..oder halt in viewtopic_body.tpl bzw. dem no_pm-Code in der viewtopic.php das "img" mit "url" ersetzen.