vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Allow Mods a temporary ban of users (https://vborg.vbsupport.ru/showthread.php?t=39584)

Larry@IOG 04-06-2003 04:17 AM

Quote:

Yesterday at 11:29 PM lioncool1589 said this in Post #80
how come i dont see option to temp ban user in control panel

Me either my mods I turned on see it but when they click it it just shows a white page


Larry

lioncool1589 04-07-2003 04:24 AM

when i click on temp ban why i get empty page nothing show up

lioncool1589 04-07-2003 05:19 AM

Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site26/fst/var/www/html/forum/admin/adminfunctions.php:19) in /home/virtual/site26/fst/var/www/html/forum/mod/banuser.php on line 33

how i fix this error

Keyser S?ze 04-20-2003 05:09 AM

look at this post right here guys :)

https://vborg.vbsupport.ru/showthrea...=&pagenumber=2

anyways, this is a great hack, i think the person that made it has left the planet :(

needs some updating tho

AZone 06-23-2003 02:24 AM

1. What about two .php extensions? (see first post on this page)
2. How to ban not only for hours, but also up to 5 days?

midnightz 07-08-2003 01:41 AM

Ok, We needed this for somebody and cleaned up some code and rewrote some as well a little. This version will allow you to temp ban users with no problems. I didnt add a hack to add it to the admin style drop down menu for mods. (searched but couldnt find that hack).

This is set to ban for hours, I will add one tomorrow for days or just do the math :)

Hope it works for you :bunny:

Need to reattach found one small bug still left

TheDPQ 09-15-2003 03:09 AM

Hrm, interesting. When i try to edit it trys to load banuser.php.php
Edit: Fixed with ereg()

Also:
Quote:

Warning: Cannot modify header information - headers already sent by (output started at /home/mvhost/public_html/test/admin/adminfunctions.php:19) in /home/mvhost/public_html/test/mod/banuser.php on line 43
Line 43:
Header("Location: ".$PHP_SELF); // so that F5 works

I see a few people had this problem here but nothing was posted as to how to fix it.
Edit: I don't know PHP or VB very well so i just kicked in a javascript redirect since i don't think i'm going to get much help here. If you have another/better solution let me know

Athmo 09-18-2003 09:03 AM

How did you fix that banuser.php.php problem?

I have no idea what to change....

sKuLLo 11-04-2003 06:35 PM

Yeah, how can we fix the problems listed on previous messages?

TheDPQ 11-04-2003 08:15 PM

Quote:

Edit: Fixed with ereg()
Sheesh i gave ya the answer. I didn't know PHP at the time either but i figured it out. =P Learning how to research and problem solve yourself will get you farther then just waiting for someone to hand you the answer.

PHP Code:

 doformheader(ereg_replace (".php"""$PHP_SELF),"update");     //added eReg. was getting banuser.php.php - 9.15.03 by TheDPQ 

Theres probably a better solution, but i didn't care to nitpick the code and findout where its already adding the extra .php. Its brute-force, but it works.

FYI i was on a private testing board. So while it didn't break, it didn't really get tested out either.

sKuLLo 11-16-2003 02:41 PM

where to put this code?

SilverBoy 01-24-2004 08:32 PM

Is there any update??


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