![]() |
Converting from Xenforo to vBulletin
Hey,
I was wondering if someone might be willing to give me a hand with converting this matter of code to be cross-compatible with vbulletin? Thanks, Code:
<?php |
Anyone know if they can help?
|
Untested, upload to the root of your vBulletin forum.
PHP Code:
|
First off, thank you so much for being willing to help me with this project. Now, I uploaded the code to the root of the forums, and in Xenforo its supposed to print either a 0,1 or 2 and this only shows a completely blank page. But no errors we're printed, so go you. :)
|
It's because of the check that checks if the current IP matches the $serverip variable.
You probably want it to be something like this in that case: PHP Code:
|
That code is producing the following error
Code:
Parse error: syntax error, unexpected 'if' (T_IF) in /home4/swgnge/public_html/forums/includes/functions_login.php(209) : eval()'d code on line 3 Scratch that, I was using the wrong syntax. |
That's caused by a plugin you have installed, more specifically at the login_verify_failure_username hook.
|
Thank you so much Your my hero!! :)
|
No problem. ;)
|
Quote:
Please advise, |
All times are GMT. The time now is 04: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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|