Quote:
Originally Posted by NittoMOD
Is this correct or a typo -
PHP Code:
<?php
require_once('/path/to/your/login_inc2.php');
?>
Do you mean login_inc.php?
Where do we put the login_inc file included with this hack? Any special directory, or whichever directory we are running the script?
Thanks.
*Edit -
Also, do these statements work with the new VB code?
PHP Code:
<?php
if ($vbulletin->userinfo['usergroupid'] == '6' )
{
echo "This is only visible to people in usergroup 6";}
?>
|
The first is a typo, login_inc.php is what it is named (unless you change it)
And the statements do work.
However I do have an issue. I can't use the statements twice. Not sure what is going on but if I used the statement once, it doesn't work to use it again.