#616 - Member profiles slow / consume memory
| Identifier | #616 |
|---|---|
| Issue type | Minor issue (breaks specific functionality) |
| Title | Member profiles slow / consume memory |
| Status | Completed |
| Handling member | Chris Graham |
| Version | 8.1.1 |
| Addon | General / Uncategorised |
| Description | Member profiles can be a resource hog, as all tabs are loaded at once.
Make individual top level tabs load via AJAX. NOTE: The hotfix for this includes a change for non-bundled addons. Do not upload the 'sources_custom' directory unless you have the activities addon installed. Likewise do not upload files relating to addons you have uninstalled (e.g. if you don't have galleries, do not upload galleries.php). |
| Steps to reproduce | |
| Funded? | No |
| Commits |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
The hotfix broke the posts tab. This additional hotfix needs installing on top of the previous one.
On non-localhost, timing problems may result in Javascript running in the wrong order.
Also, if single-public-zone is not enabled, the edit tab directs to the wrong zone on submission.
The attached hotfix should be installed on top of the previous one.
Affects: 87152
The hotfix should be placed on top of earlier hotfixes here.
Lang file not loaded, intermittent problem, fatal errors don't show cleanly.
The AJAX member profiles fix has two more bugs. It makes setInnerHTML assume a string is passed - but date component passes integer. It assumes JS files execute in load request order, but that is not consistently true for AJAX-prompted ones so we need to make the date component load with a simple re-try algorithm.