Author |
Topic  |
|
polarchallenge
Starting Member
7 Posts |
Posted - 06 December 2004 : 10:19:32
|
I have a forum set up in an i-frame within my site, is it possible to change the url in the email people receive to confirm their registration has been approved? (e.g. I want them to go to the page where they see the forum in the i-frame, rather than to the forum home page) |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 06 December 2004 : 10:48:49
|
You can, but you'd need to change code for that. Have a look in register.asp. Should be around line# 592:
strMessage = strMessage & strForumURL & "register.asp?actkey=" & actkey & vbNewline & vbNewline
The URL is given by the part in red. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
Edited by - ruirib on 06 December 2004 10:50:04 |
 |
|
polarchallenge
Starting Member
7 Posts |
Posted - 06 December 2004 : 12:04:10
|
Thanks for the speedy reply. I'm kind of new to this, I erased strForumURL and put in the URL I want it to go to, but that doesn't work, the email still sends you to the forum URL. Do I need to change what strForumURL is referring to and if so how would I do that?
quote: Originally posted by ruirib
You can, but you'd need to change code for that. Have a look in register.asp. Should be around line# 592:
strMessage = strMessage & strForumURL & "register.asp?actkey=" & actkey & vbNewline & vbNewline
The URL is given by the part in red.
|
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 06 December 2004 : 13:52:09
|
No, you should not change it and the change I pointed out should be enough, unless you are approving accounts yourself (that is, unless you have restrict registration set to on). Are you doing that? |
Snitz 3.4 Readme | Like the support? Support Snitz too |
Edited by - ruirib on 06 December 2004 13:54:19 |
 |
|
polarchallenge
Starting Member
7 Posts |
Posted - 06 December 2004 : 15:37:13
|
Yes people register and then as administrator I decide whether they can become a member and when I hit approve an email goes to them in which they get an URL to visit to confirms their registration.
Currently this sends them to the default URL for the forum, but I would like to instead send them to my site URL, where they will navigate the forum from within an iframe.
I'm not sure what you meant originally, you highlighted the default URL, what should I do with it (sorry if being very stupid)?
quote: Originally posted by ruirib
No, you should not change it and the change I pointed out should be enough, unless you are approving accounts yourself (that is, unless you have restrict registration set to on). Are you doing that?
|
 |
|
ruirib
Snitz Forums Admin
    
Portugal
26364 Posts |
Posted - 06 December 2004 : 20:48:39
|
Ok, so you need to find similar occurrences and replace them in file admin_accounts_pending.asp. You should find them at lines #527 and 558. Replace them as in my previous example. |
Snitz 3.4 Readme | Like the support? Support Snitz too |
 |
|
|
Topic  |
|