Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Dec 2007
    Posts
    19
    Plugin Contributions
    0

    help question 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!!!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Zen + PHPBB frustrating problem

    /includes/modules/sideboxes/YOUR_TEMPLATE/information.php
    change this:
    Code:
    // 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>';
    // 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:
    Code:
        $information[] = '<a href="http://YOUR_SITE.COM/forum" target="_blank">' . BOX_BBINDEX . '</a>';
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Dec 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: Zen + PHPBB frustrating problem

    Thank you Dr. Byte!!!

    worked like a charm!

    You Rock

  4. #4
    Join Date
    Dec 2007
    Posts
    19
    Plugin Contributions
    0

    Default 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


    Quote Originally Posted by DrByte View Post
    /includes/modules/sideboxes/YOUR_TEMPLATE/information.php
    change this:
    Code:
    // 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>';
    // 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:
    Code:
        $information[] = '<a href="http://YOUR_SITE.COM/forum" target="_blank">' . BOX_BBINDEX . '</a>';

  5. #5
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default 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.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Dec 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: Zen + PHPBB frustrating problem

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


 

 

Similar Threads

  1. phpBB issues Zen v1.3.9h with phpBB 2.0.23
    By stevefriedman71 in forum General Questions
    Replies: 11
    Last Post: 8 May 2011, 10:02 PM
  2. ANZ eGate - Frustrating Secure Hash Problem
    By johnwey in forum Addon Payment Modules
    Replies: 9
    Last Post: 1 Dec 2010, 04:50 AM
  3. Zen Cart and PHPBB integration problem resolved
    By Ripper in forum General Questions
    Replies: 6
    Last Post: 9 Aug 2009, 11:40 PM
  4. Frustrating Problem - Login Page Issue
    By DiZZ in forum General Questions
    Replies: 0
    Last Post: 18 Dec 2006, 08:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg