| acidtech [message #2217] |
Fri, 31 October 2008 04:34  |
|
acidtech(tracker and forum)
[Updated on: Sun, 07 June 2009 00:39]
|
|
|
|
|
|
|
| Re: acidtech [message #2869 is a reply to message #2868] |
Fri, 07 August 2009 13:43   |
|
what happens when you do what I said to do?
I added this to my site and it worked.
did you add it just as I showed the code
you should have replaced the one line with 2 new lines
EDIT
sorry gave you wrong code this is what you should have added
if(!eregi("phpBB.php",$_SERVER["PHP_SELF"]))echo "<td width=\"75%\" valign=\"top\">\n";
else
echo "<td width=\"100%\" valign=\"top\">\n";
[Updated on: Fri, 07 August 2009 13:48]
|
|
|
|
|
|
|
| Re: acidtech [message #3713 is a reply to message #2217] |
Tue, 09 March 2010 06:20   |
|
installed acidtech theme for phpbb3 and if i open the forum separately in browser is fine but if i open it in pmbt by clicking on forum button it shows like in attachement bellow ..
what might be the problem?
zAzU
|
|
|
|
| Re: acidtech [message #3715 is a reply to message #3714] |
Tue, 09 March 2010 10:43   |
|
<?php
/*
*-------------------------------phpMyBitTorrent--------------------------------*
*--- 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 -----------*
*------------------------------------------------------------------------------*
*/
if (!defined('IN_PHPBB'))
{
exit;
}
$buffer = ob_get_clean();
global $siteurl,$forumbase;
$oldurl = str_replace('/phpBB.php','',$_SERVER["PHP_SELF"]);
$buffer = preg_replace("(&(?!([a-zA-Z]{2,6}|[0-9\#]{1,6})[\;]))", "&", $buffer);
$buffer = str_replace(array("&&", "&middot", "&nbsp"), array("&&", "·", " ;"), $buffer);
$buffer = str_replace(array("&&", "&middot", "&nbsp"), array("&&", "·", " ;"), $buffer);
$rewrite_search2[] = $_SERVER['DOCUMENT_ROOT'];
$rewrite_replace2[] = "";
$rewrite_search2[] = '.php?';
$rewrite_replace2[] = ".php&";
$rewrite_search2[] = $forumbase."/";
$rewrite_replace2[] = "phpBB.php?page=";
$rewrite_search2[] = $oldurl.'/phpBB.php?page=styles/';
$rewrite_replace2[] = $siteurl."/".$forumbase."/styles/";
$rewrite_search2[] = $oldurl.'/phpBB.php?page=../phpBB.php&';
$rewrite_replace2[] = $oldurl."/phpBB.php?page=ucp.php&";
$rewrite_search2[] = 'page=ucp.php&page=mcp.php&=&';
$rewrite_replace2[] = "page=mcp.php&";
$rewrite_search2[] = 'ucp.php&page=mcp.php&&';
$rewrite_replace2[] = "mcp.php&";
$rewrite_search2[] = 'phpBB.php&page=';
$rewrite_replace2[] = "phpBB.php?page=";
$rewrite_search2[] = 'phpBB.php&page=';
$rewrite_replace2[] = "phpBB.php?page=";
$rewrite_search2[] = $oldurl.'/phpBB.php?page=style.php&sid=';
$rewrite_replace2[] = $siteurl."/".$forumbase."/style.php?sid=";
$rewrite_search2[] = $oldurl.'/phpBB.php?page=download/file.php&';
$rewrite_replace2[] = $siteurl."/".$forumbase."/download/file.php?";
$rewrite_search2[] = $oldurl.'/phpBB.php?page=images/';
$rewrite_replace2[] = $oldurl."/".$forumbase."/images/";
$rewrite_search2[] = 'user.php&';
$rewrite_replace2[] = "user.php?";
$rewrite_search2[] = "window.open(url.replace(/&/g, '&'),";
$rewrite_replace2[] = "window.open(url.replace(/&/g, '&'),";
$buffer = str_replace($rewrite_search2,$rewrite_replace2,$buffer);
//Restart Output Buffering again
ob_start("ob_gzhandler");
ob_implicit_flush(0);
echo $buffer;
?>
zAzU
|
|
|
|
|
| Re: acidtech [message #3718 is a reply to message #3717] |
Tue, 09 March 2010 10:55   |
|
also
$rewrite_search2[] = 'phpBB.php?page=images/';
$rewrite_replace2[] = "/".$forumbase."/images/";
[Updated on: Tue, 09 March 2010 10:56]
|
|
|
|
|
|
|
|
| Re: acidtech [message #3734 is a reply to message #3726] |
Wed, 10 March 2010 22:15   |
|
For every one that wants a right hand colum ... we need a hack ..
what i've found searching the forum:
create a new usercp2.php:
<?php
/*
*-------------------------------phpMyBitTorrent--------------------------------*
*--- 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 -----------*
*------------------------------------------------------------------------------*
*/
if (eregi("usercp2.php",$_SERVER["PHP_SELF"])) die("You cannot access this file directly.");
?>
upload it in blocks/
this code should be added somewhere
</td>
<td width=25 valign=top ></td>
<td width=170 valign=top >
<table border=0 width=100% cellspacing=0 cellpadding=0 align=right>
<tr>
<div align=right>
<table border=0 cellpadding=5">
<tr><td>
<p><b><? include("blocks/usercp2.php"); ?></b></td><td>
</table>
</td></form>
</tr>
<tr>
</table>
</td></tr>
</table>
</td>
</tr>
<tr>
and finally, just add your new tables in the usercp2 ...
where should the code above be added?
because in the footer.php, originaly pointed in your message dtd Sat, 18 November 2006 ... it can't be done ... and even the code may be deprecated ...
zAzU
|
|
|
|
|
|
|
| Re: acidtech [message #3743 is a reply to message #3742] |
Thu, 11 March 2010 12:12   |
|
function themefooter(){
global $startpagetime;
echo "</div></td><td>";
include("blocks/usercp2.php");
echo "</td></tr></table>";
[Updated on: Fri, 12 March 2010 01:20]
|
|
|
|
|
|
| Re: acidtech [message #3749 is a reply to message #3748] |
Fri, 12 March 2010 01:21  |
|
use
if(!eregi("phpBB.php",$_SERVER["PHP_SELF"])){
function themefooter(){
global $startpagetime;
echo "</div></td><td>";
include("blocks/usercp2.php");
echo "</td></tr></table>";
}
to hide it when in forum
|
|
|