Montego Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic
Author Message
JeRicHoOL
Newbie
Newbie



Joined: Aug 22, 2008
Posts: 6

PostPosted: Sat Aug 30, 2008 4:03 pm Reply with quote

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.
 
View user's profile Send private message
Guardian
Site Admin
Site Admin



Joined: Jul 18, 2005
Posts: 401

PostPosted: Sun Aug 31, 2008 5:24 am Reply with quote

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.
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1393

PostPosted: Sun Aug 31, 2008 8:15 am Reply with quote

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 
View user's profile Send private message Visit poster's website
Guardian
Site Admin
Site Admin



Joined: Jul 18, 2005
Posts: 401

PostPosted: Sun Aug 31, 2008 9:36 am Reply with quote

The extension to RNYA would be pretty good added functionality I think. Good idea Smile
 
View user's profile Send private message
JeRicHoOL
Newbie
Newbie



Joined: Aug 22, 2008
Posts: 6

PostPosted: Mon Sep 01, 2008 2:30 pm Reply with quote

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.
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1393

PostPosted: Mon Sep 01, 2008 2:41 pm Reply with quote

Oh, I see. Sorry. Embarassed 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 
View user's profile Send private message Visit poster's website
JeRicHoOL
Newbie
Newbie



Joined: Aug 22, 2008
Posts: 6

PostPosted: Tue Sep 02, 2008 11:05 am Reply with quote

Ok thanks Montego. I'll try to do it and ill post back when I have more information.
 
View user's profile Send private message
JeRicHoOL
Newbie
Newbie



Joined: Aug 22, 2008
Posts: 6

PostPosted: Tue Sep 02, 2008 2:13 pm Reply with quote

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?
 
View user's profile Send private message
Guardian
Site Admin
Site Admin



Joined: Jul 18, 2005
Posts: 401

PostPosted: Tue Sep 02, 2008 2:50 pm Reply with quote

Look in the code for $sitename
 
View user's profile Send private message
JeRicHoOL
Newbie
Newbie



Joined: Aug 22, 2008
Posts: 6

PostPosted: Tue Sep 02, 2008 7:13 pm Reply with quote

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

Confused
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1393

PostPosted: Tue Sep 02, 2008 11:20 pm Reply with quote

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 
View user's profile Send private message Visit poster's website
JeRicHoOL
Newbie
Newbie



Joined: Aug 22, 2008
Posts: 6

PostPosted: Thu Sep 04, 2008 2:59 pm Reply with quote

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.
 
View user's profile Send private message
montego
Site Admin/Owner
Site Admin/Owner



Joined: Feb 12, 2005
Posts: 1393

PostPosted: Thu Sep 04, 2008 9:23 pm Reply with quote

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.
 
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

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


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