Results 1 to 6 of 6

Hybrid View

  1. #1
    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.

  2. #2
    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

  3. #3
    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>';

  4. #4
    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.

  5. #5
    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