欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
XMB Forum
来自开放百科 - 灰狐
(版本间的差异)
第7行: | 第7行: | ||
<td valign="top" class="tablerow"><?=$thread[icon]?> <?=$poston?></td></tr> | <td valign="top" class="tablerow"><?=$thread[icon]?> <?=$poston?></td></tr> | ||
<tr bgcolor="<?=$altbg1?>"><td height="120" valign="top"><?=$thread[message]?><br /> | <tr bgcolor="<?=$altbg1?>"><td height="120" valign="top"><?=$thread[message]?><br /> | ||
− | + | 从这里开始加载广告 | |
− | + | ||
==迁移== | ==迁移== | ||
第18行: | 第17行: | ||
Fatal error: Cannot re-assign $this in header.php on line 43 | Fatal error: Cannot re-assign $this in header.php on line 43 | ||
− | + | ||
+ | pear提供了相应的解决方案 | ||
XMB -> phpBB | XMB -> phpBB | ||
第64行: | 第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月15日 (日) 01:31的版本
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
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
- XMB Forums Support Forums The official XMB forums
- XMBMods A site for XMB modifications
- 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
分享您的观点