|
|
|
|
|
|
|
|
| Re: Phpmybitorrent forums [message #4201 is a reply to message #4193] |
Sun, 30 May 2010 15:10  |
|
joes install to forums
step 1
upload
forums.php
admin-forums.php
moresmiles.php
to your tracker root directory
step 2
Upload
forums folder to each of your theme directorys
run the sql file in your data base
step 3
open include/class.user.php
find
$this->id = $row["id"];
$this->name = $row["username"];
$this->nick = $row["name"];
$this->level = $row["level"];
$this->theme = $row["theme"];
$this->group = $row["can_do"];
$this->email = $row["email"];
if (file_exists("./language/".$row["language"].".php"))
$this->ulanguage = $row["language"];
else
$this->ulanguage = 'english';
$this->passkey = $row["passkey"];
$this->act_key = $row["act_key"];
$this->uploaded = $row["uploaded"];
$this->downloaded = $row["downloaded"];
$this->modcomment = $row["modcomment"];
$this->invites = $row["invites"];
$this->invitees = $row["invitees"];
$this->seedbonus = $row["seedbonus"];
$this->can_shout = $row["can_shout"];
$this->lastlogin = $row["lastlogin"];
$this->user_torrent_per_page = $row["torrent_per_page"];
and replace with
$this->id = $row["id"];
$this->name = $row["username"];
$this->nick = $row["name"];
$this->level = $row["level"];
$this->theme = $row["theme"];
$this->group = $row["can_do"];
$this->email = $row["email"];
if (file_exists("./language/".$row["language"].".php"))
$this->ulanguage = $row["language"];
else
$this->ulanguage = 'english';
$this->passkey = $row["passkey"];
$this->act_key = $row["act_key"];
$this->uploaded = $row["uploaded"];
$this->downloaded = $row["downloaded"];
$this->modcomment = $row["modcomment"];
$this->invites = $row["invites"];
$this->invitees = $row["invitees"];
$this->seedbonus = $row["seedbonus"];
$this->can_shout = $row["can_shout"];
$this->lastlogin = $row["lastlogin"];
$this->forumbanned = (($row["forumbanned"]== 'yes')? true : false);
$this->user_torrent_per_page = $row["torrent_per_page"];
step 4
go to admin=>level and create new Access modforum
You well need to edit level owner from data base
set who you want to be forum moderators to true
Notice to 2.0.5repack users you well need to add
if (defined('IN_PMBT'))die ("You can't include this file");
define("IN_PMBT",true);
to
all the files you added to your root
forums.php
admin-forums.php
just before
include "header.php";
in
moresmiles.php just before
require_once("include/config.php");
step 5
Now go to yoursite/admin-forums.php
create your new catigories first
then
create your new forums
Remember this is stell in testing mode so report all errors to
http://www.phpmybittorrent.com/forum/index.php/t/757/6/


For cheap, fast, reliable webhosting, please click here on my affiliate link!
[Updated on: Sun, 30 May 2010 15:13] Report message to a moderator
|
|
|