Quote:
Originally Posted by nirvana43
Please open Upload/adiinviter_supported.php
Find :
PHP Code:
print_output($templater->render());
Replace With :
PHP Code:
if (!$vbulletin->userinfo['userid'])
{
print_no_permission();
}
else
{
print_output($templater->render());
}
Repeat above find and replace for -
Upload/adiinviter_next.php
Upload/free_adiinviter.php
Make sure you are logged in to your forum and test it..
Let me know if that helps you 
|
thanks for your support, if i add these codes, i am getting a blank page,
so i added the old files back and i am getting a new page with all the details, i logged into my mail and added all the stuff.
now the problem is after clicking on the invite button i am getting this error
PHP Code:
Warning: require_once(/home/user/public_html/forums/global.php) [function.require-once]: failed to open stream: No such file or directory in /home/earning/public_html/mydomainname.com/forums/adiinviter/adiinviter_global.php on line 2
Fatal error: require_once() [function.require]: Failed opening required '/home/user/public_html/forums/global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/earning/public_html/mydomainname.com/forums/adiinviter/adiinviter_global.php on line 2