Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

openBB


Guest

Recommended Posts

I am starting this thread for both support area and general discussion about integrating openBB into osC.

My current effort is towards reworking openBB to use osC authentication.

 

If you post here, someone will try to help you as I/we/they can.

Keep in mind, that most of us have to earn a living and may not be able to respond immediately, so be patient. =)

Link to comment
Share on other sites

For those that want to know...=)

I now have openBB integrated into the content of my gamesite.

It was a little complicated, but not very.

I will post an integration contribution after I have finished the merge of the forum login with osCommerce login.

In summary, you just need to create a forums.php page designed like your current pages.

within the main body area, you will need to add require('fullurlpathtoyourforums')

statement.

this will wrap your forums with your pages.

 

I did notice a problem with images.

you need to copy the images from the forums directory to your main images directory.

 

Yet another problem...

In my header, the header background image is layering in my header when i open the forums. But, this is not a major concern for me right now. Especially since I hacked away at the header to remove all the shopping cart images.

 

anyway, i think openbb is going to work out great for integration with the best ecommerce engine on the internet, osCommerce!!!

Link to comment
Share on other sites

wound up using an iframe to get it to work properly

here is the content you can use to embed it in your php document

<tr height=600><td>

<iframe src="http://www.yourdomain.com/forums/"'>http://www.yourdomain.com/forums/" marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=yes>

<ilayer src="http://www.yourdomain.com/forums/ visibility="show">

</ilayer>

</iframe>

</td></tr>

 

you can adjust the tr height to fit your board

Link to comment
Share on other sites

use the content below to make your forums.php file.

this will make your forums page look like the rest of your site.

 

forums.php

 

----------------------------------------------------------------

<?php

/*

$Id: forums.php,v 1.22 2003/06/05 23:26:23 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

require('includes/application_top.php');

 

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_FORUMS);

 

$breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_FORUMS));

?>

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

<html <?php echo HTML_PARAMS; ?>>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

<title><?php echo TITLE; ?></title>

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

<link rel="stylesheet" type="text/css" href="stylesheet.css">

</head>

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

<!-- header //-->

<?php require(DIR_WS_INCLUDES . 'header.php'); ?>

<!-- header_eof //-->

 

<!-- body //-->

<table border="0" width="100%" cellspacing="3" cellpadding="3">

<tr>

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

<!-- left_navigation //-->

<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>

<!-- left_navigation_eof //-->

</table></td>

<!-- body_text //-->

<td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td><table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td class="pageHeading"><?php echo HEADING_TITLE; ?></td>

</tr>

</table></td>

</tr>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

<tr>

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">

<tr>

<td class="main">

We are currently integrating a new forum system. Still some issues.<br>

</td>

</tr>

<tr height=600><td>

<iframe src="http://www.corporateheaven.com/forums/"'>http://www.corporateheaven.com/forums/" width=100% height=100% marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=yes>

<ilayer src="http://www.corporateheaven.com/forums/ visibility="show">

</ilayer>

</iframe>

</td></tr>

</table></td>

</tr>

<tr>

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>

</tr>

</table></td>

<!-- body_text_eof //-->

</tr>

</table>

<!-- body_eof //-->

 

<!-- footer //-->

<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>

<!-- footer_eof //-->

<br>

</body>

</html>

<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...