Zen Cart Logo
Forums / General Questions / Could I change the URL from information.php?

Could I change the URL from information.php?

Locked

Views: 830

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
19 Mar 2010, 2:25 AM
#1
xiaochin avatar

xiaochin

New Zenner

Join Date:
Feb 2010
Posts:
26
Plugin Contributions:
0

Could I change the URL from information.php?

:smile: Could somebody help me? :smile: Thank you.

I am trying to link my shop to forum, I got some problems now.

In my ...shop/includes/modules/sideboxes/information.php

Line 28..

// 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')) {
$information[] = '<a href="' . zen_href_link($phpBB->phpBB['phpbb_url'] . FILENAME_BB_INDEX, '', 'NONSSL', false, '', true) . '" target="_blank">' . BOX_BBINDEX . '</a>';

How could I change the URL from here? Please help me.I don't know how to change it.

(forum rul: http://www.domain.com.sg/forum)
(shop rul :http://www.domain.com.sg/shop)

**Now, Show..The requested URL /shop//forum/index.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.**

2 " **// **" ?

Appreciate you can help!

19 Mar 2010, 6:04 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Could I change the URL from information.php?

You did not state what forum script you have???

If not phpbb then replace all of what you posted with a standard href
This assumes your forum opens with an index.php
You can add a target if you want also in std form

// Forum link:
<a href="/forum/index.php">Forum</a>

Zen-Venom Get Bitten

19 Mar 2010, 6:52 AM
#3
xiaochin avatar

xiaochin

New Zenner

Join Date:
Feb 2010
Posts:
26
Plugin Contributions:
0

Re: Could I change the URL from information.php?

HI, Thank you for your reply.

My shop is Zen Cart.
Forum is phpbb.

:smile:

After I edit the /includes/configure.php

define('DIR_WS_PHPBB', '/phpBB2/');

to

define('DIR_WS_PHPBB', '/home/myshopname/public_html/forum/');

I can see the forum link at shop(information), but the link got problem. I am thinking maybe I can edit the link from information.php?

19 Mar 2010, 12:15 PM
#5
xiaochin avatar

xiaochin

New Zenner

Join Date:
Feb 2010
Posts:
26
Plugin Contributions:
0

Re: Could I change the URL from information.php?

Thank you very much, It now work. :clap::D:D