The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#12
|
||||
|
||||
Quote:
__ Anyways, i like this hack the most i don't know why this wasn't in the default vbulletin but now people can easyly add it so good job. |
#13
|
|||
|
|||
I did find it odd when I realised that if a supermod accidentally bans someone, they must wait until an admin can fix their silly mistake. Also, what if a user is to be unbanned! Only the admins could do it...what's the point of supermods if they're not going to do all the work hey
|
#14
|
||||
|
||||
The script isn't working for me. I get parse errors around lines 69-72 or something like that. For a start, are those 'if's supposed to be spelt 'iif'?
|
#15
|
|||
|
|||
Quote:
|
#16
|
||||
|
||||
It's OK. I made a mistake. Sorry about that (it was first thing in the morning)!
However, I'm not getting the link for 'unban'. Also, if I type in the URL to unban from the mod cp it leads me nowhere (and yes I did check that the usergroup ID matched the hack). For the record, I'm using vB 2.2.9. |
#17
|
|||
|
|||
You shouldn't be typing in a URL to unban users. That wouldn't work. As for the link to unban, you can only get the unban link in the modCP, regardless of usergroup, if the user was banned by moderators.
|
#18
|
||||
|
||||
Yes, I tried it in the mod cp. No 'unban' link came up (which is why I tried to type in that 'action=unban&userid=xx').
Well, here's how I have the script (with those 'parse ban/stealth ban' links removed). EDIT: OK, I can now type in the url to unban and it will unban. I could make the 'unban' link a regular one and that would work but the 'conditional link' in this hack still doesn't. Also, after unbanning I am not redirected anywhere after the unban. I get the '[userid] has been unbanned' but I don't get taken off the 'unban confirm' screen. That aside, this is good. I've long wanted a mod-unban hack to be released. |
#19
|
|||
|
|||
That's correct, the confirmation screen should stay, and a message appear below it stating they're unbanned.
I'll look into your problem. |
#20
|
|||
|
|||
Ok, I've updated the instructions file. Please clear your temp internet files and download it again and repeat step 1.
|
#21
|
||||
|
||||
The conditional link thing still isn't working for me. At the moment I've made it a permanent one seeing as I can't locate the problem. The code looks sound to me. Speaking of which, it's apparant that there's no error message when one attempts to unban someone not 'banned by moderators' even though I see such a message in your code. Of course, that wouldn't really matter considering the link is only supposed to show with users that fit the criteria for unbanning. For the record, the 'unban confirmation' table DOES only appear if the usergroupid is 8. Just not the unban link.
My 'banned by moderators' usergroup ID is actually 10. I don't know if that goes for everyone else or whether it depends what version of vBulletin you're using (I doubt it). This isn't the cause of any problems though. I suppose it's because my usergroup 8 is actually an admin ban which I created before moderators had banned anyone. Personally I reckon the hack would be better if the 'unban confirmation' table didn't remain after an unban but rather you got a blank screen with the 'unbanned' message, just like you get the 'banned' one when banning. The 'confirm ban' table doesn't remain. I just noticed that if you then try to unban again (just after already unbanning a user) it gives the 'unbanned' message again and this time the 'confirm unban' table disappears (just how I think it should). Nevertheless, the unban itself works fine. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|