Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent) > Mods & Themes
Reply
  #1  
Old 18th April 2010, 04:03
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Thumbs up Admin add user
you well need to files first is admin/files/add_user.php
[code]<?php
/*
*----------------------------phpMyBitTorrent V 2.0-----------------------------*
*--- The Ultimate BitTorrent Tracker and BMS (Bittorrent Management System) ---*
*-------------- Created By Antonio Anzivino (aka DJ Echelon) --------------*
*------------- http://www.p2pmania.it -------------*
*------------ Based on the Bit Torrent Protocol made by Bram Cohen ------------*
*------------- http://www.bittorrent.com -------------*
*------------------------------------------------------------------------------*
*------------------------------------------------------------------------------*
*-- This program is free software; you can redistribute it and/or modify --*
*-- it under the terms of the GNU General Public License as published by --*
*-- the Free Software Foundation; either version 2 of the License, or --*
*-- (at your option) any later version. --*
*-- --*
*-- This program is distributed in the hope that it will be useful, --*
*-- but WITHOUT ANY WARRANTY; without even the implied warranty of --*
*-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --*
*-- GNU General Public License for more details. --*
*-- --*
*-- You should have received a copy of the GNU General Public License --*
*-- along with this program; if not, write to the Free Software --*
*-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA --*
*-- --*
*------------------------------------------------------------------------------*
*------
__________________
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/
Reply With Quote
The Following User Says Thank You to joeroberts For This Useful Post:
ahmedtm1 (18th April 2010)
  #2  
Old 18th April 2010, 07:34
ahmedtm1 ahmedtm1 is offline
Member
 
Join Date: Mar 2010
Egypt
Posts: 7
Default
Thank You Mr.Joeroberts
Reply With Quote
  #3  
Old 12th June 2010, 18:33
Giorgatzelos's Avatar
Giorgatzelos Giorgatzelos is offline
Senior Member
 
Join Date: Nov 2009
Greece
Posts: 300
Default
It says you can't access this file directly...permissions issues maybe?
I pasted the scripts to emty.txt,renamed as you said to add_user.php and then uploaded where u said plus the image at the end...but the message
Quote:
you can't access this file directly appears

Last edited by Giorgatzelos; 12th June 2010 at 19:02.
Reply With Quote
  #4  
Old 13th June 2010, 09:42
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
Quote:
Originally Posted by Giorgatzelos View Post
It says you can't access this file directly...permissions issues maybe?
I pasted the scripts to emty.txt,renamed as you said to add_user.php and then uploaded where u said plus the image at the end...but the message
replace this line
PHP Code:
if (!defined('IN_PMBT')) die ("You can't access this file directly"); 
with
PHP Code:
if (defined('IN_PMBT'))die ("You can't include this file");
define("IN_PMBT",true); 
__________________
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/
Reply With Quote
Reply

Tags
add , admin , user

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
DATABASE: mysql_connect: Access denied for user 'user'@'localhost' ciolpalas Torrent Trader 2 30th June 2010 08:31
Admin panel & Creating users & User registration email ERROR noaptus Gazelle 0 15th March 2010 17:19
Bug in promoting user to power user in TS 5.6 crztz Template Shares 5 7th December 2009 03:58
no admin cp evilgit1 Yuna Scatari Edition (YSE) 1 8th May 2009 06:37
how change the normal user to power or admin user in ts TS Special Edition v.5.1 theway Template Shares 2 27th September 2008 14:44



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