Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 25, 2012, 05:24:39 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter
hier
und auf unserer
neuen Webseite
.
155516
Posts in
21712
Topics by
7738
Members
Latest Member:
chris85
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
Improved signup page
Pages: [
1
]
Go Down
Author
Topic: Improved signup page (Read 788 times)
klok_pm
Offline
Posts: 28
Improved signup page
«
on:
September 02, 2009, 11:57:41 AM »
I was not entirely happy with the default signup page of website baker. I think there are 2 issues:
- The default script makes use of the default error function of wb. This function is designed for the backend of the website ( see bug ticket 769) and not for the front end. It gives a lot of errors/ issues such as incomplete rendering of a page.
- The form does not remember the provided values once the form errors. It gives you an option to go back to the form but all fields are cleared and the visitors needs to fill in the form all over again.
In order to fix this i had to combine the files signup_form.php and signup2.php to one single file. please find it attached. You can place this in the account folder of your wb installation.
Also you need to make one small adjustment in signup.php. Replace:
if(isset($_POST['username'])) {
define('PAGE_CONTENT', WB_PATH.'/account/signup2.php');
} else {
define('PAGE_CONTENT', WB_PATH.'/account/signup_form.php');
}
with the following:
define('PAGE_CONTENT', WB_PATH.'/account/signup_new.php');
Logged
kweitzel
Forum administrator
Offline
Posts: 6975
Re: Improved signup page
«
Reply #1 on:
September 04, 2009, 04:42:55 PM »
Hi klock_pm,
why don't you additionally post this solution to the ticket you mentioned?
cheers
Klaus
Logged
WebsiteBaker Org e.V. - for WebsiteBaker
sky writer
Offline
Posts: 285
Re: Improved signup page
«
Reply #2 on:
October 15, 2009, 09:38:06 PM »
Great work!
This solves my problem with my template not displaying when one of the required criteria is not entered, and an error page displays.
BUT... when the signup form is completed correctly, the email I receive is blank. Both the subject and the body.
Any ideas how to fix this?
Thanks
Logged
LordDarkman
Development Team
Offline
Posts: 343
Re: Improved signup page
«
Reply #3 on:
October 16, 2009, 06:12:12 PM »
I attached it. I can't test it at the moment but maybe it helps.
CU Moritz
Logged
sky writer
Offline
Posts: 285
Re: Improved signup page
«
Reply #4 on:
October 16, 2009, 11:05:32 PM »
CU Moritz, thanks, but I don't see your attachment?
Logged
LordDarkman
Development Team
Offline
Posts: 343
Re: Improved signup page
«
Reply #5 on:
October 18, 2009, 12:57:22 PM »
I attached it at the Projekt page under the Ticked. You can't see it here.
CU Moritz
Logged
klok_pm
Offline
Posts: 28
Re: Improved signup page
«
Reply #6 on:
October 22, 2009, 12:13:26 PM »
Great thanks!.
Logged
mr-fan
Offline
Posts: 1556
Re: Improved signup page
«
Reply #7 on:
October 22, 2009, 03:14:28 PM »
hi - may interesting.....
http://www.websitebaker2.org/forum/index.php/topic,15692.msg101780.html#msg101780
regards martin
Logged
klok_pm
Offline
Posts: 28
Re: Improved signup page
«
Reply #8 on:
October 22, 2009, 03:25:54 PM »
Interesting. Are the other issues also solved?
- The default script makes use of the default error function of wb. This function is designed for the backend of the website ( see bug ticket 769) and not for the front end. It gives a lot of errors/ issues such as incomplete rendering of a page.
- The form does not remember the provided values once the form errors. It gives you an option to go back to the form but all fields are cleared and the visitors needs to fill in the form all over again.
My script does not have a seperation of html/ php, but it fixes the issues above.
Logged
Stefek
WebsiteBaker Org e.V.
Offline
Posts: 4884
Re: Improved signup page
«
Reply #9 on:
October 22, 2009, 04:01:30 PM »
Hello Klok,
I was aware of your solution before uploading my files to the forum.
The reason why I doesn't implement this into my patch is just because I don't wanted to be too confusing at once.
So my patch provides a straight rework and split of php and html with the oportunity to restyle those areas without touching the core files.
But I can see, that your aproach is a good idea and I guess it would be a good addition.
Regards,
Stefek
Logged
"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...