Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#169 2007-05-20 22:33:50

kvnmcwebn
Member
From: Ireland
Registered: 2007-01-27
Posts: 724
Website

Re: [plugin] [ORPHAN] rss_live_search

Hi im using this plugin in conjunction with the texgarden photoblog template widescreen. I get this error when I try and install the plugin:

Fatal error: Call to undefined function: gzinflate() in /home/kvnmcwebn/www/textpattern/include/txp_plugin.php on line 207

anybody know how to handle this?


its a bad hen that wont scratch itself.
photogallery

Offline

#170 2007-06-25 11:09:56

Rambitious
New Member
From: Saudi Arabia
Registered: 2007-06-25
Posts: 2

Re: [plugin] [ORPHAN] rss_live_search

hello everybody
thank you wilshirenu for this plugin

I use Textpattern · 4.0.4 with rss_live_search v0.7
but i faced these problems :

1- i got URLs 1970/01/01/[title page] for all result in FireFox
2- in IE7 the search results don’t refresh as i type keyword .

can you help me please .
thanks

Last edited by Rambitious (2007-06-25 11:13:27)

Offline

#171 2007-07-02 15:44:37

John Wozniak
Member
Registered: 2006-10-20
Posts: 37

Re: [plugin] [ORPHAN] rss_live_search

I installed the latest version of the plugin, but because of my URL scheme it does not work quite as it should – when you submit the form you arrive at my custom error page.

I “fixed” this by reverting to the 0.2.2 version, where you addressed this issue.

Offline

#172 2007-07-06 09:27:32

strawberryfusion
Member
Registered: 2005-07-24
Posts: 20

Re: [plugin] [ORPHAN] rss_live_search

Hi,

Is there any way of preventing ‘Sticky’ articles being searched?

Thank you

Offline

#173 2007-08-04 17:39:15

sparkybarkalot
Member
Registered: 2004-10-13
Posts: 43

Re: [plugin] [ORPHAN] rss_live_search

I wanted to be able show the section titles rather than the section name when using showsection=“1” and here’s how I edited the plugin in case anyone is interested:

Look for this line and comment it out:

$sd = ($showsection) ? ‘<span class=“lsSection”>’.$Section.’</span>’ : ‘’;

Then add the next two lines right below it:

$section_title = safe_field( ‘title’, ‘txp_section’, ‘name = “’.$Section.’”’);
$sd = ($showsection) ? ‘<span class=“lsSection”>’.$section_title.’</span>’ : ‘’;

I know nothing about plugins and what’s smart and safe to do, but I just needed something quick and dirty and this worked.

Offline

#174 2007-08-05 20:15:45

sparkybarkalot
Member
Registered: 2004-10-13
Posts: 43

Re: [plugin] [ORPHAN] rss_live_search

blumie607 wrote:

Can this plugin search “future” articles- like events in the future?

blumie607, you only need to edit one line in the plugin to do that (I just had to figure it out today, and thought I’d reply in case anyone ever needs to do this)

Look for this line in the plugin:

$where = “(Title rlike ‘$q’ or Body rlike ‘$q’) $s_filter and (Status = 4 or Status = 5) and Posted <=now() order by score desc limit $max”;

and, to have ALL articles show up in the search, just delete the “Posted <=now()” bit, so that the line looks like this:

$where = “(Title rlike ‘$q’ or Body rlike ‘$q’) $s_filter and (Status = 4 or Status = 5) order by score desc limit $max”;

That’s it.

Offline

#175 2007-08-06 09:21:20

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: [plugin] [ORPHAN] rss_live_search

Hi! Great plugin, but:
1. it seems it doesn’t work in, at least, IE6 as well as planned. It seems it searche only for the first time. After this shows “nothing found”

P.S. Little suggestion – make all texts to be avaible set by tag attributes, such as “use arrows… “ and “close” text. I tryed to add them into pluging myself, but call them in echo <<EOFEOF; causes 500 error…

function rss_live_search($atts) {

  extract(lAtts(array(
    'max'        => 20,
    'excerpts' => '0',
    'label' => 'LiveSearch: ',
    'notfound' => 'No Results Found.',
    'searchto' => '',
    'autocompleteoff' => '0',
    'showsection' => '0',
    'showdate' => '0',
    'form' => '',
    'inputvalue' => '',
    'inputsize' => '20',
    'showbutton' => '0',
    'buttonval' => 'Submit',
    'dateformat' => "%B %d, %Y",
    'close_text' => "Закрыть (Esc)",
    'nav_text' => "Стрелочками выберите результат",
  ),$atts));

If I'm right, i can call any of var in any part of plugin source? But when i do so:
bc.. echo <<<EOF
bla-bla-bla
$nav_text dasjdhaksdasd
EOF;

This causes, as i said, 500 error... What's the trouble?

Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#176 2007-08-15 09:06:31

damienbuckley
Member
From: Brisbane, QLD, AU
Registered: 2006-02-24
Posts: 138
Website

Re: [plugin] [ORPHAN] rss_live_search

Great plugin. Works fine in everything except (you guessed it) IE6 – the search results pull up as normal but my cursor keys and escape arent doing anything. Anyone else come across this problem?

-UPDATED – it seems swobject.js I’m running to embed a slideshow is interfering. Fixed now.

Last edited by damienbuckley (2007-08-15 09:39:03)

Offline

#177 2007-08-15 16:53:16

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: [plugin] [ORPHAN] rss_live_search

scudder wrote:

My livesearch seems to “work” but no articles are showing up anymore.
I’m getting “no results” even though I am searching for articles I know are posted.
I even installed the newest version. Is there something I need to look at?
cron?
thanks

What browser do you use? I’ve noticed such bug when using IE6. Opera works fine with pluginm but IE shows search results only once – next queries return “no results”

Last edited by the_ghost (2007-08-15 16:53:39)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#178 2007-08-30 16:05:04

mescobosa
New Member
Registered: 2005-08-20
Posts: 9

Re: [plugin] [ORPHAN] rss_live_search

I am having the 1969/12/31 problem with all links returned in the Live Search pane.

I have uninstalled and reinstalled. I am running the latest version of tp and the latest version of the plug-in.

The problem only manifests itself with the archive URL scheme set to year/month/day. If I switch to a different URL scheme it works. However, I am unwilling to do that.

Does anyone know how to make tp + livesearch work with that URL scheme.

I did have superarchive installed but not active. I have now deleted it. Still no luck.

Ideas welcome.

Offline

#179 2007-09-12 13:46:44

shi
Member
Registered: 2005-12-09
Posts: 34

Re: [plugin] [ORPHAN] rss_live_search

As someone mentioned earlier, rss_live_search have problems with IE6.

When I search for some string which has non-standard charachers in IE6 (like: šđžčćшђжчћљњ) – rss_live_search returns “Nothing found”, still if I press Enter – non-live-search returns regular results. So this bring to conclusion that something’s wrong with JS-parsing of non-standard characters in live-search.
I’m not the best in JS coding, but I guess that the problem is there.

Did anyone found a solution for this? I would be very grateful if someone post some reply. Thanks.

Offline

Board footer

Powered by FluxBB