Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (JPFolks), 38 Guests and 16 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 05/10/05
Posts: 1
Top Posters (30 Days)
Ruben 49
DennyP 24
Gizmo 23
Dunny 17
SteveS 14
AllenAyres 12
dbremer 10
drkknght00 9
SD 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 2 1 2 >
Topic Options
#172493 - 01/05/07 06:55 PM Disabling Subject change
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ

My turn for a question \:D

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.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#172494 - 01/05/07 07:00 PM Re: Disabling Subject change [Re: jgeoff]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
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:
 Code:
<input type="text" name="Subject" maxlength="{$config.SUBJECT_LENGTH}" class="form-input" size="60" tabindex="1" value="{$Subject}" />


Replace With:
 Code:
<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...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#172497 - 01/05/07 07:06 PM Re: Disabling Subject change [Re: Gizmo]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ

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.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#172498 - 01/05/07 07:09 PM Re: Disabling Subject change [Re: jgeoff]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ
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 \:o
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#172499 - 01/05/07 07:13 PM Re: Disabling Subject change [Re: jgeoff]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
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 \:\)
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#172505 - 01/05/07 08:57 PM Re: Disabling Subject change [Re: Gizmo]
ntdoc Offline
Registered: 11/09/06
Posts: 3384
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.
Top
#172506 - 01/05/07 09:02 PM Re: Disabling Subject change [Re: ntdoc]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
 Originally Posted By: ntdoc
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
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#172510 - 01/05/07 09:52 PM Re: Disabling Subject change [Re: Gizmo]
ntdoc Offline
Registered: 11/09/06
Posts: 3384
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.

.
Top
#172511 - 01/05/07 09:54 PM Re: Disabling Subject change [Re: ntdoc]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
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...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#172513 - 01/05/07 09:56 PM Re: Disabling Subject change [Re: Gizmo]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
editpost.tpl:
Find
 Code:
<input type="text" name="Subject" value="{$Subject}" maxlength="{$config.SUBJECT_LENGTH}" class="form-input" size="60" />


Replace With
 Code:
<input type="text" name="Subject" value="{$Subject}" maxlength="{$config.SUBJECT_LENGTH}" class="form-input" size="60" />{$Subject}
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
Page 1 of 2 1 2 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Custom forum permissions
by ntdoc
05/18/12 02:07 PM
Forum Stats
10489 Members
36 Forums
33841 Topics
181697 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image