Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Add Warning to old Thread Details »»
Add Warning to old Thread
Version: 4.1.4, by Asterix_ita Asterix_ita is offline
Developer Last Online: Jul 2019 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.x.x Rating:
Released: 12-19-2010 Last Update: 12-27-2010 Installs: 73
Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

Description:

Addon allows to identify the thread older than X days. The check is executed only and exclusively on the first post inserted. The hack studied in this way is useful on technical board and for thread referred to guides and tutorial.
For identifying the age, the insertion and last modify dates are checked


Installation:

1. Upload "warning.png" to the "/images/misc" folder on your template.
2. Import product_Warning_old_Thread.xml
3. Configure the hack in vBulletin Options -> CT Warning Old Thread

Template: 2
Phrase: 14
Plugin: 2


Changelog:

4.1.0 started version
4.1.1 removed control over edit post date
4.1.2 add control last modify dates
4.1.3 fix bug class vB_Bootstrap_Forum error
4.1.4 add more template warning (template TW7S by TheWindows7Site) images


Credits Template Code:
I thank TheWindows7Site the creator of the template code (TW7S - [ Information - Tip - Note - Warning ] BBCode)

Future Options:

[S]control last modify dates[/S]

Translations:

Italian language: Collectiontricks
Arabic language - Dr.osamA

Support:
Low priority will be given to posters who do not have this marked as installed

Download Now

File Type: zip product_warning_old_thread_4.1.3.zip (7.2 KB, 78 views)
File Type: zip product_Warning_old_Thread 4_1_4.zip (19.3 KB, 312 views)

Screenshots

File Type: jpg warning 01.jpg (69.0 KB, 0 views)
File Type: jpg warning 02.jpg (74.0 KB, 0 views)
File Type: jpg warning 03.jpg (27.8 KB, 0 views)
File Type: jpg warning 04.jpg (29.7 KB, 0 views)
File Type: png warning 05.png (16.6 KB, 0 views)
File Type: png warning 06.png (14.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 08-01-2014, 07:26 AM
aminp30 aminp30 is offline
 
Join Date: Jul 2013
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Asterix_ita View Post
what date will you like to show ?

regards
thanks for reply Asterix_ita

for example : 08/01/2013
Reply With Quote
  #53  
Old 09-16-2014, 08:17 AM
Black Snow Black Snow is offline
 
Join Date: Jul 2012
Location: Scotland
Posts: 471
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This doesn't show up on my custom theme by PurevB. It shows up on the default theme. What hook is it using on postbit_legacy? Can I manually add it to my theme/template?
Reply With Quote
  #54  
Old 09-20-2014, 08:01 AM
Asterix_ita's Avatar
Asterix_ita Asterix_ita is offline
 
Join Date: Aug 2009
Location: Italy
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for the delay

I do not use hooks, I add text to the variable $post['message'].

Regards
Reply With Quote
  #55  
Old 09-21-2014, 07:28 PM
aminp30 aminp30 is offline
 
Join Date: Jul 2013
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Asterix_ita View Post
Sorry for the delay

I do not use hooks, I add text to the variable $post['message'].

Regards

do you have any idea for my problem dear Asterix_ita?
Reply With Quote
  #56  
Old 10-07-2014, 07:48 PM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way you can display it under the breadcrumbs at the top (just under the forum drop down links) instead of only in the first post as people don't always read the first post....

Otherwise, it's a great mod
Reply With Quote
  #57  
Old 10-10-2014, 05:27 AM
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like this addon, but I would like to move it below the posts in the thread. Is this possible? I have tried using a different hook location, but when I do, it gives me a blank white page when I refresh.

I would like to move the Warning Message from the first post, to below the posts, above the quick reply box and "reply to thread" button.
Reply With Quote
  #58  
Old 10-19-2014, 08:36 PM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also I've noticed once the alert appears on a thread, if that thread subsequently gets a reply (thus meaning it's no longer +365 days old) the alerts in post 1 of the thread remains. It shouldn't as the thread is no longer old.
Reply With Quote
  #59  
Old 10-20-2014, 08:11 AM
Asterix_ita's Avatar
Asterix_ita Asterix_ita is offline
 
Join Date: Aug 2009
Location: Italy
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry if I have not answered before, but I had some problems.
In the next days I see to analyze requests

Regards

Edit

for stevieb: on first post are writed "The check is executed only and exclusively on the first post inserted"
Reply With Quote
Благодарность от:
stevieb
  #60  
Old 10-20-2014, 02:07 PM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Asterix_ita View Post
on first post are writed "The check is executed only and exclusively on the first post inserted"
So if an old thread gets updated with a new reply the warning stays? In which case what's the point of having it because the thread won't actually be "old" anymore, if it's been updated with a reply...
Reply With Quote
  #61  
Old 10-20-2014, 09:25 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stevieb View Post
So if an old thread gets updated with a new reply the warning stays? In which case what's the point of having it because the thread won't actually be "old" anymore, if it's been updated with a reply...
It goes by the first post date not the last
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 11:55 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.05142 seconds
  • Memory Usage 2,349KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (8)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete