Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Mod Name / Version: Surpress Edited By Tag

Description: This allows admins and mods to unselect the box to mark post "Edited By". This is handy when the Admin or Mod wants to make technical changes to the post without appearing as if they have edited the content.

Working Under: UBB.Threads 6.5

Mod Status: Finished

Any pre-requisites:

Author(s): JoshPet

Date: 07/06/04

Credits: Dave_L

Files Altered: editpost.php

New Files: none

Database Altered: none

Info/Instructions: Not really any changes, just spacing/tab changes. So I'm reposting for 6.5.

Disclaimer: Please backup every file that you intend to modify.
If the modification modifies the database, it's a good idea to backup your database before doing so.

Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
Attachments
116485-SurpressEditedBy1.2.txt (0 Bytes, 185 downloads)

Sponsored Links
Joined: May 2004
Posts: 43
User
User
Offline
Joined: May 2004
Posts: 43
Can anyone tell me why I can't get this to work? I did a fresh reinstall of 6.5 yesterday, so my original editpost.php file is as it should be.

I've logged in as a normal member, but the 'mark as edited' checkbox is still there..

Joined: May 2001
Posts: 550
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 550
I thought you can set the time span where an edit is possible for all users?

Joined: May 2004
Posts: 43
User
User
Offline
Joined: May 2004
Posts: 43
This is not the purpose of my post though. I want people to be able to edit posts whenever they like, but sometimes it is necessary for a moderator or administrator to edit posts without the 'edited by' tag, but yet I want normal members to have the tag when they edit, which this modification should do?

Joined: May 2001
Posts: 550
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 550
I understood what the purpose of your post was.

Since you wrote:
"I've logged in as a normal member, but the 'mark as edited' checkbox is still there.. "

My speculation was that you logged and edited the post while the time span after which you can not edit the post without leaving a trace has not passed yet.

Sponsored Links
Joined: May 2004
Posts: 43
User
User
Offline
Joined: May 2004
Posts: 43
We have now managed to solve this by replacing

[]if ( $user['U_Number'] == $Postedby || $user['U_Status'] == "Administrator" || $user['U_Status'] == "Moderator") {[/]

with:

[]if ( $user['U_Status'] == "Administrator" || $user['U_Status'] == "Moderator") {[/]


Joined: Feb 2005
Posts: 2
Lurker
Lurker
Offline
Joined: Feb 2005
Posts: 2
i'am using this mod but by some reason 'edited by' is not appearing in posts when users edit their message, what might be the reason for this?

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Which version threads are you using it on?


- Allen wavey
- What Drives You?

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)