Support » Fixing WordPress » WordPress Search Bar in phpBB – Possible?

  • Hello,

    The website I am currently working on can be found here:

    Simply put, it is a gaming community website. Nothing to professional or extraordinary. On the site I have the latest WordPress installed (2.8.3) as well as phpBB3 for the forums. I have made my theme in WordPress and am now porting it over to the phpBB forums so they look seamless.

    The WordPress and phpBB are on two different databases.

    I do not have commenting enabled on the WordPress half of the site as it would be unneeded for this project, so all I need really is for the users to log into the forums and not the WordPress, I do that for updates. In the header, you will notice a search bar. This is utilized with a searchform.php file that is called with the following:

    <?php include(TEMPLATEPATH . '/searchform.php'); ?>

    The actual searchform.php contains the below:

    <?php $search_text = "Type a keyword and press enter..."; ?>
    <form method="get" id="searchform"
    action="<?php bloginfo('home'); ?>/">
    <input type="text" value="<?php echo $search_text; ?>"
    name="s" id="s"
    onblur="if (this.value == '')
    {this.value = '<?php echo $search_text; ?>';}"
    onfocus="if (this.value == '<?php echo $search_text; ?>')
    {this.value = '';}" />
    <input type="hidden" id="searchsubmit" />

    My question is, how can I keep the search bar the same for on the phpBB pages? I have the entire header and theme already ported (or about to be) but the search bar will not. I don’t need nor want the search bar to suddenly start searching the phpBB as well, just the WordPress site as if you were still ON the WordPress pages.

    Users can utilize the more advanced forum searching features within the forum itself.

    Please, anyone have any advice? Thanks in advance!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘WordPress Search Bar in phpBB – Possible?’ is closed to new replies.