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

Reply
 
Thread Tools
Show Ban Time in Postbit Details »»
Show Ban Time in Postbit
Version: 1.3, by FullyTested FullyTested is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.8 Rating:
Released: 09-25-2007 Last Update: 10-12-2007 Installs: 38
Uses Plugins Template Edits
 
No support by the author.

This hack is in response to a request by Breathex in thread https://vborg.vbsupport.ru/showthread.php?t=155474

What this hack will do is display the time remaining on a banned user right underneath the user title in the postbit.
This helps your forum members keep track of what's going on with their fellow members.
This feature may be set to:
  • Public (both guests and registered members will see the time remaining info)
  • Registered members only
  • Admins, supermods, and mods only
To set these options, go to the vBulletin options section and select 'Show Ban Time Options' from the drop down menu.


To Install:

1). Import the product via the Admin CP
2). Modify your 'postbit' and/or 'postbit_legacy' templates as per instructions in the readme text file
3). Done!


Revisions:

version 1.1
Added the ability to limit this feature to admins and moderators.
If not limited, then you may also select whether you wish to allow unregistered users (guests) to view this feature.

version 1.2
Now ensures code is only included when called from within 'showthread.php' or 'showpost.php'.
Do not forget to select 'Allow Overwrite' when re-importing this product.

version 1.3
Fixed error when poster is an unregistered user


Cheers,
FullyTested

Show Your Support

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

Comments
  #22  
Old 10-12-2007, 05:03 PM
rolfw1 rolfw1 is offline
 
Join Date: Nov 2005
Location: Berkshire, England
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have had to uninstall, as it causes an SQL error on some threads.

Code:
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 4 Error Number : 1064 Date : Thursday, October 11th 2007 @ 04:23:11 AM Script : http://www.satellites.co.uk/satellite/showthread.php?t=107139 Referrer : http://www.satellites.co.uk/satellite/search.php?searchid=1306696 IP Address : xx.xxx.xx.xx Username : moderator Classname : vB_Database
It appears that it doesn't like threads where users do not have a user id, such as users who have been deleted or forums where guest posting is allowed.
Reply With Quote
  #23  
Old 10-13-2007, 12:52 AM
FullyTested FullyTested is offline
 
Join Date: Aug 2007
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

rolfw1, thanks for reporting the error.
Version 1.3 should now fix this oversight.
Reply With Quote
  #24  
Old 10-13-2007, 07:52 PM
rolfw1 rolfw1 is offline
 
Join Date: Nov 2005
Location: Berkshire, England
Posts: 133
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the prompt action, have now re-installed and working fine.
Reply With Quote
  #25  
Old 11-06-2007, 01:44 PM
peterpigman peterpigman is offline
 
Join Date: May 2006
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a member that is showing as banned but he isn't any ideas?
Reply With Quote
  #26  
Old 07-24-2008, 03:41 AM
cynthetiq's Avatar
cynthetiq cynthetiq is offline
 
Join Date: Jul 2005
Location: NYC
Posts: 190
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tested in 3.7.2
Reply With Quote
  #27  
Old 07-31-2008, 02:03 AM
DPtheGod's Avatar
DPtheGod DPtheGod is offline
 
Join Date: May 2007
Location: Everett, WA
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No screens?

I will install this tonight when I get home. Great hack idea! And thank you for this!
Reply With Quote
  #28  
Old 02-05-2009, 01:12 PM
vithorius's Avatar
vithorius vithorius is offline
 
Join Date: Feb 2008
Location: Portugal
Posts: 347
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for this pleasant hack!
Reply With Quote
  #29  
Old 04-23-2010, 12:21 AM
James T Brock James T Brock is offline
 
Join Date: Sep 2004
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod author FullyTested sent me a disgusting PM insulting me and calling me names when I inquired as to why his 3.8 mods all had their downloads removed.
Reply With Quote
  #30  
Old 10-27-2013, 11:57 PM
boggseric's Avatar
boggseric boggseric is offline
 
Join Date: Sep 2009
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Changing a few things this is working on vb4.
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 05:07 PM.


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.04179 seconds
  • Memory Usage 2,289KB
  • Queries Executed 24 (?)
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
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete