Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   BT.Manager (phpMyBitTorrent) (http://www.bvlist.com/forumdisplay.php?f=23)
-   -   Problem In invite System (http://www.bvlist.com/showthread.php?t=1852)

Azurious 20th January 2009 15:10

Problem In invite System
 
I made my board Invite Only but then also registration is working

& when i send invites i got the huge link but it send back to home page

my guest not able to view faq & rules too

joeroberts 20th January 2009 15:49

open theme main.php
find
PHP Code:

if($pivate_mode AND !$user->user AND !eregi("user.php",$_SERVER["PHP_SELF"])) loginrequired("user"true); 

and replace it with
PHP Code:

function newuserpage($page)
{
if(
eregi("user.php",$page))return true;
if(
eregi("takeconfirminvite.php",$page))return true;
if(
eregi("confirminvite.php",$page))return true;
if(
eregi("rules.php",$page))return true;
if(
eregi("faq.php",$page))return true;
return 
false;
}
if(
$pivate_mode AND !$user->user AND !newuserpage($_SERVER["PHP_SELF"])){
 
loginrequired("user"false);
include
'footer.php';



Azurious 20th January 2009 15:55

still my guest not able to view faq & rules


All times are GMT +2. The time now is 23:56.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.