Primetio sam da nema onaj hack za automatsko dodeljivanje naziva poruci, pogotovu pošto većina koristi "Quick Reply" (Brzi Odgovor). Pri tome se u zaglavlju poruke javi:"Post subject:" ili srpski "Naslov:"
Evo hack-a koji automatski pretvara .prazan. naslov u nesto tipa "Re:..."
Kod:
#
#-----[ OPEN ]-----
#
viewtopic.php
#
#-----[ FIND ]-----
#
$post_subject = ( $postrow[$i]['post_subject'] != '' ) ? $postrow[$i]['post_subject'] : '';
#
#-----[ REPLACE WITH ]-----
#
$post_subject = ( $postrow[$i]['post_subject'] != '' ) ? $postrow[$i]['post_subject'] : $lang['Re'] . ': ' . $topic_title;
#
#-----[ OPEN ]-----
#
posting.php
#
#-----[ FIND ]-----
#
$preview_subject = $subject;
#
#-----[ AFTER, ADD ]-----
#
if ( ($preview_subject=='') && ($mode=='reply' || $mode=='quote') )
{
$preview_subject = $lang['Re'] . ': ' . $post_info['topic_title'];
}
#
#-----[ OPEN ]-----
#
includes/topic_review.php
#
#-----[ FIND ]-----
#
global $starttime;
#
#-----[ AFTER, ADD ]-----
#
global $post_info;
#
#-----[ FIND ]-----
#
$post_subject = ( $row['post_subject'] != '' ) ? $row['post_subject'] : '';
#
#-----[ REPLACE WITH ]-----
#
$post_subject = ( $row['post_subject'] != '' ) ? $row['post_subject'] : $lang['Re'] . ': ' . (($is_inline_review) ? $post_info['topic_title'] : $topic_title);
#
#-----[ OPEN ]-----
#
search.php
#
#-----[ FIND ]-----
#
$post_subject = ( $searchset[$i]['post_subject'] != "" ) ? preg_replace($orig_word, $replacement_word, $searchset[$i]['post_subject']) : $topic_title;
#
#-----[ REPLACE WITH ]-----
#
$post_subject = ( $searchset[$i]['post_subject'] != "" ) ? preg_replace($orig_word, $replacement_word, $searchset[$i]['post_subject']) : $lang['Re'] . ': ' . $topic_title;
#
#-----[ FIND ]-----
#
$post_subject = ( $searchset[$i]['post_subject'] != '' ) ? $searchset[$i]['post_subject'] : $topic_title;
#
#-----[ REPLACE WITH ]-----
#
$post_subject = ( $searchset[$i]['post_subject'] != '' ) ? $searchset[$i]['post_subject'] : $lang['Re'] . ': ' . $topic_title;
#
#-----[ OPEN ]-----
#
language/lang_english/lang_main.php
#
#-----[ FIND ]-----
#
//
// That's all, Folks!
// -------------------------------------------------
#
#-----[ BEFORE, ADD ]-----
#
$lang['Re'] = 'Re';
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
A postoji i resenje da se spreče dupli postovi... " Double Post Control"
Nalazi se
ovde
Pozdrav!