| Author |
Message |
JeRicHoOL
Newbie


Joined: Aug 22, 2008
Posts: 6
|
Posted:
Sat Aug 30, 2008 4:03 pm |
|
There are 3 fileds. I do know what "Rejection" and "Approval" are for but when does it send the "Follow Up" e-mail?
EDIT: I found out myself. "Follow Up" e-mail is sent when you press the "Follow Up" button in your "Account Approval" module. This e-mail has the following content by default.
| Quote: |
You or someone else has used your email account (abc@abc.de) to register an account at Your Site
Your Application is being processed |
If you add something to this box in the module it will be attached to the previous quote.
EDIT: Can someone tell me where I can change the default e-mail messages for "Follow Up" and "Approval"? When I write something in the boxes it just gets attached instead of replacing the defaulr message. |
| |
|
|
 |
Guardian
Site Admin


Joined: Jul 18, 2005
Posts: 374
|
Posted:
Sun Aug 31, 2008 5:24 am |
|
I would assume those would be in the module language files.
This is a really cool Add-On and I have used it for quite a while (since Montego first released it) but I have removed my own installation ready for RN2.3 to make things a bit simpler so I do not have an installation to guide you.
I'm just thinking out loud as I do not know what Montego's plans are for the future regarding this module but I'm thinking that if the 'default' messages are held in the language files and then the users 'custom message' is held in the database and simply appended to the 'default' message it might be more convenient to just put the 'default' message in the DB so the user can override it without having it appended to something else.
Having some insight into how Montego's brain work's, I think he would already be doing this (storing it in the DB) but if that is not the case then it will be in the language files. |
| |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1281
|
Posted:
Sun Aug 31, 2008 8:15 am |
|
JeRicHoOL,
There is an "Update" button below each textbox... You simply adjust the text above the button and then click on Update. It then saves it to the database.
Guardian,
Welcome back sir!! By the way, based on how awesome the new RavenNuke(tm) Your Account module is looking right now in QA Testing, I will be dropping any further development of this hack.
What I might do, however, is extend the RNYA module for 2.4.0 to include these three types of email messages. |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
Guardian
Site Admin


Joined: Jul 18, 2005
Posts: 374
|
Posted:
Sun Aug 31, 2008 9:36 am |
|
The extension to RNYA would be pretty good added functionality I think. Good idea  |
| |
|
|
 |
JeRicHoOL
Newbie


Joined: Aug 22, 2008
Posts: 6
|
Posted:
Mon Sep 01, 2008 2:30 pm |
|
Montego I know about the Update button.
| Quote: |
You or someone else has used your email account (xxx@xxx.de) to register an account at SITENAME.
Your Application is being processed
So far I have no clue what this e-mail is for.
Contact me when you have received this e-mail. |
(< the bold part is the part i added in the "Follow Up" box but as u can see the email has more content)
Same problem with the activation email
| Quote: |
Welcome to SITE!
You or someone else has used your email account (xxx@xxx.de) to register an account at SITE.
To finish the registration process you should visit the following link in the next 48 hours to activate your user account, otherwise the information will be automatically deleted by the system and you should apply again:
http://ACTIVATION LINK
Following is the member information:
-Nickname: xxx
-Password: xxx
Congratulations dear user,
you have got approved to join SITE .
Yours sincerely
JeRicHoOL |
The bold part is what I have added to the activation box. Yet the email contains more. |
| |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1281
|
Posted:
Mon Sep 01, 2008 2:41 pm |
|
Oh, I see. Sorry. Guardian is right then, its in the language file, but you may have to also change some logic in modules/Approve_Membership/admin/index.php if you want to change the structure of the email. You should be able to find the code based upon the comments within that index file. |
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
JeRicHoOL
Newbie


Joined: Aug 22, 2008
Posts: 6
|
Posted:
Tue Sep 02, 2008 11:05 am |
|
Ok thanks Montego. I'll try to do it and ill post back when I have more information. |
| |
|
|
 |
JeRicHoOL
Newbie


Joined: Aug 22, 2008
Posts: 6
|
Posted:
Tue Sep 02, 2008 2:13 pm |
|
Where can I erase/edit the SITENAME of the following e-mail?
| Quote: |
You or someone else has used your email account (xxx@xxx.de) to register an account at SITENAME.
Your Application is being processed |
I'm not talking about the site name itself. I mean the part in the e-mail because I need the SITENAME to disappear. I managed to delete all the other stuff.
That's how my current e-mail looks like.
| Quote: |
The Kliq
Dear user,
you have got rejected to join our site (http://www.the-kliq.com) for a reason. For more information you can contact me but I will most likely not change my decision.
Yours sincerely,
JeRicHoOL (murdamook@hotmail) |
The bold part must disappear.
Any help? |
| |
|
|
 |
Guardian
Site Admin


Joined: Jul 18, 2005
Posts: 374
|
Posted:
Tue Sep 02, 2008 2:50 pm |
|
Look in the code for $sitename |
| |
|
|
 |
JeRicHoOL
Newbie


Joined: Aug 22, 2008
Posts: 6
|
Posted:
Tue Sep 02, 2008 7:13 pm |
|
I did that already, deleted the $sitename but then i couldnt access my Approval module anymore, it was a white screen, so i added the $sitename back
 |
| |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1281
|
Posted:
Tue Sep 02, 2008 11:20 pm |
|
You just must not have modified the code properly. Try this:
=== OPEN FILE ===
modules\Approve_Membership\admin\index.php
=== FIND CODE ===
| Code: |
$message = ""._YOURAPP." "._TOREGISTER." $sitename "._REJECTED."\r\n\r\n $rejectionmessage\r\n\r\n";
|
=== REPLACE WITH ===
| Code: |
$message = ""._YOURAPP." "._TOREGISTER." "._REJECTED."\r\n\r\n $rejectionmessage\r\n\r\n";
|
|
_________________ “To err is human, but when the eraser wears out ahead of the pencil, you’re overdoing it.”
-- Josh Jenkins |
|
|
 |
JeRicHoOL
Newbie


Joined: Aug 22, 2008
Posts: 6
|
Posted:
Thu Sep 04, 2008 2:59 pm |
|
Thanks guys. With your code I managed to fix the rejection e-mail and it's how I want it now.
----------
Now I need to know how to delete the default part for the e-mail the user receives straight after registration (The bold part is the default part)
| Quote: |
You or someone else has used your email account (xxx@xxx.de) YOURSITE to register an account at YOURSITE
Your Application is being processed
Dear User,
thanks for registering on our site (YOURSITE.com).
Your registration is being processed and has been forwarded to me who will approve or reject you.
Not everyone is allowed to join us.
Yours sincerely,
JeRicHoOL (murdamook@hotmail.de) |
I know it's somewhere in the index.php file but there's still many lines which could be responsible for this ad I don't know which one. |
| |
|
|
 |
montego
Site Admin/Owner


Joined: Feb 12, 2005
Posts: 1281
|
Posted:
Thu Sep 04, 2008 9:23 pm |
|
Might I suggest doing a search on $sitename in each of the following two files and by the comments and language defines, you should be able to figure this out:
The following is if the email is being sent from this administration module:
modules/Approve_Membership/admin/index.php
The following is if its the standard registration send upon the user registering:
modules/Your_Account/index.php
It really depends upon which functionality you intend upon using.
Good luck. |
| |
|
|
 |
|
|