XMB Forum

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
 
(未显示1个用户的12个中间版本)
第7行: 第7行:
 
  <td valign="top" class="tablerow"><?=$thread[icon]?> &nbsp; <?=$poston?></td></tr>
 
  <td valign="top" class="tablerow"><?=$thread[icon]?> &nbsp; <?=$poston?></td></tr>
 
  <tr bgcolor="<?=$altbg1?>"><td height="120" valign="top"><?=$thread[message]?><br />&nbsp;
 
  <tr bgcolor="<?=$altbg1?>"><td height="120" valign="top"><?=$thread[message]?><br />&nbsp;
 
+
从这里开始加载广告
  从这里开始加载广告
+
  
 
==迁移==
 
==迁移==
XMB 1.8 -> XMB 1.9.2
+
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
 +
<nowiki> 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</nowiki>
 +
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==
 
==External links==
第19行: 第64行:
 
* [http://forum.bigbudden.com BigBudDen Forum] A gamer/tech community built on the XMB forum.  Features many XMB hacks and has an extensive XMB database.
 
* [http://forum.bigbudden.com BigBudDen Forum] A gamer/tech community built on the XMB forum.  Features many XMB hacks and has an extensive XMB database.
 
* 中文版制作: http://www.8nm.net
 
* 中文版制作: http://www.8nm.net
 +
 +
[[Category:Forum]]
 +
[[Category:PHP]]

2010年8月21日 (六) 02:08的最后版本

[编辑] 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

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

变换
操作
导航
工具箱