vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   vBulletin 4 Request - [Solved] Ban specific users from specific scripts (https://vborg.vbsupport.ru/showthread.php?t=322014)

Stratis 03-31-2016 03:09 PM

The only problem, if we can say it problem! is the message with browsers.
I know, I know :D we talk about this in post #11. but why all other mods of you that have a message works fine, and this not?

Maybe because it uses a bit of Vbulletin error script? Can be done like...
"MarkFL - Restrict Posting By Forum"
"MarkFL - Force Avatar"
"MarkFL - Cannot PM Self"

They work in all browsers, I don't know maybe its not a good idea :) or its different coding.

.................................................. ............................
I thing if this modification had an option:
Usergroups|Postcount|Restricted Threads

It would involve all situations. :p

MarkFL 03-31-2016 03:22 PM

Try changing the "Hook Location" of the plugin titled "Prevent Restricted Users From Viewing Scripts" to "global_bootstrap_complete" and see if the message issue is still present. :)

edit: Once we get this message issue ironed out, I will add 2 settings for threads, one for users and one for usergroups.

Stratis 03-31-2016 04:07 PM

I made the change, same results :)

MarkFL 03-31-2016 04:16 PM

Okay, try the hook location "global_start"...all of these hook locations work with no issue for me...

Stratis 03-31-2016 04:33 PM

No, same.

MarkFL 03-31-2016 04:36 PM

Quote:

Originally Posted by Stratis (Post 2568289)
No, same.

Okay...I will have to think of another strategy. Thank you for your patience and effort! :)

edit: I just installed this on another site, and had no issue with the message in Firefox and Chrome...

Stratis 03-31-2016 04:43 PM

My patience and effort? These are my words to you, not from you to me.

Thanks a lot.

MarkFL 03-31-2016 04:48 PM

Quote:

Originally Posted by Stratis (Post 2568291)
My patience and effort? These are my words to you, not from you to me.

Thanks a lot.

Well, it takes time and effort to try different hook locations, and then to report the behavior resulting from the changes. This is a team effort here. :)

MarkFL 04-01-2016 01:10 AM

1 Attachment(s)
I have attached version 1.2! :D

I have added the settings for threads, and grouped the settings by scripts, forums and threads for easier navigation.

Until I can figure out how to duplicate the issue you have reported with the message, I can't think of how to address that. :(

Stratis 04-01-2016 05:19 PM

You are a Master Piece :D

Tested in live forum, works fine. This modification is the best solution for quietly BAN users. As we know banning users with the traditional way is not a solution for many purposes.

Than you :)


All times are GMT. The time now is 02:01 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.01820 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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