Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 PM to New Users
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #1
PM to New Users
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.


Attached File(s)
.php  pmregister.php (Size: 3.73 KB / Downloads: 1041)

My Blog
01-27-2008 12:58 AM
Find all posts by this user
Constrictor Offline
Junior Member
**
Posts: 16
Joined: Jan 2008
Post: #2
RE: PM to New Users
If you lost interest I'll suicide my self xD because you're really nice person lol
01-27-2008 03:19 AM
Find all posts by this user
goindex Offline
Junior Member
**
Posts: 23
Joined: Jan 2008
Post: #3
RE: PM to New Users
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.

My Site | My Posts | My Profil | My Favorites Plugins
(This post was last modified: 01-27-2008 06:33 AM by goindex.)
01-27-2008 06:07 AM
Find all posts by this user
77.125.132.137
Unregistered
 
Post: #4
RE: PM to New Users
I think that can be done with small changes to the current plugin, no?
01-27-2008 09:50 AM
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #5
RE: PM to New Users
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.


My Blog
01-27-2008 11:10 AM
Find all posts by this user
goindex Offline
Junior Member
**
Posts: 23
Joined: Jan 2008
Post: #6
RE: PM to New Users
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

My Site | My Posts | My Profil | My Favorites Plugins
01-27-2008 04:18 PM
Find all posts by this user
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #7
RE: PM to New Users
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.

My Blog
01-27-2008 04:28 PM
Find all posts by this user
goindex Offline
Junior Member
**
Posts: 23
Joined: Jan 2008
Post: #8
RE: PM to New Users
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:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<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 !


My Site | My Posts | My Profil | My Favorites Plugins
(This post was last modified: 01-27-2008 04:58 PM by goindex.)
01-27-2008 04:43 PM
Find all posts by this user
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #9
RE: PM to New Users
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.

My Blog
01-27-2008 05:49 PM
Find all posts by this user
MyBB Us3r Offline
Junior Member
**
Posts: 19
Joined: Jan 2008
Post: #10
RE: PM to New Users
Nice mod.

It's a good way to greet new members, I've seen this used a lot in VBulletin forums.
01-28-2008 06:40 AM
Find all posts by this user

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: