View Issue Details

IDProjectCategoryView StatusLast Update
0000704XMB1Bugspublic2024-04-23 15:08
Reporterflushedpancake Assigned Tomiqrogroove  
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.9.11 
Target Version1.9.12.07Fixed in Version1.9.12.07 
Summary0000704: Page title when making a new thread is borked
DescriptionThere's either a placeholder or an empty string when making a new thread. See screenshot.

Steps To Reproducehttps://forums.xmbforum2.com/post.php?action=newthread&fid=469
TagsNo tags attached.
MySQL Version
PHP Version
Web Server
Browser
Flags
Original Reporter
SVN Revision3053

Relationships

child of 0000661 new Re-Design Page Titles 

Activities

flushedpancake

2024-04-10 23:55

reporter   ~0000483

miqrogroove

2024-04-20 08:34

administrator   ~0000488

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.

flushedpancake

2024-04-21 13:53

reporter   ~0000493

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.

flushedpancake

2024-04-21 22:47

reporter   ~0000499

case 'newthread':
        if ($poll == 'yes') {
            nav($lang['textnewpoll']);
        } else {
            nav($lang['textpostnew']);
        }

        if ($SETTINGS['subject_in_title'] == 'on') {
            $threadSubject = '- '.$dissubject;
        }

$dissubject is always blank.

miqrogroove

2024-04-22 05:35

administrator   ~0000500

Good catch. Needs some review and could be an easy fix.

flushedpancake

2024-04-22 20:07

reporter   ~0000502

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.

Issue History

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