Seite 1 von 1
Automatisch RE....
Verfasst: 10.10.2006 00:05
von Overlord54
Hallo,
ich wollte mal wissen ob es eine Lösung für mein Problem gibt.
Mein Problem:
Ich möchte das wenn ein User auf einen Beitrag Antworted Automatisch der Titel Re: $Thema geschrieben wird...
Wäre dies möglich?
Danke im Vorraus
PS: Wie stellt man ein das die Singnatur immer angezeigt wird?
Verfasst: 10.10.2006 02:04
von SoLo1905
1. SUCHE
2. in profil sigi benützen auf ja und bei einem post nen hacken bei "Signatur anhängen (Signatur kann im Profil geändert werden)" setzen

re..
Verfasst: 10.10.2006 12:58
von Overlord54
Habe schon gesucht aber nichts gefunden -.-
Ihr könntet mir ja einen Link geben, ich bekomme es mal wieder nicht gebacken^^
Verfasst: 10.10.2006 14:33
von grueneralien
Code: Alles auswählen
################################################################################
##
## Hack Title: Default Subject on Reply
## Hack Version: 1.0.1
## Hack Author: John McKernan (JohnMcK, PRESAGEmedia)
##
## Hack Description: This hack inserts a default subject into the 'subject'
## field when replying to posts. The default subject
## inserted is: "re: <topic title here>".
##
## It's very easy to install, just 2 simple edits.
##
## phpBB Version: 2.0.4 - 2.0.9
##
## Difficulty Level: Very Easy
## Installation Time: 2 Minutes
##
## Files To Edit: (2)
## \posting.php
## \language\lang_english\lang_main.php
##
## Release History:
## 1.0.1 - Jul 15, 2004
## Validated for v 2.0.9
## 1.0.0 - Oct 29, 2003
## Initial Release
##
################################################################################
##
## FOR UPDATES/SUPPORT, please visit http://www.phpbbhacks.com/forums
##
## Stay up-to-date on the latest news involving our hacks, sign-up for
## our newsletter at http://wwww.presagemedia.com/lists/?p=subscribe
##
## This author supports phpBBHacks.com. This hack is made available
## through their database at http://www.phpbbhacks.com or our Download
## Center at http://www.presagemedia.com
##
## If you are new to installing hacks for phpBB, may I suggest that you take
## a look at my 'Installing phpBB Hacks' tutorial at phpBBHacks.com. You can
## find it here: http://www.phpbbhacks.com/forums/viewtopic.php?t=12211 or
## here: http://www.presagemedia.com/hacks/cms_view_article.php?aid=2
##
################################################################################
##
## This hack is released under the GPL License.
## All Intellectual Property Rights are retained by the hack author(s)
## shown above.
##
################################################################################
##
## BEFORE ADDING THIS HACK TO YOUR FORUM, please be sure to backup ALL
## affected files.
##
################################################################################
##
##----------[ OPEN ]-------------------------------------
##
posting.php
##
##----------[ FIND ]-------------------------------------
##
else if ( $mode == 'reply' )
{
$user_sig = ( $userdata['user_sig'] != '' ) ? $userdata['user_sig'] : '';
$username = ( $userdata['session_logged_in'] ) ? $userdata['username'] : '';
$subject = '';
$message = '';
}
##
##----------[ INLINE FIND ]------------------------------
##
$subject = '';
##
##----------[ REPLACE WITH ]-----------------------------
##
$subject = $lang['RE'] . ': ' . $post_info['topic_title'];
##
##----------[ OPEN ]-------------------------------------
##
\language\lang_english\lang_main.php
##
##----------[ FIND ]-------------------------------------
##
//
// That's All Folks !
//
?>
##
##----------[ BEFORE, ADD ]------------------------------
##
// Default Subject on Reply
$lang['RE'] = 're';
##
##----------[ SAVE AND CLOSE ALL FILES ]-----------------
##
## End
##
re..^^
Verfasst: 10.10.2006 14:55
von Overlord54
Danke,
aber jetzt ist bei mir im Forum bei jedem der Title weg...
Aber bei einer Antwort postet er immer re: $Thema das klappt
Wisst ihr warum jetzt kein Thema mehr angezeigt wird?