fixes to PhpBB contribution
#1
Posted 23 October 2003 - 11:46 PM
To get this working properly for MS2, I followed the install_for_ms2.txt install instructions then did the following:
(note in the instructions the filesnames mentioned 'account_edit_process.php' should be read as 'account_edit.php; and 'create_acount_process.php' read as 'create_acount.php'
_______
in catalog/includes/filenames.php:
ADD
define('FILENAME_KNOW, 'bb_index.php');
________
in create_account.php
this line:
tep_db_perform(TABLE_ADDRESS_BOOK, $sql_data_array);
should actually be just below the new insert that was made, not just above it as it specifies. (hence, the new inserted paragraph is one line too low)
also WITHIN the newly inserted paragraph, the two instances of:
$sql_data_array
should be changed to
$sql_data_array2
Also, within this newly inserted paragraph, this line:
'user_viewemail' => 1,
should be replaced with :
'user_viewemail' => 0,
___________
Also, in stage 8 of Liang's instructions, this paragrah meant to be inserted into catalog/languages/english.php:
define('BOX_BBINDEX', 'Forum');
define('NAVBAR_TITLE', 'Forum');
define('HEADING_TITLE', 'Forum');
should be replaced by just
define('BOX_BBINDEX', 'Forum');
and this paragraph,
define('BOX_BBINDEX', 'Forum');
define('NAVBAR_TITLE', 'Forum');
define('HEADING_TITLE', 'Forum');
should go into:
catalog/languages/english/bb_index.php
________
Other than that seem like a good contribution that has login and account creation integrated into the main application. However, it needs the faciltiy for users to change their forum username as currently each forum user is given their surname as their forum username and that cannot be changed by the user or the forum admin.
BTW to get to the forum admin pages goto:
catalog/admin/bb_default.php
so this page should be password protected on the server.
The contribution in action can be seen here:
GrooveTip however some mods were added to it from http://www.phpbbhacks.com, some of which themselves had to be adapted to suit this contribution
#2
Posted 18 November 2003 - 04:27 PM
You can use the login name mod to phpbb found here: http://www.phpbbhacks.com/viewhack.php?id=1455
I just got it to work, and it allows you to have a login name (which is the surname) but it also lets you have a username, which is the name that shows up in the forums. You have to integrate it into the account edit, and create account files in OSC but it's not difficult at all. In the end, it makes this Forum contribution complete and just what OSC needs.
#3
Posted 20 November 2003 - 05:31 AM
Quote
ADD
define('FILENAME_KNOW, 'bb_index.php');
Should be:
in catalog/includes/filenames.php:
ADD
define('FILENAME_KNOW', 'bb_index.php');
Also, make sure that you turn off the "Use Search-Engine Safe URLs" under Admin -> Configuration -> My Store. That stops the links being messed up for code that looks like:
op=modload&name=phpbb2&file=index.php
#4
Posted 27 November 2003 - 04:51 PM
Warning: Cannot use a scalar value as an array in /home/cherrypi/www/ShoP/catalog/catalog/includes/sts_user_code.php on line 23
Please people help me im on this for hours now & im about to commit suicide !
BEsts,
#5
Posted 27 November 2003 - 05:39 PM
#6
Posted 06 December 2003 - 04:02 PM
I just get a blank page and when I go to http://www.microheli.com/mhshop/admin/bb_default.php
I get a Internal Server error it seems like they can't finf the correct files.
I have checked and re-checked the install and also made the changes in this post but still is not working correctly. the other thing I would like to be clear on is this have to be installed on both the unsecure and secure servers or just the unsecure server?
I hope someone can help because this looks like a great mod!!!!!!!!
#7
Posted 06 December 2003 - 04:42 PM
GIZMO-XL, on Dec 6 2003, 08:02 AM, said:
I just get a blank page and when I go to http://www.microheli.com/mhshop/admin/bb_default.php
I get a Internal Server error it seems like they can't finf the correct files.
I have checked and re-checked the install and also made the changes in this post but still is not working correctly. the other thing I would like to be clear on is this have to be installed on both the unsecure and secure servers or just the unsecure server?
I hope someone can help because this looks like a great mod!!!!!!!!
define('STORE_SESSIONS', 'mysql');
needs to be set in the includes/configure.php and admin/includes/configure.php, I had the toughest time getting this one to work without errors.
#8
Posted 06 December 2003 - 08:01 PM
well I was able to make the server error go away so now i have two white pages.
For some reason I think this is a path problem I just need to be pointed in the right direction.
What I wish I had was a PHP debugger so I could see what was going on in the code.
I just got to the point I could follow the code in OSC and now I am looking at a completely different style of coding.
Anyways thanks for the help beardeddone
If anyone else has a clue please chime in!!!!!!!
#9
Posted 06 December 2003 - 09:26 PM
I also got this when I ran the upmysql.php:
1062 - Duplicate entry '2' for key 1 insert into 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 customers WHERE customers_id [TEP STOP]although it appears most if not all users were copied into the phpbb area
#10
Posted 06 December 2003 - 09:35 PM
Cant create an account on his test sites, and on his main site it says it created it, but then im redirected back to the login screen and I cant login with the account I just created.
#11
Posted 06 December 2003 - 09:59 PM
sabotage, on Dec 6 2003, 01:35 PM, said:
Cant create an account on his test sites, and on his main site it says it created it, but then im redirected back to the login screen and I cant login with the account I just created.
#12
Posted 06 December 2003 - 10:50 PM
Thanks in advance.
#13
Posted 07 December 2003 - 02:29 AM
GIZMO-XL, on Dec 6 2003, 02:50 PM, said:
Thanks in advance.
Ok I have pretty much redone the installation of this interface, assumming that all your files are copied to there prespective subdirectories the rest of the install should work following my instructions.
They are lengthly so I posted the install interface instructions Here
#14
Posted 11 December 2003 - 01:52 PM
I have seen it working on unsecure OSC site but I had to make changes to get the sessions to work right on a secure/unsecure OSC configuration.
All in All it works good and if anyone would like to see it check here
http://www.microheli.com/mhshop/modules.ph...&file=index.php
Please if anyone can help on the admin problem I am having please jump in and save the day I have been working on the for three days
#15
Posted 19 December 2003 - 12:14 PM
beardeddone, on Dec 6 2003, 10:29 PM, said:
GIZMO-XL, on Dec 6 2003, 02:50 PM, said:
Thanks in advance.
Ok I have pretty much redone the installation of this interface, assumming that all your files are copied to there prespective subdirectories the rest of the install should work following my instructions.
They are lengthly so I posted the install interface instructions Here
#16
Posted 19 December 2003 - 03:48 PM
oldpa, on Dec 19 2003, 04:14 AM, said:
beardeddone, on Dec 6 2003, 10:29 PM, said:
GIZMO-XL, on Dec 6 2003, 02:50 PM, said:
Thanks in advance.
Ok I have pretty much redone the installation of this interface, assumming that all your files are copied to there prespective subdirectories the rest of the install should work following my instructions.
They are lengthly so I posted the install interface instructions Here
Even tho I managed to get this working ok, I still haven't found where to change where phpbb looks for the graphics/images, seems I have to have them in catalog\templates\subSilver\images instead of catalog\includes\modules\phpbb2\templates\subSilver\images
Any Ideas?
I also tried to install a calender into phpbb under OSC but get a database error, yes that does exist.
#17
Posted 19 December 2003 - 08:19 PM
#18
Posted 19 December 2003 - 08:59 PM
GrimReaper, on Dec 19 2003, 12:19 PM, said:
#19
Posted 21 December 2003 - 01:57 AM
#20
Posted 21 December 2003 - 04:02 AM









