[Bb-trac] [bbPress] #908: bb_profile_password_form html is hard coded and requires 60k of javascript

bbPress bb-trac at lists.bbpress.org
Thu Jul 31 07:01:24 GMT 2008


#908: bb_profile_password_form html is hard coded and requires 60k of javascript
----------------------+-----------------------------------------------------
 Reporter:  _ck_      |       Owner:                    
     Type:  defect    |      Status:  new               
 Priority:  normal    |   Milestone:  1.0-beta & XML-RPC
Component:  Back-end  |     Version:                    
 Severity:  normal    |    Keywords:                    
----------------------+-----------------------------------------------------
 I am concerned that bb_profile_password_form has hard-coded html in it
 that should really be part of `bb-templates/profile-password-form.php` or
 something like that (therefore if an older custom theme is missing that
 template the loader would grab it from the core directory instead).

 That one profile edit page also requires 60k of javascript to be loaded
 for a simple password strength meter that will be rarely used.

 Some sites run without jquery for faster page loads but the current design
 makes jquery mandatory, because if jquery is not loaded, the other scripts
 will fail and leave hidden text visible.

 In any case, I'd like to be able to that code and not fall back into the
 same mistake that was made in the new/edit post form that's partially
 hard-coded into bbPress instead of being a template.

 ps. Is there a backend password strength check as well if they have
 javascript disabled and submit anyway to bypass the "feature" ?

-- 
Ticket URL: <http://trac.bbpress.org/ticket/908>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list