vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Prevent bumping old Threads (https://vborg.vbsupport.ru/showthread.php?t=96850)

Andreas 09-24-2005 10:00 PM

Prevent bumping old Threads
 
1 Attachment(s)
<font size="3">Prevent bumping old Threads</font>

Description
This Hack helps to prevent Users from (accidently) bumping old Threads by forcing them to tick a checkbox
when replying to a Thread older than x days.

Details
1 Product XML (3 Plugins, 6 Phrases, 1 Setting)
1 Image
2 Template Edits

History
1.0.0
Initial Version

1.0.1
Fixed a bad phrase (solves -> serves, which it should have always been)
Fixed a typo in the instructions

vBulletin Campatibility Note
This Modification is compatible with vBulletin 3.5, 3.6, 3.7 and 3.8

uae 09-25-2005 08:45 AM

I Love it, thanks Kirby :)

Jenta 09-25-2005 09:26 AM

nice will check it out soon

suggestion: if u use <img src="$stylevar[imgdir_misc]/exclamation.gif" then u need to upload the same image file for all your styles
better to use images/misc imo

Zelda-King 09-25-2005 10:00 AM

Interesting. So does this check for the actual age of the thread (that's what it sounds like) or the date since the last reply?

The Realist 09-25-2005 10:34 AM

The install instructions state:

In Template SHOWTHREAD
FIND
--------------------------------------------------------------------------------
$attachmentoption

Cannot find $attachmentoption in the showthread template but it is listed in two other templates: Newreply and Newthread?

So is this a typo or am I missing something?

Laters

Boofo 09-25-2005 01:59 PM

I would go with Newreply. ;)

nexialys 09-25-2005 02:31 PM

Quote:

Originally Posted by Boofo
I would go with Newthread since this is for threads. ;)

sometimes Boofoon, you lead...

this hack is for answering old threads, not to make new ones...

lol

Boofo 09-25-2005 02:44 PM

Duh! I meant Newreply. Is that better now?

The Realist 09-25-2005 02:45 PM

