Zen Cart Logo
Forums / General Questions / Zen + PHPBB frustrating problem

Zen + PHPBB frustrating problem

Locked

Views: 2,576

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
20 Dec 2007, 3:49 PM
#1
stardancer avatar

stardancer

New Zenner

Join Date:
Dec 2007
Posts:
19
Plugin Contributions:
0

Zen + PHPBB frustrating problem

I have them both installed. The nickname shows up on log in and works and is automatically included in the forum so I know they are talking to each other. However....

in my config file it shows the proper path to the forum:
define('DIR_WS_PHPBB', '/home/stardanc/public_html/bookofshadows/forum/')

when you click on the forum link from the cart it shows as:
http://bookofshadows.com/zenshop//forum/index.php

if you delete the zenshop// you get to the actual forum which shows the new added user and is fully functional.

How can this be? What am I not doing right?

I feel like such a ditz that I can't figure this out! HELP!!! Please!!!

20 Dec 2007, 6:08 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Zen + PHPBB frustrating problem

/includes/modules/sideboxes/YOUR_TEMPLATE/information.php
change this:// Forum (phpBB) link: if ( (isset($phpBB->phpBB['db_installed_config']) && $phpBB->phpBB['db_installed_config']) && (isset($phpBB->phpBB['files_installed']) && $phpBB->phpBB['files_installed']) && (PHPBB_LINKS_ENABLED=='true')) { [B] $information[] = '<a href="' . zen_href_link($phpBB->phpBB['phpbb_url'] . FILENAME_BB_INDEX, '', 'NONSSL', false, '', true) . '" target="_blank">' . BOX_BBINDEX . '</a>';[/B] // or: $phpBB->phpBB['phpbb_url'] . FILENAME_BB_INDEX // or: str_replace(str_replace(DIR_WS_CATALOG, '', DIR_FS_CATALOG), '', DIR_WS_PHPBB) }to whatever you want your direct link to be, perhaps:```
$information[] = '<a href=[B]"http://YOUR_SITE.COM/forum"[/B] target="_blank">' . BOX_BBINDEX . '</a>';

20 Dec 2007, 7:26 PM
#3
stardancer avatar

stardancer

New Zenner

Join Date:
Dec 2007
Posts:
19
Plugin Contributions:
0

Re: Zen + PHPBB frustrating problem

:clap: Thank you Dr. Byte!!!

worked like a charm!

You Rock

31 Dec 2007, 3:19 AM
#4
stardancer avatar

stardancer

New Zenner

Join Date:
Dec 2007
Posts:
19
Plugin Contributions:
0

Re: Zen + PHPBB frustrating problem

Well kinda worked like a charm... My links to the forum in the side box shows the correct address now, however my link in the site map still shows the

http://bookofshadows.com/zenshop//forum/index.php as the link :no:

DrByte:

/includes/modules/sideboxes/YOUR_TEMPLATE/information.php
change this:// Forum (phpBB) link: if ( (isset($phpBB->phpBB['db_installed_config']) && $phpBB->phpBB['db_installed_config']) && (isset($phpBB->phpBB['files_installed']) && $phpBB->phpBB['files_installed']) && (PHPBB_LINKS_ENABLED=='true')) { [B] $information[] = '<a href="' . zen_href_link($phpBB->phpBB['phpbb_url'] . FILENAME_BB_INDEX, '', 'NONSSL', false, '', true) . '" target="_blank">' . BOX_BBINDEX . '</a>';[/B] // or: $phpBB->phpBB['phpbb_url'] . FILENAME_BB_INDEX // or: str_replace(str_replace(DIR_WS_CATALOG, '', DIR_FS_CATALOG), '', DIR_WS_PHPBB) }to whatever you want your direct link to be, perhaps:```
$information[] = '<a href=[B]"http://YOUR_SITE.COM/forum"[/B] target="_blank">' . BOX_BBINDEX . '</a>';

31 Dec 2007, 3:31 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Zen + PHPBB frustrating problem

Then you can change that link in the tpl_site_map_default.php template file, after making a copy of it in your custom template override folder.

31 Dec 2007, 3:29 PM
#6
stardancer avatar

stardancer

New Zenner

Join Date:
Dec 2007
Posts:
19
Plugin Contributions:
0

Re: Zen + PHPBB frustrating problem

Thank you again DrByte for pulling this newbie out of the trash heap!

:clap: