Gossamer Forum
Quote Reply
Ultra FAQ
Hello

I just upgraded to the newest Ultra FAQ plug in..2.6.

There are two issues:
1- When upgrading the faq.cgi paths are not being updated (Ultranerds paths are there).
2- The search function does not work, searching takes you back to the home page.

I fixed the first issues and it is FYI.. but any solutions on the second one?
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] Ultra FAQ In reply to
Hi,

Mmm.. do you have an example URL where I can see the search not working? Sounds like a missing <hidden> field, or similar.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [katabd] Ultra FAQ In reply to
Hi,

Mmm.. I see what you mean. Going to: http://www.2muslims.com/cgi-bin/links/faq.cgi?a=search_do&query=editor .. says there are no result, even though there clearly are.

If you don't mind sending over GLinks admin panel details (via email), I'll have a closer look for you.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Ultra FAQ In reply to
Hello Andy

The search option does not work on your Demo site either..
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] Ultra FAQ In reply to
Hi,

Here is the bug fix:

In faq.cgi, find:


Code:
my $cond = GT::SQL::Condition->new("Full_Article", "LIKE", "%$query%");

..and replace with:

Code:
my $cond = new GT::SQL::Condition;
$cond->add("Full_Article", "LIKE", "%$query%");
$cond->add("Title", "LIKE", "%$query%");
$cond->add("Short", "LIKE", "%$query%");

That seems to resolve the problem. Please let me know if it doesn't.

I'll get a fixed up version released in the next hour or so.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [katabd] Ultra FAQ In reply to
Hi,

I've just released v2.6.1, which has the path bug fixed (i.e Links::init() and the use lib '') - and also the search bug.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!