Previous Thread
Next Thread
Print Thread
Hop To
#256101 11/17/2014 1:59 PM
Joined: May 2008
Posts: 14
H
stranger
stranger
H Offline
Joined: May 2008
Posts: 14
Editing Problems

UBB 7.5.8

First, is there a way to prevent the average user from editing the subject title, unless he is the originator of that thread?? It appears now that any user can edit the title via the full reply screen.

Secondly, I had a topic originator modify the title of his topic, but the change did not propagate through the system.

I should be more clear. In the form topics list, it did change. But when you view the thread, the old topic title is sitll extant.

Both these things were standard in my old UBB 6.x.x Board. I think.

Any help?

Hal

Last edited by HalS; 11/17/2014 2:24 PM. Reason: additional info
HalS #256102 11/17/2014 2:57 PM
Joined: Dec 2003
Posts: 6,562
Likes: 78
Joined: Dec 2003
Posts: 6,562
Likes: 78
I don't recall any permission edits to stop that.
As far as updating the topic it probably is a cache issue.
Either try clear cache in the cp or wait after a few posts.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
HalS #256103 11/17/2014 8:30 PM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
The only way that you'd be able to stop subjects from being able to be updated would be to edit it out of the full reply template.

AS for the original topic creator's change, a mod would have to click the "rename topic" option.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
HalS #256104 11/17/2014 10:01 PM
Joined: May 2008
Posts: 14
H
stranger
stranger
H Offline
Joined: May 2008
Posts: 14
Thank you. -- Hal

HalS #256109 11/18/2014 2:43 AM
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
Originally Posted by HalS
First, is there a way to prevent the average user from editing the subject title, unless he is the originator of that thread?? It appears now that any user can edit the title via the full reply screen.

Secondly, I had a topic originator modify the title of his topic, but the change did not propagate through the system.

I should be more clear. In the form topics list, it did change. But when you view the thread, the old topic title is still extant.

First thing; That "renaming of topics" feature can be turned off in the reply template by adding two simple style="display:none;" items to the subject row.

in templates/default/newreply.tpl (around line 37)
find:
Code
<td class="alt-2"">
<label for="Subject">{$lang.SUBJECT_TEXT}</label>
</td>
<td class="alt-1" valign="top">
<input type="text" name="Subject" id="Subject" maxlength="{$config.SUBJECT_LENGTH}" class="form-input" size="60" tabindex="1" value="{$Subject}" />
</td>

replace with:
Code
<td class="alt-2" style="display:none;">
<label for="Subject">{$lang.SUBJECT_TEXT}</label>
</td>
<td class="alt-1" valign="top" style="display:none;>
<input type="text" name="Subject" id="Subject" maxlength="{$config.SUBJECT_LENGTH}" class="form-input" size="60" tabindex="1" value="{$Subject}" />
</td>
This will remove the ability to change the subject line in new replies, but if a user goes in to edit their post, they will see that option available to them in that screen. Though, there are better/alternate ways of creating/solving this issue; 1. by only letting the post title to be renamed if it is the OP. or 2. only letting mods/admins rename topics. But since none of those options are written in stock UBBT code, and for the sake of keeping things simple, this hack should resolve much of your woes.


Second thing; If you already have a topic with a bunch of different "titles" because they have been changed throughout the conversation, you can click on the header option, "Manage Topic" and choose, "Rename this topic." It will rename all replies in that topic to whatever the very first post topic title is.

Last edited by id242; 11/18/2014 3:25 AM.

Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
HalS #256110 11/18/2014 11:03 AM
Joined: May 2008
Posts: 14
H
stranger
stranger
H Offline
Joined: May 2008
Posts: 14
That is very helpful. Thanks!

Hal


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Nightcrawler), 552 guests, and 173 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)