![]() |
[Release] 404 error ban.
Author: Anime-loo
Description: This modification will show a "404 page not found" error to anyone in the banned usergourp. Demo: n/a Screenshot: n/a |
<a href="https://vborg.vbsupport.ru/showthread.php?s=&threadid=48710&highlight=404+err or+ban" target="_blank">https://vborg.vbsupport.ru/showt...=404+error+ban</a>
hehe - how dd you do it whtiout hacking? |
....look at the txt to find out
the phpinclude template was used |
gotta love PHPinclude
|
Nice mod, good idea. :)
|
What about making something similar where instead of it saying 404, it says in huge bold letters:
BANNED! hehe :D |
Oh I suppose you could just insert any text in place of the 404 error :D
|
Hmmm, this mod isn't working for me either. After I added this, I still got the regular default ban page :confused:
|
Why not just use:
PHP Code:
|
The @ in the code prevents the header function from showing a error just incase it fails. If it did fail for some reason the user would know that the page is not a real 404 error.
|
Side note: in PHP, always use single quotes in key-based arrays; for example, $bbuserinfo['userid']. vB2 uses the incorrect method of not using quotes which long story short is bad. If you want to be compliant in templates, too, you can use {$variable['key']}. :)
|
All times are GMT. The time now is 03:47 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|