Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Mods & Themes (http://www.bvlist.com/forumdisplay.php?f=93)
-   -   New forum need testers (http://www.bvlist.com/showthread.php?t=4450)

joeroberts 5th July 2011 00:00

open forums.php and find
PHP Code:

*------------------------------------------------------------------------------*
*------              
©2010 phpMyBitTorrent Development Team              ------*
*-----------               
http://phpmybittorrent.com               -----------*
*------------------------------------------------------------------------------*
*-----------------   
SundaySeptember 142008 9:05 PM   ---------------------*
*/ 

and add after
PHP Code:

if (defined('IN_PMBT'))die ("You can't include this file");
define("IN_PMBT",true); 


wMan 5th July 2011 00:01

language
 
language when i over write the language file index page everything is _games and every link on page joe

Bump: Configuration not found! Make sure you have installed phpMyBitTorrent Forum correctly.

joeroberts 5th July 2011 00:04

first you add the folder not the file for language
second you did not add all the sql querys posted

wMan 5th July 2011 00:06

Quote:

Originally Posted by joeroberts (Post 28820)
first you add the folder not the file for language
second you did not add all the sql querys posted

yes joe did all m8 and stall same no forum showing

Bump:
Quote:

Originally Posted by joeroberts (Post 21817)
PHP Code:

include_once("include/forum_config.php");
include_once
'themes/'.$theme.'/forums/main.php';
if(!
$user->ulanguage == '' && file_exists('language/forum/'.$user->ulanguage.'.php'))include'language/forum/'.$user->ulanguage.'.php';
elseif (
file_exists('language/forum/'.$language.'.php'))include_once'language/forum/'.$language.'.php';
else
include_once
'language/forum/english.php';
$themedir "" $siteurl "/themes/" $theme "/forums/";
function 
encodehtml($s$linebreaks true)
{
  
$s str_replace(array("<",">","\""), array("<",">","""), str_replace("&", "&", $s));
  if (
$linebreaks)
    
$s = nl2br($s);
  return 
$s;
}

OpenTable("
label");
latestforumposts();
CloseTable();



where in the main themes

joeroberts 5th July 2011 00:14

1 Attachment(s)
Please use the beta 2 release!

wMan 5th July 2011 00:19

Quote:

Originally Posted by joeroberts (Post 28822)
Please use the beta 2 release!

still same joe no forum showing

joeroberts 5th July 2011 00:22

because you are in to big of a hurry and did not add the sql provided in beta2
Code:

CREATE TABLE IF NOT EXISTS `torrent_forum_config` (
  `forum_open` enum('true','false') collate utf8_bin NOT NULL default 'false',
  `board_disable_msg` text collate utf8_bin NOT NULL,
  `censor_words` enum('true','false') collate utf8_bin NOT NULL default 'false',
  `postsper_page` int(10) NOT NULL,
  `topics_per_page` int(10) NOT NULL,
  `max_subject_length` int(10) NOT NULL,
  `max_post_length` int(10) NOT NULL,
  `show_latest_topic` enum('true','false') collate utf8_bin NOT NULL default 'false',
  `search_word_min` int(10) NOT NULL,
  `allow_bookmarks` enum('true','false') collate utf8_bin NOT NULL default 'false',
  `shout_new_topic` enum('true','false') collate utf8_bin NOT NULL default 'false',
  `shout_new_post` enum('true','false') collate utf8_bin NOT NULL default 'false'
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
INSERT INTO `torrent_forum_config` (`forum_open`, `board_disable_msg`, `censor_words`, `postsper_page`, `topics_per_page`, `max_subject_length`, `max_post_length`, `show_latest_topic`, `search_word_min`, `allow_bookmarks`, `shout_new_topic`, `shout_new_post`) VALUES
('true', '', 'true', 15, 15, 50, 150, 'false', 5, 'true', 'true', 'true');


wMan 5th July 2011 00:25

Quote:

Originally Posted by joeroberts (Post 28824)
because you are in to big of a hurry and did not add the sql provided in beta2
Code:

CREATE TABLE IF NOT EXISTS `torrent_forum_config` (
  `forum_open` enum('true','false') collate utf8_bin NOT NULL default 'false',
  `board_disable_msg` text collate utf8_bin NOT NULL,
  `censor_words` enum('true','false') collate utf8_bin NOT NULL default 'false',
  `postsper_page` int(10) NOT NULL,
  `topics_per_page` int(10) NOT NULL,
  `max_subject_length` int(10) NOT NULL,
  `max_post_length` int(10) NOT NULL,
  `show_latest_topic` enum('true','false') collate utf8_bin NOT NULL default 'false',
  `search_word_min` int(10) NOT NULL,
  `allow_bookmarks` enum('true','false') collate utf8_bin NOT NULL default 'false',
  `shout_new_topic` enum('true','false') collate utf8_bin NOT NULL default 'false',
  `shout_new_post` enum('true','false') collate utf8_bin NOT NULL default 'false'
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
INSERT INTO `torrent_forum_config` (`forum_open`, `board_disable_msg`, `censor_words`, `postsper_page`, `topics_per_page`, `max_subject_length`, `max_post_length`, `show_latest_topic`, `search_word_min`, `allow_bookmarks`, `shout_new_topic`, `shout_new_post`) VALUES
('true', '', 'true', 15, 15, 50, 150, 'false', 5, 'true', 'true', 'true');


LOL done put in still no forum showing

joeroberts 5th July 2011 00:27

because none of the other sql's have been run
Code:

CREATE TABLE IF NOT EXISTS `torrent_forumcats` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `name` varchar(60) NOT NULL default '',
  `sort` int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM ;
CREATE TABLE IF NOT EXISTS `torrent_forum_forums` (
  `sort` tinyint(3) unsigned NOT NULL default '0',
  `id` int(10) unsigned NOT NULL auto_increment,
  `name` varchar(60) NOT NULL default '',
  `description` varchar(200) default NULL,
  `minclassread` varchar(225) NOT NULL,
  `minclasswrite` varchar(225) NOT NULL,
  `moderator` varchar(225) character set utf8 collate utf8_bin NOT NULL,
  `category` tinyint(2) NOT NULL default '0',
  `show_topic` tinyint(2) NOT NULL default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  ;
CREATE TABLE IF NOT EXISTS `torrent_forum_posts` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `topicid` int(10) unsigned NOT NULL default '0',
  `userid` int(10) unsigned NOT NULL default '0',
  `added` datetime default NULL,
  `body` text,
  `editedby` int(10) unsigned NOT NULL default '0',
  `editedat` datetime NOT NULL default '0000-00-00 00:00:00',
  PRIMARY KEY  (`id`),
  KEY `topicid` (`topicid`),
  KEY `userid` (`userid`),
  FULLTEXT KEY `body` (`body`)
) ENGINE=MyISAM;
CREATE TABLE IF NOT EXISTS `torrent_forum_readposts` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `userid` int(10) unsigned NOT NULL default '0',
  `topicid` int(10) unsigned NOT NULL default '0',
  `lastpostread` int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `userid` (`id`),
  KEY `topicid` (`topicid`)
) ENGINE=MyISAM;
CREATE TABLE IF NOT EXISTS `torrent_forum_topics` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `userid` int(10) unsigned NOT NULL default '0',
  `subject` varchar(40) default NULL,
  `locked` enum('yes','no') NOT NULL default 'no',
  `forumid` int(10) unsigned NOT NULL default '0',
  `lastpost` int(10) unsigned NOT NULL default '0',
  `moved` enum('yes','no') NOT NULL default 'no',
  `sticky` enum('yes','no') NOT NULL default 'no',
  `views` int(10) NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `userid` (`userid`),
  KEY `subject` (`subject`),
  KEY `lastpost` (`lastpost`)
) ENGINE=MyISAM;
CREATE TABLE IF NOT EXISTS `torrent_bookmarks` (
  `topic_id` int(10) unsigned NOT NULL default '0',
  `user_id` int(10) unsigned NOT NULL default '0'
) ENGINE=MyISAM;

and you need to add the rest of the files to

wMan 5th July 2011 00:29

Quote:

Originally Posted by joeroberts (Post 28826)
because none of the other sql's have been run
Code:

CREATE TABLE IF NOT EXISTS `torrent_forumcats` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `name` varchar(60) NOT NULL default '',
  `sort` int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM ;
CREATE TABLE IF NOT EXISTS `torrent_forum_forums` (
  `sort` tinyint(3) unsigned NOT NULL default '0',
  `id` int(10) unsigned NOT NULL auto_increment,
  `name` varchar(60) NOT NULL default '',
  `description` varchar(200) default NULL,
  `minclassread` varchar(225) NOT NULL,
  `minclasswrite` varchar(225) NOT NULL,
  `moderator` varchar(225) character set utf8 collate utf8_bin NOT NULL,
  `category` tinyint(2) NOT NULL default '0',
  `show_topic` tinyint(2) NOT NULL default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  ;
CREATE TABLE IF NOT EXISTS `torrent_forum_posts` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `topicid` int(10) unsigned NOT NULL default '0',
  `userid` int(10) unsigned NOT NULL default '0',
  `added` datetime default NULL,
  `body` text,
  `editedby` int(10) unsigned NOT NULL default '0',
  `editedat` datetime NOT NULL default '0000-00-00 00:00:00',
  PRIMARY KEY  (`id`),
  KEY `topicid` (`topicid`),
  KEY `userid` (`userid`),
  FULLTEXT KEY `body` (`body`)
) ENGINE=MyISAM;
CREATE TABLE IF NOT EXISTS `torrent_forum_readposts` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `userid` int(10) unsigned NOT NULL default '0',
  `topicid` int(10) unsigned NOT NULL default '0',
  `lastpostread` int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `userid` (`id`),
  KEY `topicid` (`topicid`)
) ENGINE=MyISAM;
CREATE TABLE IF NOT EXISTS `torrent_forum_topics` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `userid` int(10) unsigned NOT NULL default '0',
  `subject` varchar(40) default NULL,
  `locked` enum('yes','no') NOT NULL default 'no',
  `forumid` int(10) unsigned NOT NULL default '0',
  `lastpost` int(10) unsigned NOT NULL default '0',
  `moved` enum('yes','no') NOT NULL default 'no',
  `sticky` enum('yes','no') NOT NULL default 'no',
  `views` int(10) NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `userid` (`userid`),
  KEY `subject` (`subject`),
  KEY `lastpost` (`lastpost`)
) ENGINE=MyISAM;
CREATE TABLE IF NOT EXISTS `torrent_bookmarks` (
  `topic_id` int(10) unsigned NOT NULL default '0',
  `user_id` int(10) unsigned NOT NULL default '0'
) ENGINE=MyISAM;

and you need to add the rest of the files to

put in ok joe and still no forum showing m8


All times are GMT +2. The time now is 01:53.

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