vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Secretly ban a user (https://vborg.vbsupport.ru/showthread.php?t=36205)

John 10-19-2002 09:26 AM

Installed on vB 2.2.8, thanks - the installation took a bit of tweaking (just common sense, nothing too tricky) and it works fine. Installed the fix provided by Firefly, it fixed the newreply.php error.

John 10-19-2002 09:35 AM

A coupler of issues:

1. The banned user's name still appears in the "Last Post By:" section on the front page.
2. Allowing banned members to post new threads results in threads being created with no first post - disaster!

It would be great if only threads that were started after the user's ban were invisible. :(

Sengir 10-19-2002 01:49 PM

Hmm I'll wait to install this hack until it is completely finished..

John 10-19-2002 05:55 PM

There are other problems -

For example, we've had users who have made valuable contributions to the board, and then we've had to ban them for various reasons.

With this hack, all of the banned user's posts disappear! So, if they've started threads in the past, or they've posted in other threads, it'll all disappear.

This problem can be easily fixed, I'm going to add it to my board when I get a few spare minutes :banana:

MajorGeek 11-15-2002 02:19 AM

Im staying away. In first and last of 3 attachments you provided, the newreply.php does not match with 2.28, dont want to risk problems. Your second attachment totally leaves the newreply.php changes out completely. From reading through here, theres a few other mistakes.

I would like to see an updated version with everything fixed for 2.28 if possible? Thanks either way.

cgwillis 11-20-2002 10:11 PM

Quote:

Originally posted by dwh
Probably a bit complex to solve...though only a line or three once u figure it out...I'll give u a hint...

you need to find where the select statement happens to get the list of threads (probably in functions.php or forumdisplay.php)...and make sure that in the join to the threadstarter...their usergroupid is included in the query...and if the usergroup id belongs to that user...exclude that thread...

Problem is...it will still show up in searches...and view new posts and today's posts etc...

But to fix that u just go with the same concept...except in search.php instead...

Hope this helps...

Basically I am using this to ban people who create accounts with the sole intent to send libelous comments. I need any threads that they have created to disappear so I have been trying to do what you are saying. I understand that basically you do the same hacks as in newreply.php, but in another file so that the threads will disappear, but I can't seem to find it. I just don't know the internal system enough for that. Does anyone know where to call the query for the permissions to view threads?

extreme_old 12-03-2002 05:51 AM

what a piece of ++++

thanks to this hack, i got banned like this from a forum!!!! ++++ it pieces me off, didn't even realise til about 2 weeks later when i realize i can't see any new threads!!!!

extreme_old 12-03-2002 05:51 AM

what a piece of ++++

thanks to this hack, i got banned like this from a forum!!!! ++++ it pieces me off, didn't even realise til about 2 weeks later when i realize i can't see any new threads!!!!

MajorGeek 12-03-2002 12:56 PM

So, what your saying is that it works well? :)

Quote:

Originally posted by extreme
what a piece of ++++

thanks to this hack, i got banned like this from a forum!!!! ++++ it pieces me off, didn't even realise til about 2 weeks later when i realize i can't see any new threads!!!!


jwischka 12-17-2002 02:44 AM

lol.... definitely a testimonial from a satisfied customer.

~jeff


All times are GMT. The time now is 09:42 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.01093 seconds
  • Memory Usage 1,735KB
  • 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
  • (4)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