Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-04-2016, 07:58 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default vBulletin 4 Request - [Solved] Ban specific users from specific scripts

Hi!
Lets say that we want to BAN a specific user from specific scripts.
As we most know:
*we always see users that they have bad manners in sites.
*users that they bother others with no particular reason with personal messages.
*they change there avatar with restricted images.
*they make posts or threads without substance.(some forums may have hidden files, and to display must have a number of specific posts.

...and many other occasions.

if Mod has 1st option:
Stratis|newreply,private
Userx|newthread,search

Stratis, cannot make replies and private messages.
Userx, cannot make new threads and search.

if Mod has 2st option:
A field that we can write some info in html that user will see that he is bla, bla, bla.

-------------------------------------------
And a bit more if it can be combined as an 3d option.

Ban specific users from specific forums:
Stratis|345,243 (forum ids)

Thanks
Reply With Quote
  #2  
Old 03-08-2016, 06:25 AM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Stratis View Post
*we always see users that they have bad manners in sites.
*users that they bother others with no particular reason with personal messages.
*they change there avatar with restricted images.
*they make posts or threads without substance.(some forums may have hidden files, and to display must have a number of specific posts.
If these things are outlined in your rules on your site why are you wanting to ban them from specific areas? They obviously cannot follow direction or the rules, why not ban them from the site if they break too many rules? Or use the built in infraction system to give infractions and then eventually ban them if they have too many.
Reply With Quote
  #3  
Old 03-08-2016, 06:30 AM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your opinion.
Actually BAN is not a good solution for me. They find ways and register again, you know that
is very easy for them to do. I prefer to restrict them from some things in forum rather BAN them.
Reply With Quote
  #4  
Old 03-08-2016, 06:48 AM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

EDIT: Nevermind, I'm need a nap too tired. LOL
Reply With Quote
Благодарность от:
Stratis
  #5  
Old 03-09-2016, 09:09 AM
SaN-DeeP's Avatar
SaN-DeeP SaN-DeeP is offline
 
Join Date: Jun 2002
Location: Mumbai, India
Posts: 1,195
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I assume, they will register again with new account, once they come to know about these restrictions on them ?

Check vb.com tricks for vb3 and vb4, there were some tips which showed how to restrict scripts.
You might have to search a bit. very old thread
Reply With Quote
Благодарность от:
Stratis
  #6  
Old 03-09-2016, 09:18 AM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did that before making thread. searched many cases, i found some but they only restrict only one specific script, so they can not be used if there is not a way to import what you want to restrict.

Thanks for the answer
Reply With Quote
  #7  
Old 03-29-2016, 01:10 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello Stratis,

I have attached a product for your testing.
Attached Files
File Type: xml product-markflrestrictscripts.xml (4.0 KB, 2 views)
Reply With Quote
  #8  
Old 03-29-2016, 02:15 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mark thank you very much for not forgetting

Works in me test forum.
1) Problem with case sensitive user names (Stratis, stratis)
2) and basic, the error user will see is the common

You do not have permission to access this page. This could be due to one of several reasons: bla, bla, bla...

I don't know if it can have a field that we can write our message.
even in two occasions:
* Users|Restricted Scripts
* Users|Restricted Forums

separated field to input error message user will see.

If its to much, as it is will do
Reply With Quote
Благодарность от:
MarkFL
  #9  
Old 03-29-2016, 02:53 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay...good!

I have fixed the case sensitivity of usernames, and added two phrases that you can use to give a custom message to the user:

Attached Images
File Type: png markfl_restrictscripts_phrases.png (8.9 KB, 0 views)
Attached Files
File Type: xml product-markflrestrictscripts.xml (4.6 KB, 3 views)
Reply With Quote
Благодарность от:
Stratis
  #10  
Old 03-29-2016, 04:47 PM
Stratis's Avatar
Stratis Stratis is offline
 
Join Date: Jan 2010
Posts: 738
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes. that's it,

the only issue is that when restrict from new reply.
It says first:

"Are you sure you want to leave this page?
This site says...
Changes made in the editor will be lost
."

and than the message comes up.

In all browsers, except Firefox

When ever you want and have time, I have more ideas for this modification.

:up: Thank you so much for making this live.

--------------- Added [DATE]1459283838[/DATE] at [TIME]1459283838[/TIME] ---------------

Some thing else Mark, when i add phrase in my language it does not take effect
if I don't change it in the English field to.
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:00 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.04216 seconds
  • Memory Usage 2,296KB
  • Queries Executed 14 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (4)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (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_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_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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete