miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /   

Registration successful page

Author lozmatic
Registered
#1 | Posted: 16 Nov 2005 11:58 
Hi,

Is there a simple way to define a separate (static) page as for the confirmation of successful registration?

The reason for this is that I've just signed up for Google Analytics and are setting up successful registration as a 'goal'. It needs to know the URL of the page that tells the system that the goal has been reached. At the moment (I'm running version 1.6) I get /index.php?.

Many thanks,

Lawrence

Author Team
8-)
#2 | Posted: 16 Nov 2005 12:15 
Try the following:

1) Create a template named 'main_reg_success.html' (or with any other name - and put in /templates/

Fill in the content whatever you like in it.

2) Edit bb_func_regusr.php find the line $title.=$l_userRegistered; and the following after it: $tpl=makeUp('main_warning'); Replace it to $tpl=makeUp('main_reg_success');

3) Your template will be accessible via static URL

....../index.php?action=tpl&tplName=main_reg_success

Report the results...

Author lozmatic
Registered
#3 | Posted: 21 Nov 2005 01:20 
Will '....../index.php?action=tpl&tplName=main_reg_success' be the URL that is loaded when somoeone registers?

Google Analytics needs to recognise a specific URL. If the above change still yields /index.php? then Google will not be able to deferrentiate between this and all other forum URLs.

Author Team
8-)
#4 | Posted: 21 Nov 2005 09:10 | Edited by: Team 
lozmatic
Yes, it should be loaded at last.

Google Analytics needs to recognise a specific URL. If the above change still yields /index.php? then Google will not be able to deferrentiate between this and all other forum URLs.
So, you need to program mod_rewrite condition then, if you are using Apache...

Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications / Registration successful page Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB