miniBB Support Forums
|
Forums
|
Register
|
Reply
|
Search
|
Statistics
|
Manual
|
miniBB Support Forums
/
Custom Tutorials and Modifications
/
Registration successful page
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
Team
#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...
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.
Team
#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...
miniBB Support Forums
/
Custom Tutorials and Modifications
/ Registration successful page
↑
Top
Your Reply
Short link for this topic:
?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.
Before posting, make sure your message is compliant with our
forum posting rules
. If not, it may be locked or deleted with no explanation.
News & Announcements
FAQ
How To
Bugs
The Other
Official Addons and Solutions
Custom Tutorials and Modifications
Master Class
Specific
Re-cycled
Suggestions
Testimonials
qwerty
Features
Requirements
Demo
Download
Showcase
Gallery of Arts
Compiler
Premium Extensions
Premium Support
License
Contacts
Organize opinions on miniBB-forums,
collecting them with the
Polls & Surveys add-on
!