You must be logged in to post Login


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

plug in doesn't do anything

UserPost

9:22 am
October 5, 2007


matt

Guest

I activated the plug in and I can’t seem to get it to do anything. Is there something that I need to do?

9:25 am
October 5, 2007


Jean-Luc

Admin

posts 1125

Hi Matt,

All you need to do is to upload the file and activate the plugin.

Can you give me more details:

  • what is your WordPress version number ?
  • which other plugins are installed ?

Jean-Luc

2:57 pm
October 5, 2007


matt

Guest

I am running version 2.2 because fantastico has not updated.

 Plugins:

All in one SEO pack

Addthis social bookmarking widget

Adsense Manager

Akismet

and your plugin

thank you for your help!!

4:55 pm
October 7, 2007


Jean-Luc

Admin

posts 1125

I installed the plugin's you are using in a test blog running WordPress 2.2 and <em>Search Pages</em> worked correctly.

Do you mean that only posts (not pages) are returned in the search results, when you write that <em>Search Pages</em> is not doing anything on your blog ?

Did you try with search keywords that are only present in pages (just to be sure that the few pages in the results are not lost among lots of posts) ?

Jean-Luc

4:37 am
October 30, 2007


Lillan

Guest

I had the same problem until I throw away the (ordinary?) pages search.php and searchpage.php – then the plugin worked 🙂

I think when those pages are in use this plugin can't work properly.

5:36 am
October 30, 2007


Jean-Luc

Admin

posts 1125

Well, search.php is present in most themes (like the one of this web site). Considering that this file typically contains a template that displays the search results, it should not interfere with our plugin.

According to WordPress terminology, searchpage.php is a page that contains a search form. It should not be a problem either.

The problem could be related to an unusual content within these files in your theme. You are welcome to email us (assistance@internetofficer.com) a copy of your search.php  and searchpage.php for further investigation here.

Thank you for your feedback.

Jean-Luc

8:03 am
December 2, 2007


PB

Guest

Mine is doing nothing in 2.0.7. E-mailed you search.php file to look at (no searchpage.php  file for this theme). Much appreciate any help you can offer.

11:35 am
December 2, 2007


Jean-Luc

Admin

posts 1125

Hi PB,

I did not get your email yet. I am not sure about what your problem exactly is:

1. no search box at all ?

2. searches only in the posts even when the plugin is installed and activated ?

If you have the first problem, please look at Should there be a searchbox ?

Jean-Luc

7:39 pm
December 2, 2007


PB

Guest

Thanks for the reply. The plugin installed and activated just fine but a search returns nothing found unless the search criteria in a post. Basically, the blog works the same as before (searches posts but not pages). Since my e-mail did not make it to you (probably got caught in spam filter), I will try to paste in the code from my search.php file here (see below). Thank you for your help. This plugin could be very useful to me if I can make it work. PS. I tried a different theme with the same results.

<?php

// search.php
// Tiny theme for WordPress
// Copyright (C) 2006 Ben de Groot
// You can redistribute this theme and/or modify it under the terms of
// the GNU General Public License as published by the Free Software Foundation;
// either version 2 of the License, or (at your option) any later version.

get_header();
?>

<h2><?php _e('Search Results','bnTiny'); ?></h2>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>


<h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link','bnTiny'); ?>: <?php the_title(); ?>"><?php
    the_title(); ?></a></h3>
<p class="posted">Filed Under: <?php the_category(', '); ?>
<?php edit_post_link($link = __('Edit'), $before = ' | ', $after = ''); ?></p>
<?php the_excerpt(); ?>
<p class="more"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permalink"><?php _e('Read','bnTiny'); ?> &#8216;<?php the_title(); ?>&#8217;</a></p>

<?php endwhile; ?>
<p class="nav"><span class="prev"><?php posts_nav_link( '', '', __('&#171; Previous Entries','bnTiny') ) ?></span>
<span class="next"><?php posts_nav_link( '', __('Next Entries &#187;','bnTiny'), '' ) ?></span></p>

<?php else: ?>
<p><?php _e('Sorry, nothing found.','bnTiny'); ?></p>
<?php endif; ?>

<?php get_footer(); ?>

2:28 am
December 3, 2007


Jean-Luc

Admin

posts 1125

There is no compatibility problem with your search.php. I installed it on one of my blogs and posts and pages appeared in the search results.

The compatibility issue could be related to other plugins you are using. Let me know which other plugins are installed and I will try to check compatibility on my sites.

Jean-Luc

 

9:13 am
December 3, 2007


PB

Guest

Jean-Luc,

Thank you so much for offering to help. Just using a few plugins in my installation. Here they are:

 Custom Query String 2.7
 Kill Preview 1.0
 myGallery 1.4b4
 PXS Mail Form 2.6
 WordPress Database Backup 1.8

As noted earlier, WP v 2.0.7

PS. I just turned off each plugin one-by-one and still could not get Search Pages 2.3 to work. Sorry for the mystery I seem to be creating.

2:21 pm
December 3, 2007


Jean-Luc

Admin

posts 1125

I have been able to use Search Pages 2.3 with the Tiny theme and with the Custom Query String 2.7 plugin.

I don't have WP 2.0.7 at hand and I didn't test the other plugins.

As you wrote that the "Search Pages" didn't work even after uninstalling all the other plugins, I would like to point out that "Search Pages" only searches within the regular posts and pages, as they are saved in the WordPress database. The default search function of WordPress works in the same way.

It doesn't search among posts and pages created in a special way. For example, I use a plugin that runs PHP scripts within WordPress pages; the text of these pages is dynamically generated and is not saved as content of the pages in the database. It could be that some of your plugins work in the same way. Please check "Search Pages" with the content of regular posts and pages only.

Jean-Luc

2:49 pm
December 3, 2007


PB

Guest

>>>Please check "Search Pages" with the content of regular posts and pages only.<<<

Yup. I checked it against text content in a normal WP page. Can't tell what the problem is. Thanks for the effort though.


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
7 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 638
Posts: 2712

Membership:

There are 257 Members
There have been 305 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)