The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#77
|
|||
|
|||
Very cool hack!
nice work! every thing is working fine bit I get a HTTP 404 - File not found Internet Explorer Error when I do an [edit] then [submit] I can see in the browser address this: /vb/admin/banuser.php.php so there are to .php extension! any idea Anatolia |
#78
|
||||
|
||||
Quote:
----------------------- also, to everyone that replied after erwin posted this, i think u are missing, that his modification does not change the temp ban link, if u go thru that, its the same old way of using the user id, u must use the "quick search" on the main page, to find a user, and from there it will ask do u want to ban them? also it will have a link to just go to there user information ----------------------- another question, i have more user groups than just registerd, like i have some private forums for special members and sometimes they can be naughty too, so how can i add more user groups to this hack to be banable? thanks |
#79
|
|||
|
|||
I have updated this so mods that are allowed to ban can and can only ban regular users (2).
There was no point reinventing the wheel here. I just took the code from the prefectly good banning function that is already in vbb. I also linked it to the mod ban section, so when you search for a user to ban, like you do to perm ban someone anyways, you click on temp ban and the userid is automatically input, no need to worry about usernames etc, but that can easily be changed. have a look. |
#80
|
|||
|
|||
Ok I installed this hack and the update. I can not find where I temp ban users of my site. I do not see any changes
Larry |
#81
|
|||
|
|||
how come i dont see option to temp ban user in control panel
|
#82
|
|||
|
|||
Quote:
Me either my mods I turned on see it but when they click it it just shows a white page Larry |
#83
|
|||
|
|||
when i click on temp ban why i get empty page nothing show up
|
#84
|
|||
|
|||
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 |
#85
|
||||
|
||||
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 |
#86
|
||||
|
||||
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? |
#87
|
|||
|
|||
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 |
#88
|
|||
|
|||
Hrm, interesting. When i try to edit it trys to load banuser.php.php
Edit: Fixed with ereg() Also: Quote:
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 |
#89
|
|||
|
|||
How did you fix that banuser.php.php problem?
I have no idea what to change.... |
#90
|
||||
|
||||
Yeah, how can we fix the problems listed on previous messages?
|
#91
|
|||
|
|||
Quote:
PHP Code:
FYI i was on a private testing board. So while it didn't break, it didn't really get tested out either. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|