View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000704 | XMB1 | Bugs | public | 2024-04-10 23:55 | 2024-12-07 17:14 |
Reporter | flushedpancake | Assigned To | miqrogroove | ||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.9.11 | ||||
Target Version | 1.9.12.07 | Fixed in Version | 1.9.12.07 | ||
Summary | 0000704: Page title when making a new thread is borked | ||||
Description | There's either a placeholder or an empty string when making a new thread. See screenshot. | ||||
Steps To Reproduce | https://forums.xmbforum2.com/post.php?action=newthread&fid=469 | ||||
Tags | No tags attached. | ||||
MySQL Version | |||||
PHP Version | |||||
Web Server | |||||
Browser | |||||
Flags | |||||
Original Reporter | |||||
SVN Revision | 3053 | ||||
Git Commit | |||||
child of | 0000661 | assigned | miqrogroove | Re-Design Page Titles |
|
|
|
What's the part about the PHP warning? I can't tell if that's on topic but would need more details to address any warnings. |
|
I mean I don't know if there's a warning or if it's just returning a blank value there. I haven't personally looked at the code that's creating the page title. Either it's been left blank or it's trying to grab the title of a nonexistent thread/etc. |
|
case 'newthread': if ($poll == 'yes') { nav($lang['textnewpoll']); } else { nav($lang['textpostnew']); } if ($SETTINGS['subject_in_title'] == 'on') { $threadSubject = '- '.$dissubject; } $dissubject is always blank. |
|
Good catch. Needs some review and could be an easy fix. |
|
I just commented out the last 3 lines minus the curly bracket on localhost. This seems to more of a case of blindly copypasting things unnecessarily given the file structure, so removing it on the newthread case is safe (I think). Still, if we plan to actually add proper page titles for everything in a future release, perhaps removing this snippet is pointless as it stands. Refactoring the code slightly and adding language things for each page title seems the way forward. |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-04-10 23:55 | flushedpancake | New Issue | |
2024-04-10 23:55 | flushedpancake | Note Added: 0000483 | |
2024-04-10 23:55 | flushedpancake | File Added: Screenshot_2024-04-11_07-48-19.png | |
2024-04-20 08:34 | miqrogroove | Assigned To | => miqrogroove |
2024-04-20 08:34 | miqrogroove | Status | new => acknowledged |
2024-04-20 08:34 | miqrogroove | Note Added: 0000488 | |
2024-04-20 08:36 | miqrogroove | Relationship added | child of 0000661 |
2024-04-21 13:53 | flushedpancake | Note Added: 0000493 | |
2024-04-21 22:47 | flushedpancake | Note Added: 0000499 | |
2024-04-22 05:35 | miqrogroove | Assigned To | miqrogroove => |
2024-04-22 05:35 | miqrogroove | Priority | low => normal |
2024-04-22 05:35 | miqrogroove | Severity | minor => tweak |
2024-04-22 05:35 | miqrogroove | Status | acknowledged => confirmed |
2024-04-22 05:35 | miqrogroove | Product Version | => 1.9.11 |
2024-04-22 05:35 | miqrogroove | Target Version | => 1.9.12.07 |
2024-04-22 05:35 | miqrogroove | Description Updated | |
2024-04-22 05:35 | miqrogroove | Additional Information Updated | |
2024-04-22 05:35 | miqrogroove | Note Added: 0000500 | |
2024-04-22 20:07 | flushedpancake | Note Added: 0000502 | |
2024-04-23 14:12 | miqrogroove | Assigned To | => miqrogroove |
2024-04-23 14:12 | miqrogroove | Status | confirmed => assigned |
2024-04-23 15:08 | miqrogroove | Status | assigned => resolved |
2024-04-23 15:08 | miqrogroove | Resolution | open => fixed |
2024-04-23 15:08 | miqrogroove | Fixed in Version | => 1.9.12.07 |
2024-04-23 15:08 | miqrogroove | SVN Revision | => 3053 |
2024-12-07 17:14 | miqrogroove | Status | resolved => closed |