miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Custom Tutorials and Modifications miniBB Support Forums / Custom Tutorials and Modifications /  
 

Registration successful page

 
Author lozmatic
Partaker
#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
Partaker
#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 
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
 Share Topic's Link

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


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Proceed with the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