MyBB Hacks

Full Version: PM to New Users
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
This was requested by a few people.  It's somewhat similar to DenisTT's PM On Registration mod.

Well, there's really not too much difference between the two.  This one is just written by me - supports a few other variables in the message.  Otherwise, they're both fairly identical.
If you lost interest I'll suicide my self xD because you're really nice person lol
Thank you so much, ZINgA BuRgA.

But... this is not what I want.
I want a mod for send a pm to administrator every time when a new user register to forum.
This message I want to contain:
- name of new user
- ip adress
- e-mail used for registration

The mod I'm requesting is for a PM to be sent to me when a new user registers on the forums with the information listed above, if possible.

77.125.132.137

I think that can be done with small changes to the current plugin, no?
goindex Wrote:Thank you so much, ZINgA BuRgA.

But... this is not what I want.
I want a mod for send a pm to administrator every time when a new user register to forum.
This message I want to contain:
- name of new user
- ip adress
- e-mail used for registration

The mod I'm requesting is for a PM to be sent to me when a new user registers on the forums with the information listed above, if possible.
Oh okay, sorry.

77.125.132.137 Wrote:I think that can be done with small changes to the current plugin, no?
Of course,
Find:

PHP Code:
		'toid' => $user_info['uid'],
		'fromid' => intval($mybb->settings['pmregister_fromuid']),


Replace with:

PHP Code:
		'fromid' => $user_info['uid'],
		'toid' => intval($mybb->settings['pmregister_fromuid']),


This will cause the PMs to be sent to you.

ZiNgA BuRgA Wrote:
goindex Wrote:This message I want to contain:
- name of new user
- ip adress
- e-mail used for registration
This will cause the PMs to be sent to you.

OK. Is great... I receive PM when new user register on my forum but don't have in message
- ip adress
- e-mail used for registration
Anyway... it's enough for me.
Is not necessary because I find all other info in Admin CP.
Thank's again, ZiNgA BuRgA.
Smile
goindex Wrote:
ZiNgA BuRgA Wrote:
goindex Wrote:This message I want to contain:
- name of new user
- ip adress
- e-mail used for registration
This will cause the PMs to be sent to you.

OK. Is great... I receive PM when new user register on my forum but don't have in message
- ip adress
- e-mail used for registration
Anyway... it's enough for me.
Is not necessary because I find all other info in Admin CP.
Thank's again, ZiNgA BuRgA.
Smile
Go to your AdminCP and insert the variables into the message.  Use {regip} for IP, {email} for E-mail etc.
ZiNgA BuRgA Wrote:Go to your AdminCP and insert the variables into the message.  Use {regip} for IP, {email} for E-mail etc.
Perfect !

I have a litlle problem: every time when a new user register, in portal.php is posted a welcome message.
I don't want to have this message on Portal Page.
What can I do, please ?

In portal template I have this:

PHP Code:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
</head>
<body>
{$header}
<table width="100%" cellspacing="0" cellpadding="{$theme['tablespace']}" border="0" align="center">
<tr><td valign="top" width="200">
{$welcome}
{$pms}
{$search}
{$stats}
{$whosonline}
{$latestthreads}
</td>
<td>&nbsp;</td>
<td valign="top">
{$announcements}
</td>
</tr>
</table>
{$footer}
</body>
</html>


//Later: After I used your trick (Adding Paging to the Portal Page) and I put {$multipage} before {$announcements}, I don't have any other message on portal page from system every time when a new user is registered.
So... sorry... now is perfect (for me) !
Thank's again !

I'm glad you solved your issue, goindex.

Next time, would you mind posting different issues in a new thread?  It helps us stay on topic in the appropriate threads.

Thanks.
Nice mod.

It's a good way to greet new members, I've seen this used a lot in VBulletin forums.
Pages: 1 2 3
Reference URL's