Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent)
Reply
  #1  
Old 20th January 2009, 15:10
Azurious's Avatar
Azurious Azurious is offline
Senior Member
 
Join Date: Jan 2009
India
Posts: 60
Default 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
Reply With Quote
  #2  
Old 20th January 2009, 15:49
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,067
Default
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';

__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Managerô forum
My Current Demo is here http://demo.btmanager.org/

Last edited by joeroberts; 2nd February 2009 at 03:37.
Reply With Quote
  #3  
Old 20th January 2009, 15:55
Azurious's Avatar
Azurious Azurious is offline
Senior Member
 
Join Date: Jan 2009
India
Posts: 60
Default
still my guest not able to view faq & rules

Last edited by Azurious; 20th January 2009 at 17:11.
Reply With Quote
Reply

Tags
invite , problem , system

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Invite System ampedm Mods & Themes 18 18th April 2014 01:39
Invite system yoligim Free Torrent Source 0 13th January 2010 19:28
Xbt-xbtvb invite system NyQnZGuJu xBTiT 2 19th November 2009 02:25
error in invite system numanx TBDev 0 16th July 2009 17:31
Simple Invite System v1.0 Fynnon Mods & Themes 0 3rd July 2008 12:15



All times are GMT +2. The time now is 21:09. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2020, vBulletin Solutions Inc.