Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2005
    Posts
    59
    Plugin Contributions
    0

    Default Linking forum problem

    I just installed my zencart. Here is my zencart look at http://www.uhotstyle.com

    I have a question about forum

    1. How to modify the link for “forum”? The problem is
    When I click the link, it goes to http://uhotstyle.com/ZenCart//phpBB2/index.php
    I want to go to http://www.uhotstyle.com/phpbb2/index.php

    Also, I want to know if there is an Admin feature to turn on/off the forum choice. how?

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

    Default Re: Linking forum problem

    You could just hard-code the link:
    /includes/modules/sideboxes/YOURTEMPLATE/information.php
    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)
      }
    becomes:
    Code:
    // Forum (phpBB) link:
        $information[] = '<a href="' . "http://mysite.com/phpbb2/index.php" . '" 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
    Mar 2005
    Posts
    59
    Plugin Contributions
    0

    Default Re: Linking forum problem

    got it. Thanks

 

 

Similar Threads

  1. Linking account info to ubbThreads forum?
    By FloridaJohn in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 Feb 2010, 12:25 PM
  2. Sidebox Module - bbCode Forum Linking
    By gezuvor in forum Addon Sideboxes
    Replies: 6
    Last Post: 6 Sep 2008, 04:22 AM
  3. Problem Linking To Images
    By wolfcry044 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 18 May 2008, 08:16 AM

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