ich habe einen Mod installiert, der dem User die Möglichkeit gibt, ein Thema per e-mail an einem Freund zu schicken. Seltsamerweise bekommen aber andere User eine Fehlermeldung:
Ich habe es mit 3 verschiedenen Accounts versucht, und es hat immer funktioniert.wenn ich das versuche, erscheint bei mir folgende info:
Das gewählte Thema oder der Beitrag existiert nicht.
Hier die Anleitung:
###############################################
## Mod Title: Email topic to friend
## Mod Version: 0.2
## Author: Vincent Grouls (macology@gmx.net)
## Description: This MOD allows you to send a friend of yours a topic of the board that
## you find interesting for him. It is also very handy in this way that you
## can email other members with interesting topics, while they are offline
## for a long time (like when they are one vacation).
##
## This mod works for phpBB2 v2.0.3
##
##
## Installation Level: Easy
## Installation Time: 5 Minutes
##
## Files To Edit: 2
## viewtopic.php
## includes/contants.php
## language/lang_english/lang_main.php
## templates/subSilver/viewtopic_body.tpl
##
## Included Files: 4
## db_update.php
## email_topic_body.tpl
## email_topic.php
## email_topic.tpl
##
## Author Notes:
## If you have email topic to friend 0.1, simply replace the file "email_topic.php"
## to fix the bug.
##
## History
## 0.2: Fixed a little bug, where the idrinkbox (another mod of me) function was
## called from the php page.
##
###############################################
## This MOD is released under the GPL License.
## Intellectual Property is retained by the MOD Author(s) listed above
###############################################
#
#-----[ COPY ]--------------------------------------------
#
# (this file should go in the root directory of your forum.
# Run it before using the MOD, and delete it immediately after that)
#
db_update.php
#
#-----[ COPY ]--------------------------------------------
#
# (this file should go in your templates directory)
# ./templates/subSilver/
#
email_topic_body.tpl
#
#-----[ COPY ]--------------------------------------------
#
# (this file should go in the root directory of your forum)
#
email_topic.php
#
#-----[ COPY ]--------------------------------------------
#
# (this file should go in the email directory in your
# language directory)
# ./language/lang_english/email/
#
email_topic.tpl
#
#-----[ OPEN ]--------------------------------------------
#
./viewtopic.php
#
#-----[ FIND ]--------------------------------------------
#
//
// If we've got a hightlight set pass it on to pagination,
// I get annoyed when I lose my highlight after the first page.
//
#
#-----[ BEFORE, ADD ]-------------------------------------
#
//
// Add the email topic to friend
//
$s_email_topic = '';
if ( $userdata['session_logged_in'] )
{
$action = ( isset($post_id) ) ? POST_POST_URL . "=$post_id" : POST_TOPIC_URL . "=$topic_id&start=$start";
$s_email_topic = '<a href="' . append_sid("email_topic.$phpEx?$action") . '">' . $lang['Email_topic'] . '</a>';
}
#
#-----[ FIND ]--------------------------------------------
#
'S_WATCH_TOPIC' => $s_watching_topic,
#
#-----[ AFTER, ADD ]--------------------------------------
#
'S_EMAIL_TOPIC' => $s_email_topic,
#
#-----[ OPEN ]--------------------------------------------
#
./includes/constants.php
#
#-----[ FIND ]--------------------------------------------
#
define('TOPICS_TABLE', $table_prefix.'topics');
#
#-----[ AFTER, ADD ]--------------------------------------
#
define('TOPICS_EMAIL_TABLE', $table_prefix.'topics_email');
#
#-----[ OPEN ]--------------------------------------------
#
./language/lang_english/lang_main.php
#
#-----[ FIND ]--------------------------------------------
#
//
// That's all Folks!
// -------------------------------------------------
#
#-----[ BEFORE, ADD ]-------------------------------------
#
# (make sure to edit this file for every language)
#
//
// Email topic to friend
//
$lang['Email_topic'] = 'Email topic to a friend';
$lang['Email_topic_settings'] = 'Email topic information';
$lang['Friend_name'] = 'Friend\'s name';
$lang['Friend_email'] = 'Friend\'s email';
$lang['Email_max_exceeded'] = 'Sorry, but you have already sent 5 emails in the past 24 hours';
$lang['No_friend_specified'] = 'No friend\s name/email specified';
#
#-----[ OPEN ]--------------------------------------------
#
# (make sure to edit this file for every template)
#
./templates/subSilver/viewtopic_body.tpl
#
#-----[ FIND ]--------------------------------------------
#
{S_WATCH_TOPIC}
#
#-----[ AFTER, ADD ]--------------------------------------
#
<br />{S_EMAIL_TOPIC}
#
#-----[ SAVE & CLOSE ALL FILES ]--------------------------
#
Hat vielleicht jemand eine Ahnung, woran das liegen könnte? Resync hat nichts genutzt.