I would like to show a message "Please post your first message by introducing yourself in the welcome room" for the people who are registered but have 0 posts. How can I do that? what file should I change? Can anyone help me with this.
Thanks!
GSA
Open the file global.php and search for:
PHP Code:
eval("\$headerinclude = \"".$templates->get("headerinclude")."\";");
Add above:
PHP Code:
$nopostsmessage = "";
if($mybb->user['postnum'] == "0") {
����$nopostsmessage = "Please post a message!";
}
After that you can insert the variable $nopostsmessage into the template where you want to show the message.
I use automatic PM on registration for that
xiao Wrote:I use automatic PM on registration for that
I have that and the automatic welcome post plugin. Not saying that it works wonders, but at least I'm trying.
I found a funky mod over on a vBulletin board that would be good... lemme find the screenshot I took of it. This was included on the Registration page, just under where you post your contact info.
Very, very cool, but considering you need to activate your account before you can post (most people have this set up this way), would that be possible?