![]() |
Quote:
The author has used the short hand <? instead of <?php in the beginning of the PHP files. This mode is not supported by many installations, and one should always use <?php when programming in PHP. So, to fix your problem. Go in to all PHP-files in this modification and change the first line to read <?php instead of <? It seems like the author has ommited the ?> at the end of the files as well. This is poor practise. Otherwise, top ace! :) |
Quote:
- Prevents excess white space at end of file; this can interfere with sending headers etc and cause xhtml validation errors. - php.net dosn't use closing delimiters in its code eg http://www.php.net/source.php?url=/include/prepend.inc - The closing tag is in fact optional. Anyway, fixed file uploaded for those that dont have short tags enabled. |
@caltek: what versions of php/mysql are you running? 32bit or 64 bit os?
|
thanks for the update. This does indeed enhance the IP banning functionality in vbulletin and could be useful to have as default. I have many banned IPs over the years, now I have no clue why any of them were banned.
|
Thats pretty much why i wrote this mod. It also allows me to give all admins ip ban privilages without them having access to the other options.
For anyone who was wondering; this does seem to work fine on vb 3.8.2 as i've just updated my own board to that version. |
installed on 3.82
when I add an ip, it says added successfully, & the row is saved to the DB BUT when I list banned ips, the list is blank. not sure what is wrong |
You checked the db and the ip is in there?
did you install the list of ip bans provided with the mod? |
Quote:
------- Installation Backup db. Upload files from zip. Import product. Refresh admincp. ------- yes, the ips are in the DB. I have 3 rows in the ipban table. I've attached an example. image 1 shows the row int he DB. image 2 is what I get when I click List "IP Bans" |
Does this work on 3.8.2
|
When I ban a IP with an CIDR, it shows as 0.0.0.0 and /8 for example, instead of what I entered... In the case shown in the attached zip file, I was banning 194.8.0.0/8 which is spammer trying to spam my site... However, it all shows as 0.0.0.0 as you will see in the attachment...
What can I do about it, or is there a reason it wouldn't show the IP info? Thanks, kapii |
All times are GMT. The time now is 01:10 PM. |
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:
|