Previous Thread
Next Thread
Print Thread
Rate Thread
#120044 06/10/2001 1:39 AM
Joined: Apr 2001
Posts: 77
Member
Member
Offline
Joined: Apr 2001
Posts: 77
Is there a hack for Deleting Closed topics from the control page for the versie UBB
6.02???


confused confused confused

Sponsored Links
#120045 06/10/2001 1:41 AM
Joined: Mar 2001
Posts: 318
Member
Member
Offline
Joined: Mar 2001
Posts: 318
this is a very good idea!

#120046 06/10/2001 2:30 AM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Please re-explain the suggestion.


UBB.classic: Love it or hate it, it was mine.
#120047 06/10/2001 2:46 AM
Joined: Mar 2001
Posts: 318
Member
Member
Offline
Joined: Mar 2001
Posts: 318
ok in the control panel what you would do is when you goto prune topic there would be a check box that says "Delete Closed Topic"

or a pull down menu were you can choose wich section to delete closed topics from

then click submit and it would delete all closed topics in that forum or the whole ubb

This would be very handy

#120048 06/10/2001 2:58 AM
Joined: Apr 2001
Posts: 77
Member
Member
Offline
Joined: Apr 2001
Posts: 77
YES Mr.Clean thats what i mean!!!

Sponsored Links
#120049 06/10/2001 3:15 AM
Joined: Mar 2001
Posts: 318
Member
Member
Offline
Joined: Mar 2001
Posts: 318
this can be done! it doesent seem too hard! i think someone could make this! Charles how about you?

#120050 06/10/2001 11:40 AM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
That would require going through each thread in the forum.

Bad Idea.


UBB.classic: Love it or hate it, it was mine.
#120051 06/12/2001 5:52 AM
Joined: Apr 2001
Posts: 77
Member
Member
Offline
Joined: Apr 2001
Posts: 77
Why Bad Idea Charles Capps ????

#120052 06/12/2001 9:30 AM
Joined: Feb 2001
Posts: 127
Member
Member
Offline
Joined: Feb 2001
Posts: 127
Example. board has tens of thousands of posts, that would be very very bad on server performance and you'd probably be kicked off your hosting account from your provider if you aren't on a dedicated server.

#120053 06/12/2001 2:19 PM
Joined: Apr 2001
Posts: 77
Member
Member
Offline
Joined: Apr 2001
Posts: 77
and is there nothing else that works for it ??

Sponsored Links
#120054 06/12/2001 4:25 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Not at the moment.


UBB.classic: Love it or hate it, it was mine.
#120055 06/14/2001 7:11 AM
Joined: Oct 2000
Posts: 32
Member
Member
Offline
Joined: Oct 2000
Posts: 32
Charles, there is an easy way to do this without the extensive server load that goes along with searching each thread.

It would be little problem to add a routine to add the thread number to a log when you close the thread in the first place. Then if you open it back up, it removes that entry from the log.

Then just add the routine to prune closed threads by forum... which would read in the list of closed threads from that file (ie closed$forum_number.cgi). It would del the threads and delete the required entries from the closed logfile.

That would not require searching all files and would DRASTICALLY reduce server load.

If anyone is still interested in this i will code it, shouldnt be a problem at all.

CC, you got any feedback on this?

[ June 14, 2001 07:12 AM: Message edited by: Section ]


[Linked Image from gringo14.virtualave.net]
#120056 06/15/2001 7:20 AM
Joined: Apr 2001
Posts: 77
Member
Member
Offline
Joined: Apr 2001
Posts: 77
i am still interested in it!!!

wink laugh wink

#120057 06/15/2001 9:37 AM
Joined: Oct 2000
Posts: 32
Member
Member
Offline
Joined: Oct 2000
Posts: 32
ok, writing it is not a problem but i will be going out of town for the weekend so it wont be until sometime next week that i will have time.


[Linked Image from gringo14.virtualave.net]
#120058 06/15/2001 2:13 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
Hold off until 6.1.0, Section... There may or may not be something that will make writing this thing much easier.


UBB.classic: Love it or hate it, it was mine.
#120059 06/15/2001 3:58 PM
Joined: Oct 2000
Posts: 32
Member
Member
Offline
Joined: Oct 2000
Posts: 32
Any chance you would wanna fill me in on what would make it easier? If you are planning to add this feature into 6.1, ill hold off, but otherwise i will probably go ahead & write it this week when i get a chance.


[Linked Image from gringo14.virtualave.net]
#120060 06/15/2001 5:37 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
It is being done for 6.1, but we don't yet know to what extent, or what it will include or require... It will be a performance optimization, nothing that end-users will see.


UBB.classic: Love it or hate it, it was mine.

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
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
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 20240506)