Previous Thread
Next Thread
Print Thread
Rate Thread
#234250 01/26/2003 9:47 PM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Mod Name / Version - Remove Traces 1.0

Description - This modification allows you to delete individual posts without leaving behind the "Deleted by..." tag. What it does is assign any replies to the deleted post to the Main (first) post in a thread. When deleting a post, you have a checkbox option to "remove all traces" and reassign any replies.

Working Under - UBB.Threads 6.2 & 6.2.1

Pre-requisites - none

Author - JoshPet - www.joshuapettit.com

Credits - coy7 for commissioning it

Files Altered - modifypost.php, deletepost.php, modifypost_delete.tmpl, editpost_nopoll.tmpl

Database Altered - none

New Files - none

NOTE: This may not make as much sense in threaded view... but if you MUST remove a post without the "deleted by tag" (for example doing some board clean up) it's a way to do it without having to delete the replies first. Since it's an option when you delete a post, it could easily be a feature of Threads, as many people ask how to avoid the placeholder.
Attachments
66399-RemoveTraces1.0.txt (0 Bytes, 57 downloads)

Sponsored Links
Joined: Aug 2002
Posts: 111
Journeyman
Journeyman
Offline
Joined: Aug 2002
Posts: 111
Installed it, tried it, and it works! Yay Josh for helping me rid the world of posts that just say "lol"

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
lol

Joined: Apr 2002
Posts: 102
Journeyman
Journeyman
Offline
Joined: Apr 2002
Posts: 102
lol, Cool mod!

Joined: Nov 2002
Posts: 554
Code Monkey
Code Monkey
Offline
Joined: Nov 2002
Posts: 554
I was wondering why some posts that get deleted do not dissappear they remain with the "Deleted by..." tag. Can you explain the reason for that again for me?>I always thought it was a bug.

N/M I re-read your post and I understand now. Cool Hack Josh.. I will be using that one for sure. I am getting so many hacks on my board I will be afraid to do any upgrades in the future ..lol

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yeah, if there are replies to it, you can't delete it, or it will "break" threaded mode.

This mod takes any replies to the post you want to delete and changes them to be replies to the first post in the thread. Might not make 100% sense when viewing in threaded mode... but allows the removal of all traces of the post.

Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
I wonder if it would be better to parent the orphaned replies to the parent of the deleted post, rather than to the main post. That might do less damage to the threaded view.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
That's a theory too.


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
Posts: 70
Joined: January 2007
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 20240430)