Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Ban from Thread Details »»
Ban from Thread
Version: 1.1, by FullyTested FullyTested is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Category: Moderators Functions - Version: 3.6.8 Rating:
Released: 09-21-2007 Last Update: 10-31-2007 Installs: 76
DB Changes Uses Plugins Template Edits
Code Changes Additional Files  
No support by the author.

Ban from Thread

This mod allows your moderators to do the following:
  • Ban a user from a thread via the username drop down menu in a post (as well as the admin/mod cp).
    This opens a page which allows you to select a ban period, whether or not to allow the user to view the thread, and provide a text message which the user will see when trying to view or reply to the thread.
  • Once you ban the user you are returned to the same post from which you banned.
    You will now notice a small icon besides the ip icon.
    Clicking on that will open a page that will display the current ban information as well as a list of other threads from which this user is banned.
    You will also have the option to edit or lift the ban from here.
    You may now also unban the user from the username drop down menu.
  • From the admin cp you can set whether you wish to have a Private Message sent to the user whenever they are banned/unbanned.
  • You may also view, edit, or lift bans from the admin/mod control panel. Just click on the 'view banned from thread users' link.

To Intall:
Please see the 'readme' text file for installation instructions.


Revisions:

version 1.1
Fixed a problem with search bots.
Just re-import the product, but remember to select 'allow overwrite'.


I hope you find this mod useful.
Sincerely,
FullyTested.

Show Your Support

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

Comments
  #32  
Old 10-12-2007, 05:34 AM
FullyTested FullyTested is offline
 
Join Date: Aug 2007
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I'm afraid I cannot read that
Do you at least get the ban link in the postbit?
Do you have the ban option in the admin/mod cp?

It all should work. You must have cut-and-pasted something wrong.
Reply With Quote
  #33  
Old 10-12-2007, 05:43 AM
tiredoff tiredoff is offline
 
Join Date: Apr 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FullyTested View Post
Well I'm afraid I cannot read that
Do you at least get the ban link in the postbit?
Do you have the ban option in the admin/mod cp?

It all should work. You must have cut-and-pasted something wrong.
well sorry for u cannot read it
i see only in th admincp {view banned from thread user}
i didnt see the ban link in the postbit
Reply With Quote
  #34  
Old 10-12-2007, 05:53 AM
FullyTested FullyTested is offline
 
Join Date: Aug 2007
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks like the 'ban_from_thread' product was not imported properly.
Perhaps it stopped half way through.
Try importing it again and don't forget to select 'allow overwrite' when doing so.
Reply With Quote
  #35  
Old 10-12-2007, 05:59 AM
tiredoff tiredoff is offline
 
Join Date: Apr 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FullyTested View Post
It looks like the 'ban_from_thread' product was not imported properly.
Perhaps it stopped half way through.
Try importing it again and don't forget to select 'allow overwrite' when doing so.
I imported it again and still the same thing
i dont see the image too in the thread , i uploded it to image/buttom too
Reply With Quote
  #36  
Old 10-12-2007, 06:07 AM
tiredoff tiredoff is offline
 
Join Date: Apr 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will check every thing again and will reply you
sorry for bothering you
Reply With Quote
  #37  
Old 10-12-2007, 06:21 AM
tiredoff tiredoff is offline
 
Join Date: Apr 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1). Open the banning.php file
2). Find 'period' => TYPE_STR
and REPLACE it with:

'period' => TYPE_STR,
'threadid' => TYPE_INT <---this dont need (,) or just like seen ?
Reply With Quote
  #38  
Old 10-12-2007, 07:43 AM
FullyTested FullyTested is offline
 
Join Date: Aug 2007
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It does not matter if you add a comma or not.

It's no bother. It's just that I cannot help you without looking at your php files to see where you went wrong.
But if you do not see the ban link in the username drop down menu then that would mean that you either did not modify the template properly or the product was not imported correctly somehow.
Or perhaps you have another mod installed that is causing this one to break.

By the way, a moderator would not see the ban link (or little ban icon when the user is banned) unless they have banning rights for that particular forum.
Reply With Quote
  #39  
Old 10-12-2007, 10:53 AM
ehsanix ehsanix is offline
 
Join Date: Oct 2003
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent
Reply With Quote
  #40  
Old 10-12-2007, 05:31 PM
pollon pollon is offline
 
Join Date: Jan 2007
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great. Installed :up:
Reply With Quote
  #41  
Old 10-13-2007, 08:03 AM
tiredoff tiredoff is offline
 
Join Date: Apr 2007
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FullyTested View Post
It does not matter if you add a comma or not.

It's no bother. It's just that I cannot help you without looking at your php files to see where you went wrong.
But if you do not see the ban link in the username drop down menu then that would mean that you either did not modify the template properly or the product was not imported correctly somehow.
Or perhaps you have another mod installed that is causing this one to break.

By the way, a moderator would not see the ban link (or little ban icon when the user is banned) unless they have banning rights for that particular forum.
If you like i can make a link to the php files , and u can check all them
and taking screenprint to the post_legacy and postbit too
i will be greatfull with you
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 12:53 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.04457 seconds
  • Memory Usage 2,309KB
  • Queries Executed 27 (?)
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
  • (3)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • 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