Previous Thread
Next Thread
Print Thread
Rate Thread
[7.4.2] Expiring Sticky Topics
#317831 02/23/2009 1:55 AM
Joined: Aug 2000
Posts: 1,609
AKD96 Offline OP
Addict
OP Offline
Addict
Joined: Aug 2000
Posts: 1,609
Description: When making a new sticky topic, you will now be able to set an expire time, after which the topic will no longer be sticky.

Version(s) supported: Instructions written specifically for 7.4.2 and 7.5b2 - may work in previous versions.

Credits: Written by DLWebmaestro. Requested by ntdoc.

File(s) Modified: libs/triggers.inc.php
scripts/addpost.inc.php
scripts/login.inc.php
scripts/newpost.inc.php
templates/default/newpost.tpl
languages/english/newpost.php

New file(s): None

Database modification(s): One new database table

Attached Files
expiresticky.txt (4.89 KB, 9 downloads)
SHA1: 25af383b927ab6be3881ca4c4cae6e5e50703c01
Sponsored Links
Re: [7.4.2] Expiring Sticky Topics
AKD96 #317832 02/23/2009 8:54 AM
Joined: Feb 2007
Posts: 329
Yarp™
Offline
Yarp™
Joined: Feb 2007
Posts: 329
Great mod! I would like to suggest an addition. it would be nice to exactly enter the unstick time/date.

If you would make a sticky topic "You can vote till 00:00" you want to unstick it at 00:00, not "after 1 day".

Last edited by blaaskaak; 02/23/2009 8:54 AM.

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
Pilgrim
Pilgrim
NH, USA
Posts: 190
Joined: June 2000
Forum Statistics
Forums63
Topics37,543
Posts293,773
Members13,838
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online 339
Topics Created 0
Posts Made 1
Users Online 3
Birthdays 28
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,805
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 9
isaac 8
driv 2
temp 2
Morgan 1
Top Likes Received
isaac 38
Gizmo 10
Brett 7
Morgan 2
Top Likes Received (30 Days)
isaac 4
Gizmo 2
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2020 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.5
(Snapshot build 20200524.dev)
Responsive Width:

PHP: 5.4.45 Page Time: 0.038s Queries: 20 (0.014s) Memory: 3.2436 MB (Peak: 3.4521 MB) Data Comp: Zlib Server Time: 2020-05-29 01:49:23 UTC
Valid HTML 5 and Valid CSS