LOL :) Thanks m8 but the instructions already say to place the code in there, but it also says`to place it in the showthread template.

But there is no $attachmentoption in showthread only in the newreply template.

hydrostatic 09-25-2005 02:46 PM

EDIT: Damn I'm tired. Sorry for the stupid question.

jribz 09-25-2005 02:55 PM

Quote:

Originally Posted by hydrostatic
Does this work for the Quick Reply too?

I haven't installed this just yet, but the image attached is of the quick reply box, so I would assume so.

Logikos 09-25-2005 04:23 PM

Nice work Kirby! :)

Freezerator 09-25-2005 07:34 PM

This should be made a standard for vB :) Nice hack!

Andreas 09-25-2005 08:34 PM

Quote:

Originally Posted by The Realist
The install instructions state:

In Template SHOWTHREAD
FIND
--------------------------------------------------------------------------------
$attachmentoption

Cannot find $attachmentoption in the showthread template but it is listed in two other templates: Newreply and Newthread?

DOH! I really should write instructions based on MASTER Templates instead of custom Templates ^.^
Instructions fixed.

@Jenta
But using $stylevar gives you the possibility to use different images in each Style, which is necessary as I fear the defauld image won't work well on dark backgrounds.

@Zelda-King
Last Reply.
"Real" Thread Age doesn't make sense as there might be Threads that are running forever (game threads, spamchat threads, etc.)

ImportPassion 09-26-2005 12:15 PM

i have been wanting something like this, but how hard would it be to change it so that the reply button is disabled instead of that checkbox?

D

Andreas 09-26-2005 12:24 PM

It wasn't my intention to lock the Thread, I just wanted to make sure ppl know what they are doing.

If you want to stop them from replying, take a look here

The Realist 09-26-2005 05:02 PM

Thanks M8 \:)

Quote:

Originally Posted by KirbyDE
DOH! I really should write instructions based on MASTER Templates instead of custom Templates ^.^
Instructions fixed.

@Jenta
But using $stylevar gives you the possibility to use different images in each Style, which is necessary as I fear the defauld image won't work well on dark backgrounds.

@Zelda-King
Last Reply.
"Real" Thread Age doesn't make sense as there might be Threads that are running forever (game threads, spamchat threads, etc.)


OmaniMan 09-27-2005 02:33 PM

Great ...

utw-Mephisto 09-27-2005 05:42 PM

*clicks install now,installs later* - thanks m8

-=Sniper=- 10-24-2005 04:36 PM

excellent thanks

StarBuG 10-30-2005 12:20 AM

If quickreply is active you can still reply to very old threads which gets denied if you click on the reply button.

That should be fixed ;)

Dave Rosteck 11-06-2005 12:25 AM

This hack kicks serious ass. Thanks a lot Kirby! My forum staff and I have been struggling with bumps for years and this is a big sigh of relief.

Andreas 11-06-2005 12:42 AM

@StarBug
Hmm ... QR should be covered as well.
Are you sure that it does not work for QR?

StarBuG 12-14-2005 07:53 AM

I don?t know what happened as I posted this but I can?t reproduce this.

Maybe I forgot to check the checkbox and got confused ;)
It is working fine.

Thank you

Exernon 12-14-2005 01:33 PM

Installed on 3.5.2 but I don't see anything... any clue what could be wrong?

boatdesign 12-16-2005 10:29 PM

Excellent!!! Thank you very much for providing this mod! Very very nice!

lazyseller 01-10-2006 05:30 PM

is there anyway to limit this to only certain forums ?

JenniferK 02-19-2006 05:35 AM

How would I change the phrase from "solves no purpose" to "serves no purpose"?

hiiped 02-19-2006 06:24 PM

Quote:

Originally Posted by JenniferK
How would I change the phrase from "solves no purpose" to "serves no purpose"?


PHRASE MANAGER >>> search >>>

possibly

Oblivion Knight 02-19-2006 08:23 PM

I can't believe I missed this one! o_o;

Cheers Andreas! :)

Oblivion Knight 02-21-2006 06:59 PM

Just to note, I've noticed a small typo with the template edits:
Code:

<label for="[high]cb_forepost[/high]"><input type="checkbox" name="forcepost" value="1" id="cb_forcepost" />$vbphrase[thread_age_accepted]</label>

Andreas 02-21-2006 07:03 PM

Seems like there is a c missing ;)

JenniferK 02-27-2006 01:12 AM

Quote:

Originally Posted by hiiped
PHRASE MANAGER >>> search >>>

possibly


This worked like a charm, thanks!

Nathan2006 03-20-2006 09:10 AM

Thank you Andreas great idea :)

Install

OndaReal 03-20-2006 02:07 PM

nice hack :)

bada_bing 03-20-2006 02:18 PM

Couple questions.

Will this work on vb 3.5.3?
Can I set this hack for only certain forums? Im interested mostly in my selling/trading forums?

Thanks and nice hack :banana:

dsotmoon 03-21-2006 07:47 PM

Quote:

Originally Posted by bada_bing
Couple questions.

Will this work on vb 3.5.3?
Can I set this hack for only certain forums? Im interested mostly in my selling/trading forums?

i would like the same thing if possible

Andreas 03-23-2006 03:46 AM

> Will this work on vb 3.5.3?
Yes.

> Can I set this hack for only certain forums?
No.

Liquid_N2 04-17-2006 09:26 PM

Hi sorry if this has been answered, but on my forum it says

This Thread is more than 34 days old

This changes depending on how old the thread is apposed to the age limit I have set in the vbpanel.

Is there a way to change it so it always says old then 30 days (my value set)?

Many thanks

Oblivion Knight 04-18-2006 09:46 AM

Quote:

Originally Posted by Liquid_N2
Hi sorry if this has been answered, but on my forum it says

This Thread is more than 34 days old

This changes depending on how old the thread is apposed to the age limit I have set in the vbpanel.

Is there a way to change it so it always says old then 30 days (my value set)?

Many thanks

On both of your template edits, replace this:
HTML Code:

<phrase 1="$threaddays">
With:
HTML Code:

<phrase 1="$vboptions[oldthrdthres]">
Save them both, and you're done.


All times are GMT. The time now is 06:16 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01409 seconds
  • Memory Usage 1,792KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_html_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete