Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent) > Mods & Themes
Reply
  #11  
Old 8th February 2010, 07:42
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
OK I well work on that!

...forgot to add bookmarks table
Code:
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 DEFAULT CHARSET=latin1;
forgot to post moresmiles.php
Code:
<?php
/*
*----------------------------phpMyBitTorrent V 2.0-beta4-----------------------*
*--- 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 --*
*--                                                                          --*
*------------------------------------------------------------------------------*
*------              ©2005 phpMyBitTorrent Development Team              ------*
*-----------               http://phpmybittorrent.com               -----------*
*------------------------------------------------------------------------------*
*-----------------   Sunday, September 14, 2008 9:05 PM   ---------------------*
*/

require_once("include/config.php");
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>'.$sitename.'</title>
</head>
<body>';
?>
<style type="text/css">
.alt1, .alt1Active
{
    background: #e6eaed;
    color: #000000;
    border:1px solid #bfc3c6;
    border-top:1px solid white;
    border-left:1px solid white;
}
.alt2, .alt2Active
{
    background: #d9e1e8;
    color: #000000;
    border:1px solid #bfc3c6;
    border-top:1px solid white;
}
.tcat_alt_collapse a:hover {
color:#fff;
text-decoration:underline;
}
.smallfont
{
    font: 11px verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
}
.tcat .shade, .thead .shade, .tfoot .shade { color: #DDDDDD; }
td.thead, th.thead, div.thead { padding: 2px; }
.thead a:hover, .thead a:active, .thead_ahover
{
    color: #000;
}
</style>
<script language=javascript>

function comment_smile(smile,form,text){
window.opener.document.forms[form].elements[text].value = window.opener.document.forms[form].elements[text].value+" "+smile+" ";
window.opener.document.forms[form].elements[text].focus();
}
</script>
<?

        if (!$user->user) loginrequired("user",true);
                $sql = "SELECT * FROM ".$db_prefix."_smiles GROUP BY file ORDER BY id ASC;";
        $smile_res = $db->sql_query($sql);
        echo"<table align='center' width='80%' bgcolor='#cecece' cellspacing='0' cellpadding='6' style='border: 1px solid black'>\n";
        echo"<tr>\n";
        echo"<td class=\"tcat\" colspan=\"4\">\n";
        echo"Smilie List\n";
        echo"<div class=\"smallfont\">Click a smilie to insert it into your message.</div>\n";
        echo"</td>\n";
        echo"</tr>\n";
        echo"<tr>\n";
        echo"<td class=\"thead\" align=\"center\" colspan=\"4\"><div class=\"smallfont\"><strong>Generic Smilies</strong></div></td>\n";
        echo"</tr>\n";
        
        if ($db->sql_numrows($smile_res) > 0) {
        $i=1;
                $smile_rows = $db->sql_fetchrowset($smile_res);
                foreach ($smile_rows as $smile) {
                if($i==1)echo "<tr>\n";
                echo"<td class=\"alt{$i}\">\n";
                echo $smile["code"];
                echo"</td><td class=\"alt{$i}\">";
                echo "<p>";
                        echo " <img src=\"smiles/".$smile["file"]."\" onclick=\"comment_smile('".$smile["code"]."','".$form."','".$text."');\" border=\"0\" alt=\"".$smile["alt"]."\">\n";
                echo "</p>";
                echo"</td>";
                if($i==2)echo "</tr>";
                if($i==2)$i=0;
                $i++;
                }
        }
        echo"</table>";
        $db->sql_freeresult($smile_res);

        ob_end_flush();
$db->sql_close();
echo '</body>
</html>';
?>
__________________
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/

Last edited by joeroberts; 8th February 2010 at 07:58.
Reply With Quote
  #12  
Old 8th February 2010, 08:31
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
forum moderators shoud be dropdown with user nick names "moderato and higher"

only one mod for forum i think is enough but that's just my opinion

double posting shoudn't be posible, before post shoud check if user is last one who posted

if is return to "don't double post please use "edit" " and link to edit part of users latest post ore some thing like that
Reply With Quote
  #13  
Old 14th February 2010, 16:09
cop1976's Avatar
cop1976 cop1976 is offline
Senior Member
 
Join Date: May 2009
United Kingdom
Posts: 30
Default
I have a couple questions:

1 Will I be able to move posts from the old to the new forum?
2 Is the function "Last 5 posts on the Forum" will work?
3 That all users will automatically have an account on the new forum?

If all answers are positive, then I move willingly to the new forum.

If not, i stay with phpbb, but certainly many people will use this code.
As usual, good job.
__________________
http://bvlist.com/images/avatars/signaturepics/sigpic5839_1.gif
Reply With Quote
  #14  
Old 14th February 2010, 16:13
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
#1 not yet
#2 not yet
#3 yes because it is a phpMyBitTorrent forum which dont have a sign up to it
because to sign up you have to sign up to tracker

besides it is only in Beta testing now
__________________
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
  #15  
Old 14th February 2010, 16:50
cop1976's Avatar
cop1976 cop1976 is offline
Senior Member
 
Join Date: May 2009
United Kingdom
Posts: 30
Default
I'm stupid

Ok i will wait then .
__________________
http://bvlist.com/images/avatars/signaturepics/sigpic5839_1.gif
Reply With Quote
  #16  
Old 14th March 2010, 18:56
daffy's Avatar
daffy daffy is offline
Senior Member
 
Join Date: Mar 2009
United Kingdom
Posts: 550
Default
any further updates on forums yet.
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?"
"I Kill You!" simples


http://i.imgur.com/DtcRfH5.gif

I also Setup And Modify Trackers PM For Details
Reply With Quote
  #17  
Old 14th March 2010, 18:59
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
working on Up dates now!
__________________
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:
daffy (14th March 2010)
  #18  
Old 14th March 2010, 22:54
daffy's Avatar
daffy daffy is offline
Senior Member
 
Join Date: Mar 2009
United Kingdom
Posts: 550
Default
cool thanks. also, how can we show last 5 posts from forums to index page.
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?"
"I Kill You!" simples


http://i.imgur.com/DtcRfH5.gif

I also Setup And Modify Trackers PM For Details
Reply With Quote
  #19  
Old 15th March 2010, 12:32
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
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("&lt;","&gt;","&quot;"), str_replace("&""&amp;"$s));
  if (
$linebreaks)
    
$s nl2br($s);
  return 
$s;
}

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

__________________
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
  #20  
Old 16th March 2010, 19:39
daffy's Avatar
daffy daffy is offline
Senior Member
 
Join Date: Mar 2009
United Kingdom
Posts: 550
Default
Quote:
Originally Posted by joeroberts View Post
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("&lt;","&gt;","&quot;"), str_replace("&""&amp;"$s));
  if (
$linebreaks)
    
$s nl2br($s);
  return 
$s;
}

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

PHP Code:

Warning
:  include_once(include/forum_config.php) [function.include-once]: failed to open streamNo such file or directory in /home/daffy/public_html/index2.php on line 69

Warning
:  include_once() [function.include]: Failed opening 'include/forum_config.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php'in /home/daffy/public_html/index2.php on line 69

Warning
:  include_once(language/forum/english.php) [function.include-once]: failed to open streamNo such file or directory in /home/daffy/public_html/index2.php on line 74

Warning
:  include_once() [function.include]: Failed opening 'language/forum/english.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php'in /home/daffy/public_html/index2.php on line 74 
shouldnt forum_config be forum_settings as there is no config in include. also language/forum/english dosnt exists
</b>
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?"
"I Kill You!" simples


http://i.imgur.com/DtcRfH5.gif

I also Setup And Modify Trackers PM For Details
Reply With Quote
Reply

Tags
forum , testers

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
Should we get a new name for the forum ? Fynnon Annoucements 23 30th October 2010 22:05
Looking for BETA testers Phogo Community Cafe 5 17th June 2010 06:11
Looking for BETA testers! Phogo Community Cafe 3 15th November 2009 03:33
forum best32 Yuna Scatari Edition (YSE) 8 10th August 2009 23:33



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