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: Unlimited Edit Time in Select Forums 1.1

Description: This hack will allow users to have unlimited time to Edit their posts in Selected forums only. It overides the Edit time in the config file on whatever boards you wish.

Working Under: UBB.Threads 6.0-6.1-6.2-6.3-6.4

Mod Status: Finished

Any pre-requisites: none

Author(s): JoshPet

Date: 04/28/03

Credits: Allen Ayers and JustDave

Files Altered: editpost.php

New Files: none

Database Altered: none

Info/Instructions: Disscussion for this came about as we discussed it would be nice if the original poster of a hack at ThreadsDev could update the file in their First Post... it would be less confusing for the most current version of a hack to ALWAYS be attached to the first post in a thread. Guess I'll credit AllenAyres as he seemed to like the idea. JustDave offered advice on adding the keywords to the config file.

Attachments
77948-UnlimitedEditTime1.1.txt (0 Bytes, 112 downloads)

Last edited by JoshPet; 12/17/2003 1:02 AM.
Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Works under 6.4

Joined: Feb 2003
Posts: 64
Power User
Power User
Offline
Joined: Feb 2003
Posts: 64
Thanks! That was it.

Oh, and happy birthday Josh!

Last edited by jonlevine; 02/08/2004 9:18 AM.
Joined: Jun 2003
Posts: 1,025
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 1,025
I just tried applying this to my 6.4.3 board, and when I try to edit a post I get the following error:
Parse error: parse error, unexpected $ in /home/wwwtsbiu/public_html/iBASE/editpost.php on line 288

288 is the last line and contains only the php close ?>

If I comment out the unlimited edit time lines it works fine. Any ideas?

Thanks,
That blue haired kid

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Usually that message means there's a { open without a corresponding } below it somewhere, check all your sets of brackets near where you modified.

Sponsored Links
Joined: Jun 2003
Posts: 1,025
Junior Member
Junior Member
Offline
Joined: Jun 2003
Posts: 1,025
Found it, thanks.


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
isaac
isaac
California
Posts: 1,157
Joined: July 2001
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)