Home » Support Forums for PMBT 2.X » Development of 2.X » New PMBT forum testers needed  () 1 Vote
New PMBT forum testers needed [message #3614] Mon, 08 February 2010 05:17 Go to next message
joeroberts is currently online joeroberts  United States
Messages: 1581
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer
Update to this is on last post this is now Beta 2

[Updated on: Thu, 25 March 2010 03:25]


http://p2p-evolution.com/torrentbar/torrentbar.php?id=1&style=default_cyan
Re: New PMBT forum testers needed [message #3622 is a reply to message #3614] Mon, 08 February 2010 22:36 Go to previous messageGo to next message
Daffy  is currently offline Daffy  United Kingdom
Messages: 183
Registered: October 2009
Location: uk
Super-Seeder

Shocked Very Happy will test shortly.


#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1


alter table for users. both queries.
should be

ALTER TABLE`torrent_users` ADD `signature` varchar(200) NOT NULL default '';



  ALTER TABLE`torrent_users` ADD `forumbanned` enum('yes','no') character set utf8 collate utf8_bin NOT NULL default 'no';


ok all done but im getting below message

You can't access this file directly

[Updated on: Mon, 08 February 2010 23:34]


http://i182.photobucket.com/albums/x93/deanobaby_bucket/daffy.png
http://i48.tinypic.com/e8mr6c.png
Re: New PMBT forum testers needed [message #3623 is a reply to message #3622] Mon, 08 February 2010 23:48 Go to previous messageGo to next message
joeroberts is currently online joeroberts  United States
Messages: 1581
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer
use this and read install

[Updated on: Thu, 25 March 2010 03:26]


http://p2p-evolution.com/torrentbar/torrentbar.php?id=1&style=default_cyan
Re: New PMBT forum testers needed [message #3624 is a reply to message #3623] Tue, 09 February 2010 14:15 Go to previous messageGo to next message
Daffy  is currently offline Daffy  United Kingdom
Messages: 183
Registered: October 2009
Location: uk
Super-Seeder

f**k my bad, i created level and not access sorry.

works ok upto now. will report any bugs as i go along if i find. thanks for this joe. its just what pmbt needed imo.

[Updated on: Tue, 09 February 2010 15:12]


http://i182.photobucket.com/albums/x93/deanobaby_bucket/daffy.png
http://i48.tinypic.com/e8mr6c.png
Re: New PMBT forum testers needed [message #3753 is a reply to message #3624] Sun, 14 March 2010 12:46 Go to previous messageGo to next message
Daffy  is currently offline Daffy  France
Messages: 183
Registered: October 2009
Location: uk
Super-Seeder

any further updates on forums yet.


http://i182.photobucket.com/albums/x93/deanobaby_bucket/daffy.png
http://i48.tinypic.com/e8mr6c.png
Re: New PMBT forum testers needed [message #3754 is a reply to message #3753] Sun, 14 March 2010 16:59 Go to previous messageGo to next message
joeroberts is currently online joeroberts  United States
Messages: 1581
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer
working on Up dates now!


http://p2p-evolution.com/torrentbar/torrentbar.php?id=1&style=default_cyan
Re: New PMBT forum testers needed [message #3765 is a reply to message #3614] Fri, 19 March 2010 07:58 Go to previous messageGo to next message
Voreios  is currently offline Voreios  Finland
Messages: 75
Registered: October 2009
Seeder
We miss report.php
Re: New PMBT forum testers needed [message #3766 is a reply to message #3614] Fri, 19 March 2010 08:10 Go to previous messageGo to next message
Vrasidas  is currently offline Vrasidas  Greece
Messages: 17
Registered: October 2009
Leecher
there are some erros in forums.php, there should be:
line 194:
$db->sql_query("INSERT INTO ".$db_prefix."_forum_topics (userid, subject, forumid) VALUES ('".$userid."', '".$subject."', '".$forumid."')") or forumsqlerr(__FILE__, __LINE__);


line 708:
$db->sql_query("UPDATE ".$db_prefix."_forum_posts SET body='".$body."', editedat=NOW(), editedby=".$user->id." WHERE id='".$postid."'") or forumsqlerr(__FILE__, __LINE__);
Re: New PMBT forum testers needed [message #3768 is a reply to message #3765] Fri, 19 March 2010 11:41 Go to previous messageGo to next message
joeroberts is currently online joeroberts  United States
Messages: 1581
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer
Quote:
We miss report.php
I seem to have lost it when I moved My site so I need to rewrite it!
Quote:
there are some erros in forums.php, there should be:

Thanks fixes aplyed well be posting updates this weekend!

[Updated on: Fri, 19 March 2010 11:43]


http://p2p-evolution.com/torrentbar/torrentbar.php?id=1&style=default_cyan
Re: New PMBT forum testers needed [message #3778 is a reply to message #3768] Thu, 25 March 2010 03:23 Go to previous messageGo to next message
joeroberts is currently online joeroberts  United States
Messages: 1581
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer
Ok looks like its time for some updates to this
For those I have personaly helped no update is needed anyone else you well want to check these.


http://p2p-evolution.com/torrentbar/torrentbar.php?id=1&style=default_cyan
Re: New PMBT forum testers needed [message #4116 is a reply to message #3778] Tue, 11 May 2010 09:15 Go to previous messageGo to next message
Fantazy  is currently offline Fantazy  Sweden
Messages: 69
Registered: April 2010
Seeder
i still got this error when trying to upload sql, even after i altered the signature and forumbanned

ALTER TABLE `torrent_users` ADD `signature` varchar( 200 ) NOT NULL default '',
ALTER TABLE `torrent_users` ADD `forumbanned` enum( 'yes', 'no' ) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL default 'no',


#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TABLE`torrent_users` ADD `forumbanned` enum('yes','no') character set utf8 colla' at line 2


http://img26.imageshack.us/img26/443/42918339485.jpg
Re: New PMBT forum testers needed [message #4117 is a reply to message #4116] Tue, 11 May 2010 12:19 Go to previous messageGo to next message
joeroberts is currently online joeroberts  United States
Messages: 1581
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer
run them one at a time
ALTER TABLE `torrent_users` ADD `signature` varchar( 200 ) NOT NULL default ''


ALTER TABLE `torrent_users` ADD `forumbanned` enum( 'yes', 'no' ) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL default 'no'

not both at the same time


http://p2p-evolution.com/torrentbar/torrentbar.php?id=1&style=default_cyan
Re: New PMBT forum testers needed [message #4119 is a reply to message #4117] Tue, 11 May 2010 13:43 Go to previous messageGo to next message
Fantazy  is currently offline Fantazy  Sweden
Messages: 69
Registered: April 2010
Seeder
still doesn't work, same error when trying to upload sql


http://img26.imageshack.us/img26/443/42918339485.jpg
Re: New PMBT forum testers needed [message #4120 is a reply to message #4119] Tue, 11 May 2010 13:49 Go to previous messageGo to next message
joeroberts is currently online joeroberts  United States
Messages: 1581
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer
is your tracker prefix torrent_ ?
are you using the beta 2 version?
Try this one
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');
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;
ALTER TABLE`torrent_users` ADD `signature` varchar(200) NOT NULL default '';
ALTER TABLE`torrent_users` ADD `forumbanned` enum('yes','no') character set utf8 collate utf8_bin NOT NULL default 'no';

[Updated on: Tue, 11 May 2010 13:55]


http://p2p-evolution.com/torrentbar/torrentbar.php?id=1&style=default_cyan
Re: New PMBT forum testers needed [message #4271 is a reply to message #3614] Thu, 10 June 2010 16:36 Go to previous messageGo to next message
firefly0777  is currently offline firefly0777  South Africa
Messages: 10
Registered: June 2010
Location: south africa
Leecher
Hi

Im having problems with the forum I want to post A whole tutorial and its for then 150 letters. So I when to forum admin and change it to 500 letters. Once I click submit I get this error.

Quote:
Fatal error: Unable to remove files within cache/. Please check directory permissions. in /home/goweryhd/public_html/include/class.cache.php on line 52


I have made it writable
Re: New PMBT forum testers needed [message #4272 is a reply to message #4271] Thu, 10 June 2010 16:39 Go to previous messageGo to next message
joeroberts is currently online joeroberts  United States
Messages: 1581
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer
try replacing your include/class.cache.php with this one.


http://p2p-evolution.com/torrentbar/torrentbar.php?id=1&style=default_cyan
Re: New PMBT forum testers needed [message #4273 is a reply to message #4272] Thu, 10 June 2010 17:20 Go to previous messageGo to next message
firefly0777  is currently offline firefly0777  South Africa
Messages: 10
Registered: June 2010
Location: south africa
Leecher
ok joe it works but when i click on the new thread thats desplayed in the shoutbox it does not take me to the forum.
Re: New PMBT forum testers needed [message #4378 is a reply to message #3614] Mon, 05 July 2010 14:42 Go to previous messageGo to next message
Daffy  is currently offline Daffy  France
Messages: 183
Registered: October 2009
Location: uk
Super-Seeder

everything seems good on forums alround. the only part i find not correct. when i hit view unread torrents, its finds no new posts. at the minute i have 1 unread post which i have not yet read to test with. apart from that, EVERYTHING in forums works perect.


http://i182.photobucket.com/albums/x93/deanobaby_bucket/daffy.png
http://i48.tinypic.com/e8mr6c.png
Re: New PMBT forum testers needed [message #4379 is a reply to message #4378] Mon, 05 July 2010 15:09 Go to previous messageGo to next message
joeroberts is currently online joeroberts  United States
Messages: 1581
Registered: June 2006
Location: U.S.A
Releaser
Da HacKer
in forums.php find
if ($action == "viewunread") {
	$userid = $user->id;
	$maxresults = 25;
	$res = $db->sql_query("SELECT id, forumid, subject, lastpost FROM ".$db_prefix."_forum_topics ORDER BY lastpost") or forumsqlerr(__FILE__, __LINE__);
    stdhead();
	forum_table("Topics with unread posts");
	forumheader("New Topics");

    $n = 0;
    $uc = $user->group;
    while ($arr = $db->sql_fetchrow($res)) {
      $topicid = $arr['id'];
      $forumid = $arr['forumid'];

      //---- Check if post is read
      $r = $db->sql_query("SELECT lastpostread FROM ".$db_prefix."_forum_readposts WHERE userid=$userid AND topicid=$topicid") or forumsqlerr(__FILE__, __LINE__);
      $a = $db->sql_fetchrow($r);
      if ($a && $a[0] == $arr['lastpost'])
        continue;

      //---- Check access & get forum name
      $r = $db->sql_query("SELECT name, minclassread FROM ".$db_prefix."_forum_forums WHERE id=$forumid") or forumsqlerr(__FILE__, __LINE__);
      $a = $db->sql_fetchrow($r);
      if ($a['minclassread'] == "0" OR in_array($uc,explode("  ", $a['minclassread'])))
        continue;
      ++$n;
      if ($n > $maxresults)
        break;
      $forumname = $a['name'];
      if ($n == 1) {
        print("<center><table border=1 cellspacing=0 cellpadding=5 width=95%>\n");
        print("<tr><td class=alt3 align=left>Topic</td><td class=alt3 align=left>Forum</td></tr>\n");
      }
      print("<tr><td align=left><table border=0 cellspacing=0 cellpadding=0><tr><td class=embedded>" .
       "<img src=". $siteurl ."/images/unlockednew.gif style='margin-right: 5px'></td><td class=embedded>" .
       "<a href=forums.php?action=viewtopic&topicid=$topicid&page=last#last><b>" . stripslashes(htmlspecialchars($arr["subject"])) ."</b></a></td></tr></table></td><td align=left><a href=forums.php?action=viewforum&amp;forumid=$forumid><b>$forumname</b></a></td></tr>\n");
    }
    if ($n > 0) {
      print("</table>\n");
      if ($n > $maxresults)
        print("<p>More than $maxresults items found, displaying first $maxresults.</p>\n");
      print("<p><a href=forums.php?catchup><b>Mark All Forums Read.</b></a></center><br></p>\n");
    }
    else
      print("<b>Nothing found</b>");
	 forum_table_close();
    stdfoot();
	
	include'footer.php';
	die;
}

and replace with
if ($action == "viewunread") {
	$userid = $user->id;
	$maxresults = 25;
	$res = $db->sql_query("SELECT id, forumid, subject, lastpost FROM ".$db_prefix."_forum_topics ORDER BY lastpost") or forumsqlerr(__FILE__, __LINE__);
    stdhead();
	forum_table("Topics with unread posts");
	forumheader("New Topics");

    $n = 0;
    $uc = $user->group;
    while ($arr = $db->sql_fetchrow($res)) {
      $topicid = $arr['id'];
      $forumid = $arr['forumid'];

      //---- Check if post is read
      $r = $db->sql_query("SELECT lastpostread FROM ".$db_prefix."_forum_readposts WHERE userid=$userid AND topicid=$topicid") or forumsqlerr(__FILE__, __LINE__);
      $a = $db->sql_fetchrow($r);
      if ($a && $a[0] == $arr['lastpost'])
        continue;

      //---- Check access & get forum name
      $r = $db->sql_query("SELECT name, minclassread FROM ".$db_prefix."_forum_forums WHERE id=$forumid") or forumsqlerr(__FILE__, __LINE__);
      $a = $db->sql_fetchrow($r);
      if ($a['minclassread'] == "0" OR !in_array($uc,explode("  ", $a['minclassread'])))
        continue;
      ++$n;
      if ($n > $maxresults)
        break;
      $forumname = $a['name'];
      if ($n == 1) {
        print("<center><table border=1 cellspacing=0 cellpadding=5 width=95%>\n");
        print("<tr><td class=alt3 align=left>Topic</td><td class=alt3 align=left>Forum</td></tr>\n");
      }
      print("<tr><td align=left><table border=0 cellspacing=0 cellpadding=0><tr><td class=embedded>" .
       "<img src=\"". $themedir . $topic_unread . "\" style='margin-right: 5px'></td><td class=embedded>" .
       "<a href=forums.php?action=viewtopic&topicid=$topicid&page=last#last><b>" . stripslashes(htmlspecialchars($arr["subject"])) ."</b></a></td></tr></table></td><td align=left><a href=forums.php?action=viewforum&amp;forumid=$forumid><b>$forumname</b></a></td></tr>\n");
    }
    if ($n > 0) {
      print("</table>\n");
      if ($n > $maxresults)
        print("<p>More than $maxresults items found, displaying first $maxresults.</p>\n");
      print("<p><a href=forums.php?catchup><b>Mark All Forums Read.</b></a></center><br></p>\n");
    }
    else
      print("<b>Nothing found</b>");
	 forum_table_close();
    stdfoot();
	
	include'footer.php';
	die;
}


http://p2p-evolution.com/torrentbar/torrentbar.php?id=1&style=default_cyan
Re: New PMBT forum testers needed [message #4380 is a reply to message #4379] Mon, 05 July 2010 15:25 Go to previous message
Daffy  is currently offline Daffy  France
Messages: 183
Registered: October 2009
Location: uk
Super-Seeder

great, thanks bud. 100% complete working i do believe now.


http://i182.photobucket.com/albums/x93/deanobaby_bucket/daffy.png
http://i48.tinypic.com/e8mr6c.png
Previous Topic: Phpmybitorrent forums
Next Topic:phpMyBitTorrent 2.0
Goto Forum:
  


Current Time: Fri Jul 30 04:23:49 BST 2010

Total time taken to generate the page: 0.01206 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.0.
Copyright ©2001-2009 FUDforum Bulletin Board Software