Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
7 registered (Ruben, Dunny, Bjab, Gizmo, Bert, Mike L, Yarpâ„¢), 21 Guests and 16 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 14904
Top Posters (30 Days)
Ruben 65
SD 57
Gizmo 48
gliderdad 33
Dunny 21
driv 18
dbremer 16
Iann128 16
Stan 15
Mark S 13
Latest Photos
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Gizzo Marx
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 Online   cat

Registered: 06/05/06
Posts: 14904
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 Online   cat

Registered: 06/05/06
Posts: 14904
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: 3382
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 Online   cat

Registered: 06/05/06
Posts: 14904
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: 3382
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 Online   cat

Registered: 06/05/06
Posts: 14904
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 Online   cat

Registered: 06/05/06
Posts: 14904
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
#172515 - 01/05/07 09:58 PM Re: Disabling Subject change [Re: Gizmo]
ntdoc Offline
Registered: 11/09/06
Posts: 3382
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.

.
Top
#172517 - 01/05/07 10:01 PM Re: Disabling Subject change [Re: ntdoc]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14904
Loc: Portland, OR; USA
so, then don't edit it out 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
#172521 - 01/05/07 11:53 PM Re: Disabling Subject change [Re: Gizmo]
ntdoc Offline
Registered: 11/09/06
Posts: 3382
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.

.
Top
#172528 - 01/06/07 01:48 AM Re: Disabling Subject change [Re: ntdoc]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14904
Loc: Portland, OR; USA
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.
_________________________
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
#174660 - 01/20/07 12:49 PM Re: Disabling Subject change [Re: Gizmo]
Kayjey Offline

journeyman
Registered: 12/24/03
Posts: 94
Loc: Belgium
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?
_________________________
www.straydesign.com
Top
#174664 - 01/20/07 03:28 PM Re: Disabling Subject change [Re: Kayjey]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ

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.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
#174825 - 01/21/07 08:03 AM Re: Disabling Subject change [Re: jgeoff]
Kayjey Offline

journeyman
Registered: 12/24/03
Posts: 94
Loc: Belgium
Yups - it's actually the one thing I keep changing after I switched over from .classic... a few years ago.
_________________________
www.straydesign.com
Top
Page 1 of 2 1 2 >



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

Today's Birthdays
No Birthdays
Recent Topics
Edit Post
by Bert
Today at 01:19 PM
A positive note
by SteveS
Yesterday at 09:36 PM
How to locate links to particular site if they are only used in images?
by Conrad
02/10/12 09:41 PM
Pictures not displaying
by Marker23
02/09/12 10:04 PM
Issue with logging out constantly
by Flanuva
02/09/12 07:05 PM
Forum Stats
10213 Members
36 Forums
33667 Topics
180917 Posts

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