|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
My turn for a question I don't like how people can change the Subject of a thread when replying to it. Maybe it's my Classic upbringing, but to me it causes confusion when a thread is named one thing in postlist and another in the cfrm "latest post". Obviously I could comment-out the Subject field for replies; however, I still would like the subject visible. How can I display the subject in plain text in place of the edit box?
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
I too dislike users being able to edit the subject... I'd like to see an option to not allow users to change the topic in a reply, kind of like how the Quick Reply box works... I'm pretty sure you can edit it out by: Find in newreply.tpl: <input type="text" name="Subject" maxlength="{$config.SUBJECT_LENGTH}" class="form-input" size="60" tabindex="1" value="{$Subject}" /> Replace With: <input type="hidden" name="Subject" maxlength="{$config.SUBJECT_LENGTH}" class="form-input" size="60" tabindex="1" value="{$Subject}" />{$Subject} This would use the subject of the parent they're responding to, and show the subject in the new reply as a non editable html entry. Completely untested though...
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
I was just looking at that line Was thinking perhaps I could just comment-out that whole line and just use {$Subject}, but your way is better if the form needs that variable passed through it. I'll give it a shot when I get a chance... thanks.
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
LOL - The file was already open, so I just made the change. Works great! I bolded the subject, tho - looks good. <B>{$Subject}</B> PS - I really need to keep track of my modifications. I gotta redo them all for 7.1
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Yeh, I was just going to purge the line, but then you'd end up with absolutely no topic on each post (as it woudln't be submitted with the form). Glad to hear it worked... this is why I love the templating engine, it makes doing some updates very painless
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
Well maybe have the option but we do allow a change. Maybe make it more work for them to change it so that they don't just do it for the heck of it, but realize they are going out of their way to do it which might slow down some changes, but not all.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Well maybe have the option but we do allow a change. Maybe make it more work for them to change it so that they don't just do it for the heck of it, but realize they are going out of their way to do it which might slow down some changes, but not all. what? lol
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
Just saying I don't want to 100% stop a user from changing the title (what if they initially got it wrong)
I can see where some boards might not like users changing it but for us some change it just not even thinking about it, others change it to a more appropriate title which is okay by us, however I would like to make it more effort so that the casual users isn't changing it just because they are being a bone head.
.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
Nononono, see, this makes it so REPLIES to a thread cannot change the title; if the user wants to change their title they can edit their initial post...
Which brings up another point, the edit post page still has a subject box :x...
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
editpost.tpl: Find <input type="text" name="Subject" value="{$Subject}" maxlength="{$config.SUBJECT_LENGTH}" class="form-input" size="60" /> Replace With <input type="text" name="Subject" value="{$Subject}" maxlength="{$config.SUBJECT_LENGTH}" class="form-input" size="60" />{$Subject}
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
Yes, I understand the difference and I still say WE/OUR BOARD do allow and at times encourage a title change.
For YOU and your board and/or many other boards maybe not, but as with other options that were removed from previous versions, I for one vote not to remove it. Modify it, alter it okay, but not remove it.
.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
so, then don't edit it out lol
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
I'm not, but this is a request I thought for Rick to change the behavior, not just a "hack" of the software. You guys are going to force me to learn more PHP Spent this afternoon setting up a customized web application with shopping cart all written in-house with ASP. I don't know ASP at all but figured out it was calling a couple databases that were not there and some accounts that did not exist. Took a while, but got it running again. The guy that programmed it is out on vacation and the owner was chomping at the bit to get it going again after it was moved from one server to another last week. .
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
I think jgeoff wants it in, on some level, but I think the template hack should be enough for most...
If Rick did add this ability I'm sure he'd add in a switch so that admin's could choose to allow it or not.
|
|
|
|
Joined: Dec 2003
Posts: 117
Member
|
Member
Joined: Dec 2003
Posts: 117 |
MIND...
there is a problem with this: if the subject is all caps or contains language you want to edit out, you will NO LONGER be able to edit the title, EVEN as an admin or a mod!
Anyone who can correct the code to allow mods and admins to still change the title?
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
Good point, Kayjey! I suppose the above would be considered a quick fix, and let's hope this is built in with admin/mod override!
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Dec 2003
Posts: 117
Member
|
Member
Joined: Dec 2003
Posts: 117 |
Yups - it's actually the one thing I keep changing after I switched over from .classic... a few years ago.
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
0 members (),
484
guests, and
138
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|