1
webguy
Activation E-mail and return page
  • 2006/8/7 14:04

  • webguy

  • Just popping in

  • Posts: 9

  • Since: 2006/8/6 1


I have 3 questions.

1. Where do I edit what the activation e-mail says.

2. Can I change the page that they return to after activation?

3. This one could be a tuffy... I am using the profile mod from XOOPS for Dummies, I love it but I would like to make it so if a user has not filled in this profile info they are directed to that page every time they log in. If they have filled it in then they are just directed to the frontpage after login.

That last one might be impossible but take a stab at it.

thanks everyone!

2
homergz
Re: Activation E-mail and return page
  • 2006/8/7 15:59

  • homergz

  • Just popping in

  • Posts: 80

  • Since: 2006/5/21


I can't help you with the redirect but the email sent upon user activated registration uses an email template located at root/language/english/mail_template/register.tpl

3
webguy
Re: Activation E-mail and return page
  • 2006/8/7 16:57

  • webguy

  • Just popping in

  • Posts: 9

  • Since: 2006/8/6 1


Thanks Homergz.

That takes care of number 1!

4
skenow
Re: Activation E-mail and return page
  • 2006/8/7 17:36

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


The redirection after activation can be changed by editing user.php (in your XOOPS root). Several different cases are handled by this file, so make a backup before editing!

Line 128 is where the redirection is set for after activation. change 'user.php' to wherever you want to go. The number that follows is the length of time to display the redirect message, and a variable (from the language files) for the message to display.

5
nekro
Re: Activation E-mail and return page
  • 2006/8/7 17:38

  • nekro

  • Quite a regular

  • Posts: 213

  • Since: 2005/11/9


what do you want to do ??? where do you want to redirect or what do you want to show??

6
webguy
Re: Activation E-mail and return page
  • 2006/8/8 0:29

  • webguy

  • Just popping in

  • Posts: 9

  • Since: 2006/8/6 1


Skenow appreciate the attempt but my 'user.php' only goes to line 92? Did you miss type the file I need to mod?

7
webguy
Re: Activation E-mail and return page
  • 2006/8/8 0:31

  • webguy

  • Just popping in

  • Posts: 9

  • Since: 2006/8/6 1


I don't know if you are familiar with Profiles Mod but it allows for images and such. I enjoy using it but I want my members to be directed to the create profile page when they click the activation link in the e-mail. Thus encouraging them to complete it.

8
skenow
Re: Activation E-mail and return page
  • 2006/8/8 12:54

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


My reference is correct for XOOPS 2.0.13 - 2.0.14. What version are you using?

9
fungus
Re: Activation E-mail and return page
  • 2006/8/10 16:49

  • fungus

  • Just popping in

  • Posts: 72

  • Since: 2002/10/15


I got a similar issue. I got a friend who I am trying to help out, he wants two different logins for two different types of users to the same site... A breakdown:

1) User group A can be normal rego form
2) User Group B should be entering more information on the rego form.
3) Usergroup B needs to be flagged as a differnt user group once they try and log in.

Basically it will be like one login for advertisers the other for end users. or if you like imagine sport site for two types or teams, and of course you just want to automatically register them as one side....
any ideas?

Regards
Fungus
Hmmm... Why do I have so many screws left over?

10
fungus
Re: Activation E-mail and return page
  • 2006/8/10 17:30

  • fungus

  • Just popping in

  • Posts: 72

  • Since: 2002/10/15


I was thinking, even if I customised a template so that it goes to 2 different static(non dynamic) rego form pages, just to post the data to the data base, would that do the trick ?

Regards
Fungus
Hmmm... Why do I have so many screws left over?

Login

Who's Online

316 user(s) are online (238 user(s) are browsing Support Forums)


Members: 0


Guests: 316


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits