fixes to PhpBB contribution
#21
Posted 21 December 2003 - 04:12 AM
i know the phpbb side fairly well. to change the graphics pointers, it is in the tpl files, can change that there, and in the stylesheet you can change the colors of phpbb
#22
Posted 21 December 2003 - 04:14 AM
Goanna, on Dec 20 2003, 05:57 PM, said:
#23
Posted 21 December 2003 - 04:17 AM
Mibble, on Dec 20 2003, 08:12 PM, said:
i know the phpbb side fairly well. to change the graphics pointers, it is in the tpl files, can change that there, and in the stylesheet you can change the colors of phpbb
#24
Posted 21 December 2003 - 04:21 AM
#25
Posted 21 December 2003 - 04:24 AM
#26
Posted 21 December 2003 - 07:10 AM
#27
Posted 21 December 2003 - 04:20 PM
Goanna, on Dec 20 2003, 11:10 PM, said:
See here
#28
Posted 22 December 2003 - 07:41 PM
Is there a translations of the text on that page?
#29
Posted 22 December 2003 - 08:06 PM
#30
Posted 22 December 2003 - 08:22 PM
#31
Posted 22 December 2003 - 09:03 PM
Beardeddone, I ofcourse clicked on that button (I actually rephrased the text to Submit).
Where should the database be?
In the makers installation file stood something about changing the path of the database.
I didn't find out what and where he needs me to do that?
#32
Posted 22 December 2003 - 09:12 PM
Also, where is the file bb_index.php located? It didnt get uploaded to my site and I dont see it in the original folders from the contrib either.
Edited by Goanna, 22 December 2003 - 09:13 PM.
#33
Posted 22 December 2003 - 11:49 PM
cDGo IT Consultancy, on Dec 22 2003, 03:41 PM, said:
Is there a translations of the text on that page?
<?php
// ------------------------------------------------------------------------- //
// 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 //
// author: Oldpa //
// web site: http://oldpa.adsldns.org http://www.oldpa.com.tw //
// ------------------------------------------------------------------------- //
function install_header(){
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>OSC User Converter to PHPBB</title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo _CHARSET;?>">
<meta name="AUTHOR" content="osCommerce">
<meta name="GENERATOR" content="oldpa-- http://www.oldpa.com.tw/">
</head>
<body>
<div style='text-align:center'><img src='http://www.oldpa.com.tw/images/s_poweredby.gif' /><h3>CONVERT LINE 1</h3><br />
<?php
}
function install_footer(){
?>
<br /><br /><a href='http://www.oldpa.com.tw/' target='_blank'><img src='images/logo1.gif' alt='www.oldpa.com.tw' border='0' /></a></div>
</body>
</html>
<?php
}
if ( !isset($action) || $action == "" ) {
$action = "message";
}
if ( $action == "message" ) {
install_header();
echo "
<table width='90%' border='0'><tr><td colspan='2'>CONVERT LINE 2</td></tr><br>
<tr><td>-</td><td>XXXXX | YYYYY | ZZZZZ</b></td></tr>
<tr><td>-</td><td>CONVERT LINE 4</b></td></tr>
<tr><td>-</td><td><span style='color:#ff0000;font-weight:bold;'>CONVERT LINE 5</span></td></tr>
</table>
";
echo "<p>CONVERT LINE 6</p>";
echo "<form action='".$PHP_SELF."' method='post'><input type='submit' value='submit' /><input type='hidden' value='upgrade' name='action' /></form>";
install_footer();
exit();
}
if ( $action == "upgrade" ) {
require('includes/application_top.php');
install_header();
echo "<h4>CONVERT LINE 7</h4>\n";
$error = array();
tep_db_query("insert into " . TABLE_PHPBB_USERS . " (user_id , user_active, username, user_password ,user_session_time , user_session_page ,
user_lastvisit , user_regdate , user_level , user_posts , user_timezone , user_style ,
user_lang , user_dateformat , user_new_privmsg , user_unread_privmsg , user_last_privmsg ,
user_emailtime , user_viewemail , user_attachsig , user_allowhtml , user_allowbbcode ,
user_allowsmile ,user_allowavatar ,user_allow_pm , user_allow_viewonline ,user_notify ,
user_notify_pm ,user_popup_pm , user_rank , user_avatar ,user_avatar_type ,user_email ,
user_icq ,user_website ,user_from ,user_sig , user_sig_bbcode_uid , user_aim , user_yim ,
user_msnm ,user_occ , user_interests , user_actkey , user_newpasswd)
SELECT customers_id , '1', concat(customers_firstname, ' ' , customers_lastname) , customers_password , '', '',
'time()', 'time()', '0','0','8.00','1',
'english','D M d, Y g:i a', '0','0','0',
'0','1','1','0','1',
'1','1','1','1','0',
'1','1','0','','0',customers_email_address,
'','','','','','','','','','','',''
FROM ".TABLE_CUSTOMERS." WHERE customers_id");
tep_db_query("insert into " . TABLE_PHPBB_GROUPS . " (group_id , group_type, group_name , group_description ,group_moderator , group_single_user)
SELECT customers_id+1,'1','','Personal User','0','1' FROM ".TABLE_CUSTOMERS." WHERE customers_id <> 1");
tep_db_query("insert into " . TABLE_PHPBB_USER_GROUPS . " (group_id , user_id , user_pending)
SELECT g.group_id ,u.user_id ,g.group_moderator FROM ".TABLE_PHPBB_GROUPS." AS g , ".TABLE_PHPBB_USERS ." AS u WHERE g.group_id = u.user_id+1");
}
echo "<div style='text-align:center;'><h4>CONVERT LINE 8</h4>\n";
echo "<table width='70%' border='0'><tr><td>";
echo "</td></tr></table><br /><br /><a href='".HTTP_SERVER."/'>HOME</a>";
install_footer();
?>
#34
Posted 23 December 2003 - 12:02 AM
Goanna, on Dec 22 2003, 05:12 PM, said:
Also, where is the file bb_index.php located? It didnt get uploaded to my site and I dont see it in the original folders from the contrib either.
you need to go to the following places and look for a complete set of files for this mod
http://oscphpbb2.ecart.com.tw/viewtopic.php?t=36
and after that you will still have many correction to make to get it to work for you.
But after you get everything working it's a nice mod.
#35
Posted 23 December 2003 - 12:35 AM
Goanna, on Dec 22 2003, 12:22 PM, said:
#36
Posted 23 December 2003 - 01:58 AM
#37
Posted 23 December 2003 - 02:34 AM
Goanna, on Dec 22 2003, 05:58 PM, said:
#38
Posted 23 December 2003 - 03:39 AM
#39
Posted 23 December 2003 - 01:02 PM
Even using first and last name as username.
But now when I want to make a posting, nothing happens.
I remain on the index page.
#40
Posted 21 January 2004 - 09:00 PM
Edited by markdc, 21 January 2004 - 09:01 PM.









