11
ccrstudioweb
Re: Leave out some words from XOOPS search

As I guess that to achieve what I want is a little difficult, I tried other solution: Implement other search engine on xoops, and after looked for a lot of php+mysql search engine this one fit all may expectations:
http://www.joedolson.com/Search-Engine-in-PHP-MySQL.php

I hope It may help someone!



12
ccrstudioweb
Re: Leave out some words from XOOPS search

Ok, here we go!
---------------------------------------------------------
I took a look and I get the conclusion that is neccessary make three kinds of search inside each module.

Let´s start by smartpartner:
It´s xoops_version file says:
// Search $modversion['hasSearch'] = 1; 
$modversion['search']['file'] = "include/search.inc.php"
$modversion['search']['func'] = "smartpartner_search";


To get this, I need to edit include/search.inc.php and make include/search2.inc.php and include/search3.inc.php

But how can I call them separetadely if xoops_version calls only one?

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

Other way is to make diferents xoops/search.php

Other ideas?






13
ccrstudioweb
Re: Leave out some words from XOOPS search

Hi all,
Talking about -words- in XOOPS search engine, the case:
I have the smartpartner and xdirectory to storage their information in three main coluns: name, address and phone.

The problem: When I search for someone called Sundfield, the search returns me the address Rua Henrique Sundfield. I need only people called Sundfield.

I would like three kinds of search: name, address and phone.
Does someone have a tip where to start?
Thank you in advanced!



14
ccrstudioweb
Re: Serious security issue Anything@chatterzx.cn

I had read it about google...
So...

Does anyone have already implemented captchahttp://www.captcha.net/ on xoops?
Someone has a step by step implementation of this tool?

I´d read about module protector for xoops. Is it reliable?



15
ccrstudioweb
Re: Serious security issue Anything@chatterzx.cn

And they can confirm by themselves their registration...



16
ccrstudioweb
Serious security issue Anything@chatterzx.cn

Since last December at beginning, I´ve noticed in one of my XOOPS sites that there are some registration from China´s users.
Look some examples:

davidcol
dickiecl
jesswood
stephana
winifred
adadobbi
edithnet
bridgetg

using emails:
75a@myifysero.cn
1307@mybayacha.cn
0b0@mybayacha.cn
b189@jabberblabs.cn
2f66@chatterzx.cn
8b29@chatterzx.cn

The problem is that if you look for chatterzx.cn (or some of domains related) on Google, it returns only XOOPS sites in which these domains´s emails are registered, and curiosly, all of them start registering at beggining last Dec.

And the most curiosly, some of these users have already more than 1000 Comments/Posts on their profiles...

How can I protect my website from this and what may be this?



17
ccrstudioweb
Re: Leave out some words from XOOPS search

Thank you Trabis!!!

As I´m using XOOPS 2.0.18.1 I had to change the following 109 line line From:

if (strlen($q) >= $xoopsConfigSearch['keyword_min']) {                 $queries[] = $myts->addSlashes($q);



To


if (strlen($q) >= $xoopsConfigSearch['keyword_min'] && !in_array(strtolower($q), $ignore)) {                 $queries[] = $myts->addSlashes($q);


And it works as I want!!!
Thank you once more!!!



18
ccrstudioweb
Leave out some words from XOOPS search

Hi all!
Is there any way to omit some words from XOOPS native search?
Example: Someone is looking for Rua Amador Bueno, but I want the system to look for Amador Bueno only.

There are about ten words I want to omit from search, even if people type some of them.

I´m using 3 characters on search.
Thank you in advance!



19
ccrstudioweb
Re: smartpartner and 100% cpu usage by APACHE

Hi All, I decided to continue using smartfactory 1.4 because it was very good in my localhost but the broblem related. So as I didi´nt discover the problem, I´ve solved it by taking off ALL links to index.php. It means that the user WILL have to use the XOOPS search engine to find the information (partner) he wants.

No more module directory search.

But If someone one day see this and know a tip, stay at home!
Thank you all!!



20
ccrstudioweb
Re: smartpartner and 100% cpu usage by APACHE

More information:
I´ve reduced the DB to 4,000 numbers but even so, the CPU usage goes from 10% to 77% when I request smartpartner/index.php

When I request search.php (and its tesult), and partner.php The CPU continues on 11%

There are any error of DB connection on index.php (and its requests).

Its code I´ve showed before, Any one may help me?




TopTop
« 1 (2) 3 4 5 6 »



Login

Who's Online

244 user(s) are online (166 user(s) are browsing Support Forums)


Members: 0


Guests: 244


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits