Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> For Hire
Author Message
sak
Worker
Worker



Joined: Jul 06, 2005
Posts: 172

PostPosted: Mon Sep 21, 2009 9:57 am Reply with quote

Running RN 2.40.00 - wanting to get quotes for the following job which is hopefully not too difficult.

I've come across the need to notify myself of new account creations with the user's real name, email, and custom fields.

What I'm trying to accomplish is to be able have sent automatically when someone registers an email containing not only their username and IP, but their real name and other fields -- my specific need right now Real name, email, and 2 custom fields under RNYA.

I'm not a programmer, although I can get in, hack things a little bit, and most of the time understand what's going on. I'm just not familiar with php enough yet to do it all myself Sad

I'm looking at the /modules/Your_Account/public/new_finish.php file (starting line 216):

Code:
      if ($ya_config['sendaddmail'] == 1 AND $ya_config['servermail'] == 1) {


         if ($ya_config['requireadmin'] == 1) {

            $subject = $sitename . ' - ' . _MEMAPL;

            $message = $ya_username . ' ' . _YA_APLTO . ' ' . $sitename . ' ' . _YA_FROM . ' ' . $ip . "\r\n";

         } elseif ($ya_config['useactivate'] == 1) {

            $subject = $sitename . ' - ' . _MEMACT;

            $message = $ya_username . ' ' . _YA_APLTO . ' ' . $sitename . ' ' . _YA_FROM . ' ' . $ip . "\r\n";

         } elseif ($ya_config['useactivate'] == 0) {

            $subject = $sitename . ' - ' . _MEMADD;

            $message = $ya_username . ' ' . _YA_ADDTO . ' ' . $sitename . ' ' . _YA_FROM . ' ' . $ip . "\r\n";

         }

         $message .= '-----------------------------------------------------------' . "\r\n";

         $message .= _YA_NOREPLY;

         ya_mail($adminmail, $subject, $message, $ya_user_email);

      }


I'm assuming there would need to be some includes/defines at the top?

I need a developer who can find an easy hack solution (I don't want a user interface or any fancy things, just the lines that need changin to make it do it's thing). Developer must use his/her own RN 2.4 environment for developing/testing.

Please PM with quotes. If you have any questions regarding the job you can post them publicly in this thread. Thanks so much!

_________________
www.ICarry.org
www.GunOwnersFellowship.com 
View user's profile Send private message Visit poster's website
floppydrivez
Involved
Involved



Joined: Feb 26, 2006
Posts: 340
Location: Jackson, Mississippi

PostPosted: Mon Sep 21, 2009 10:40 am Reply with quote

http://us3.php.net/manual/en/function.mail.php

I think you have the right location, but if you can't find anyone else to do it I will. I got a lot on my plate right now, so my time is rather limited for custom work not to mention I just had to reformat my machine.

_________________
Only registered users can see links on this board! Get registered or login!, Only registered users can see links on this board! Get registered or login!, Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
gazj
Worker
Worker



Joined: Apr 28, 2006
Posts: 152
Location: doncaster england

PostPosted: Mon Sep 21, 2009 11:17 am Reply with quote

hi let me get this right on user activation you want an email with the username/ip/realname/email/and 2 custom fields this should be easy enough ill check back in afew hours to await your reply

_________________
as i stare into the abyss and battle with my demons i yell timeout and have a coffee break. 
View user's profile Send private message Visit poster's website
sak







PostPosted: Mon Sep 21, 2009 2:47 pm Reply with quote

You are right, gazj. That's exactly what I need. RN has the ability to notify upon activation (I believe it's activation and NOT simply registration) already, so I'm just trying to add the extra fields that I need into the activation email.
 
gazj







PostPosted: Mon Sep 21, 2009 6:29 pm Reply with quote

ill look into it in the morning its a lil late now over here
 
sak







PostPosted: Mon Sep 21, 2009 8:36 pm Reply with quote

http://www.ravenphpscripts.com/postt18116.html

kguske has provided some code that is supposed to send all info. Check it out at te link above. I'm going to try it now Smile
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> For Hire

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©