Follow vBSEO on Twitter
vBulletin Modifications
  • Forums
  • Add-Ons
  • Template Modifications
  • Styles
  • Graphics
  • Tutorials
  • Support Center
  • Register
  • vBulletin SEO

Member Log In

Site Navigation

  • Register
  • Members List
  • Social Groups
  • Search
  • Today's Posts
  • Mark Forums Read

Latest Modifications

  • [vB 3.8.4] THX - Hack for VB. 3.8.4
    By: bluedog
  • [vB 3.8.4] Cyb - Chatbox V.2.3
    By: bluedog
  • [vB 4.0.x] PHPKD - Advanced Quick...
    By: PHPKD
  • [vB 3.6.x] StopSpam
    By: flappi282
  • [vB 3.8.x] vBulletin Chat Addon for...
    By: 123flashchat

Latest Template Mods

  • [vB 4.0.x] Remove My Profile Link...
    By: Ak Worm
  • [vB 3.8.x] Images DownloadBox...
    By: cRs!MP
  • [vB 3.8.x] Adviertise Mod On Forum...
    By: MG4
  • [vB 3.8.4] Images PassWordBox...
    By: cRs!MP
  • [vB 3.8.4] Footer Follow Ups
    By: Ak Worm

Latest Styles

  • [vB 4.0.x] 4.0.3 - VB4STYLE-TWEETA...
    By: Belon
  • [vB 4.0.x] [4.0.3] vbdesigns.de...
    By: Belon
  • [vB 3.8.4] CompletevB - Skylight
    By: DreadKnight
  • [vB 3.8.3] [vB 3.8.4] Barcelona...
    By: hoiquantinhoc.com
  • [vB 3.8.3] Natures Walk by vBSkin...
    By: Chri5

