XMB Forum

来自开放百科 - 灰狐
(重定向自XMB (forum)
跳转到: 导航, 搜索

Hack XMB

在viewthread.php里加入 Google AdSense

if($thread[usesig] == "yes") {
<tr bgcolor="<?=$altbg1?>">
<td rowspan="3" valign="top" class="tablerow">
<td valign="top" class="tablerow"><?=$thread[icon]?>   <?=$poston?></td></tr> <tr bgcolor="<?=$altbg1?>"><td height="120" valign="top"><?=$thread[message]?>
 

从这里开始加载广告

迁移

XMB 1.8 -> XMB 1.9.2, 主要是让其能在 php 5上运行

or

从 PHP 4 移植到 PHP 5 http://docs.huihoo.com/php/html_zh/faq.migration5.html

Fatal error: Cannot re-assign $this in header.php on line 43

pear提供了相应的解决方案

XMB -> phpBB

XMB 1.5 -> phpBB 2.0.1

first : XMB 1.5 Gold, Silver (Final) to phpBB 2.0.1 final conversion script

http://sourceforge.net/projects/rafphpbb

put _config.php and _xmbtophpbb.php phpbb2 , config

$dbhost = "localhost";
$dbname = "forum"; // database that hold phpBB and XMB tables
$dbuser = "root";
$dbpasswd = "";
$xmb_prefix = "xmb_";
$phpbb_prefix = "phpbb_";
$xmb_path="../xmb";
$cnv_all = 1;  
 http://localhost/phpBB2/_xmbtophpbb.php

Warning: Cannot modify header information - headers already sent by (output started at /var/www/phpBB2/_xmbtophpbb.php:9) in /var/www/phpBB2/common.php on line 115

delete sapce before <?php and after ?> in _xmbtophpbb.php

http://localhost/phpBB2/

 phpBB : Critical Error
Could not get theme data for themes_id [2] 
open your db in phpmyadmin. edit phpbb_config.
find "default_style 2" change to "default_style 1" 

more detail: http://www.e-tegra.com/forum/viewtopic.php?p=23376

CREATE TABLE temp SELECT tid, subject, message FROM xmb_threads;

XMB 1.8 -> phpBB 2.0.x

怎样把密码加密存入数据库?

因为迁移来的密码还是明码,导致没法在 phpbb2 登录,所以需要将明码 md5 并存入数据库


或 XMB 1.8 -> IPB -> phpBB

http://www.ipbchina.com/index.php?showtopic=510&pid=1901&st=0&#entry1901

External links

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