>>  Site Map >>  Forums >>  phpBB Module

Forum module - topics in forum:



phpBB Module - Discussions relating directly to the PHP-Nuke phpBB module.



"Reply" to message question

I have a question on the forum in the site I have ( http://drohr.ath.cx ) ...

OK, when I "reply" to a post or message in the forum I am presented with what looks like this - http://phpnuke-uk.net/modules.php?name=Idiots_Guide&op=forums_phpBB

-<Look to the bottom of the guide>-

and see inside the 'Subject' field? It is blank. I would like to know if anyone can tell me how I would have it automatically fill the 'Subject' field with what you (or a user) are replying to?

Thanks!

drohr[/quote]






Open posting.php in root/modules/Forums/ and find:

Code: :
                $user_sig = ( $userdata['user_sig'] != '' ) ? $userdata['user_sig'] : '';

                $username = ( $userdata['session_logged_in'] ) ? $userdata['username'] : '';
                $subject = '';
                $message = '';

        }


edit this part to:

Code: :
                $user_sig = ( $userdata['user_sig'] != '' ) ? $userdata['user_sig'] : '';

                $username = ( $userdata['session_logged_in'] ) ? $userdata['username'] : '';
                $subject = $lang['RE'] . ': ' . $post_info['topic_title'];
                $message = '';

        }


Open lang_main.php in root/modules/Forums/language/lang_english/ and find:

Code: :

//
// That's all, Folks!
// -------------------------------------------------


before, add:

Code: :
// Default Subject on Reply
$lang['RE'] = 're';



BL




Thank you ...

Thank you very much!




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Valid HTML 4.01 Valid CSS