Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Torrent Strike (http://www.bvlist.com/forumdisplay.php?f=21)
-   -   Forum internal (http://www.bvlist.com/showthread.php?t=3101)

BBC 28th July 2009 13:46

Forum internal
 
Hello boys,
use torrentstrike with much satisfaction, but I would want to try to use the inner forum and not the phpbb like that one of tbdev, you say which modifications to me I must bring in the rows and the SQL? Thanks thousands for aid :drink:

Tony 2nd August 2009 18:12

simply rename the forums.php to forums_old.php and copy and paste the tbdev basic forum file into the root and thats it really ..

oh and just open your stdhead.php from within your themes folder and just edit the forum link so it directs to forums.php

if you dont already have the needed tables for the basic tbdev forum (even though its included in v4) then here you go

Code:

CREATE TABLE `forums` (
  `sort` tinyint(3) unsigned NOT NULL default '0',
  `id` int(10) unsigned NOT NULL auto_increment,
  `name` varchar(60) character set latin1 collate latin1_general_ci NOT NULL default '',
  `description` varchar(200) character set latin1 collate latin1_general_ci default NULL,
  `minclassread` tinyint(3) unsigned NOT NULL default '0',
  `minclasswrite` tinyint(3) unsigned NOT NULL default '0',
  `postcount` int(10) unsigned NOT NULL default '0',
  `topiccount` int(10) unsigned NOT NULL default '0',
  `minclasscreate` tinyint(3) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1;

Code:

CREATE TABLE `topics` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `userid` int(10) unsigned NOT NULL default '0',
  `subject` varchar(40) character set latin1 collate latin1_general_ci default NULL,
  `locked` enum('yes','no') character set latin1 collate latin1_general_ci NOT NULL default 'no',
  `forumid` int(10) unsigned NOT NULL default '0',
  `lastpost` int(10) unsigned NOT NULL default '0',
  `sticky` enum('yes','no') character set latin1 collate latin1_general_ci NOT NULL default 'no',
  `views` int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `userid` (`userid`),
  KEY `subject` (`subject`),
  KEY `lastpost` (`lastpost`),
  KEY `locked_sticky` (`locked`,`sticky`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1;
CREATE TABLE `topics` (
  `id` int(10) unsigned NOT NULL auto_increment,
  `userid` int(10) unsigned NOT NULL default '0',
  `subject` varchar(40) character set latin1 collate latin1_general_ci default NULL,
  `locked` enum('yes','no') character set latin1 collate latin1_general_ci NOT NULL default 'no',
  `forumid` int(10) unsigned NOT NULL default '0',
  `lastpost` int(10) unsigned NOT NULL default '0',
  `sticky` enum('yes','no') character set latin1 collate latin1_general_ci NOT NULL default 'no',
  `views` int(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (`id`),
  KEY `userid` (`userid`),
  KEY `subject` (`subject`),
  KEY `lastpost` (`lastpost`),
  KEY `locked_sticky` (`locked`,`sticky`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1;



All times are GMT +2. The time now is 05:27.

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