Latest Graphics

  • [vB ] [anim.]Team Ranks
    By: cRs!MP
  • [vB ] Abstract Circles (3...
    By: cRs!MP
  • [vB ] PlayStation Rank Images
    By: cRs!MP
  • [vB 3.6.12] Heavy Stroked Button...
    By: Shelley
  • [vB ] Minature Ranks.
    By: Shelley
vBulletin Modifications » Forum Archives » vBulletin 3.0 Hack Releases » Miscellaneous Hacks - Expired Threads
Reply
Page 1 of 2 1 2 >

 

  • Thread Tools
Download Options
You Must Register First
To Download This Modification

Report A Bug
Bugs
No bugs found in the system. If you have found a bug, please report a bug here
Submit A Bug | View All Bugs
  
Supported
[vB 3.0.7] Miscellaneous Hacks - Expired Threads (53)
Released: 05-13-2005, 10:52 AM
Modification Information: Version: 1.1
Ken Iovino's Avatar Author: Ken Iovino
Last Online: 06-09-2009
Installer Included: 0 Additional queries added to database: 1 Template Edits: 0
File Edits: 2 New Files: New Phrases: 4

Expired Threads


What this does
This will allow you as the admin to set a time limit till a thread is considered expired. If the thread happens to be expired, the user will see a error message. But a staff member (ie, mod, sup-mod, and admin) can unexpire the thread by posting in it, then the counter will start over again. This will prevent those anoyying thread digger members we all seem to dislike.

This works as a per forum basis. You can turn on/off any forum you want.



Please read carefully and make all the necessary changes as stated. This is will work if installed properly.
PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN! If you like this hack


Help & Support
Before asking for support Please make sure you have done all necessary changes! If you still need support please post a reply here.

Please post bugs and errors here. Hope you like, feedback welcomed.



Screenshots
Screenshots
File Type: gif expired.gif (27.1 KB, 150 views)
File Type: gif forum_expired.gif (14.8 KB, 148 views)



Old 05-13-2005, 10:58 AM   #2
Junior
Coder

Junior's Avatar

Activity Longevity
0/20 18/20
Today Posts
0/3 ssssss809
Location: U.S.A
Age: 30
Junior is on a distinguished road
Status: Offline Default
cool addon cliacks install
Reply With Quote Installed
Old 05-13-2005, 02:49 PM   #3
Junior
Coder

Junior's Avatar

Activity Longevity
0/20 18/20
Today Posts
0/3 ssssss809
Location: U.S.A
Age: 30
Junior is on a distinguished road
Status: Offline Default
any paticular reason you did it in seconds?
Reply With Quote Installed
Old 05-13-2005, 03:10 PM   #4
Ken Iovino
vBulletin Guru

Ken Iovino's Avatar

Activity Longevity
0/20 20/20
Today Posts
0/3 sssss2695
Location: Miami, Florida
Age: 27
Ken Iovino is on a distinguished road
Status: Offline Default
It should be in days. Unless i uploaded the old version.
Reply With Quote
Old 06-30-2005, 04:28 AM   #5
Case
vB Newbie

Activity Longevity
0/20 19/20
Today Posts
0/3 ssssssss2
Location: Funland
Case is on a distinguished road
Status: Offline Default
noticed two really small errors on the code, first on:
Code:
print_input_row($vbphrase['how_many_Days_till_expire'],forum[daysexpired]', $forum['daysexpired']);
should be changed to:
Code:
print_input_row($vbphrase['how_many_Days_till_expire'],'forum[daysexpired]', $forum['daysexpired']);
notice the added ' before forum[daysexpired]

and then on phrases, either make that above vbphrase fully in low case or change the instructions to read:
Phrase Type: Forum-Related
Varname: how_many_Days_till_expire
Text: How Many Days Till Thread Is Expired

(capital D added to varname)

thats it, after those changes everything seemed to work fine for me

so thanks.
Reply With Quote Installed
Old 06-30-2005, 04:46 AM   #6
Ken Iovino
vBulletin Guru

Ken Iovino's Avatar

Activity Longevity
0/20 20/20
Today Posts
0/3 sssss2695
Location: Miami, Florida
Age: 27
Ken Iovino is on a distinguished road
Status: Offline Default
Thanks Case!
Reply With Quote
Old 08-12-2005, 11:35 PM   #7
solong
Advanced Coder

Activity Longevity
0/20 16/20
Today Posts
0/3 sssssss66
solong is on a distinguished road
Status: Offline Default
where i can find as show in pic



in vBulletin Options or whrer

thanks alot
Reply With Quote Installed
Old 08-13-2005, 12:48 PM   #8
ShavedApe
Coder

Activity Longevity
0/20 20/20
Today Posts
0/3 sssss1112
Location: UK
Age: 37
ShavedApe is on a distinguished road
Status: Offline Default
like that idea
* ShavedApe clicks install
Reply With Quote Installed
Old 08-13-2005, 10:14 PM   #9
ytknows
vB Newbie

Activity Longevity
0/20 16/20
Today Posts
0/3 ssssssss5
ytknows is on a distinguished road
Status: Offline Default
this works wonderfully... I removed the ability of admin/mods to reply and keep the thread open (since on my forum the threads are useless after 7 days)... was really easy to do

i was messing around with trying to create another hack to expire the thread after 25 replies, wasn't having much luck.

any pointers that could help me with that?

*waits for someone to point out the correlation between 7 days and 25 replies*
Reply With Quote Installed
Old 08-14-2005, 08:36 AM   #10
Arnoud
vBulletin Guru

Arnoud's Avatar

Activity Longevity
0/20 18/20
Today Posts
0/3 sssss3129
Location: Europe, Flanders
Arnoud is on a distinguished road
Send a message via MSN to Arnoud Send a message via Yahoo to Arnoud
Status: Offline Default
You can change
PHP Code:
if ($threadinfo['lastpost'] < TIMENOW - $foruminfo['daysexpired'] * 60 * 60 * 24)
        { 
to
PHP Code:
if ($threadinfo['lastpost'] < TIMENOW - $foruminfo['daysexpired'] * 60 * 60 * 24 OR $threadinfo['replycount'] == 25)
        { 
That should work =).
Reply With Quote Installed

Reply
Page 1 of 2 1 2 >

« [EggdropAddon]Team Stats To Work With Fury's Team Hack[php Based] | AdminCP Portal Jump »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Rules



All times are GMT. The time now is 05:24 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Transverse Styles
  • Top
  • Archive
  • vBSEO
  • Contact Us
LinkBack
LinkBack URL LinkBack URL
About LinkBacks About LinkBacks
Bookmark & Share
Digg this Thread! Digg this Thread!
Add Thread to del.icio.us Add Thread to del.icio.us
Bookmark in Technorati Bookmark in Technorati
Furl this Thread! Furl this Thread!