Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Search engine advanced (status)

10 years 3 months ago
  • P's Avatar
    Topic Author
  • P
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 4
Licenses:
JomSocial Expired

Hi,
is it possible to search a post by status written through a search engine module?
I tried your quick search module but it works only with people, groups, videos and events and not status post.
Thank you

10 years 3 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi P,

I am sorry that is not possible by default, but well I will provide you a lil bit hack to achive this, please you open this file components/com_community/models/search.php, below this code :

$query .= ' WHERE b.'.$db->quoteName('block').' = '.$db->Quote('0').' AND '.implode(' AND ',$filter). $filterquery;

add this code :
$query .= ' OR ( UCASE(c.status) LIKE UCASE('  . $db->Quote( '%' . $value . '%' ) . '))' ;

thx

10 years 3 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

oh ya this is only work for search module, wont work on adv. search

10 years 3 months ago
  • P's Avatar
    Topic Author
  • P
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 4
Licenses:
JomSocial Expired

Hi Dimas,
I add you code

$query .= ' OR ( UCASE(c.status) LIKE UCASE('  . $db->Quote( '%' . $value . '%' ) . '))' ;
below the line
$query .= ' WHERE b.'.$db->quoteName('block').' = '.$db->Quote('0').' AND '.implode(' AND ',$filter). $filterquery;
But it doesn't change.
I try to search a key text used in a post (through the quick search module) but doesn't work...

10 years 3 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

What is your backend access (the current access is not working) and FTP access? I will check this directly.

thank you

10 years 3 months ago
  • P's Avatar
    Topic Author
  • P
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 4
Licenses:
JomSocial Expired

I'm sorry, perhaps I have not explained well.
I would like to search words (through search engine) contained within an article imported via website preview.
When I insert a web address in the status panel (share box) it imports a preview of that article. It will be perfect if I could search words in all article imported.
Is it possible. I hope that you can help me.
Unfortunately I'm working now in local mode.
Thank you.

10 years 3 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi P,

I see, I am sorry that is impossible, you even you cant hack the Jomsocial code.

I saw the plugin to achive this, but I am not sure its still working or not, please try this
extensions.joomla.org/extensions/extensi...arch/bt-smart-search
www.joomace.net/joomla-extensions/acesea...d-joomla-site-search
www.rsjoomla.com/joomla-extensions/joomla-site-search.html
miwisoft.com/joomla-extensions/mijosearch-joomla-search-engine

thank you

10 years 3 months ago
  • P's Avatar
    Topic Author
  • P
  • Offline
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 4
Licenses:
JomSocial Expired

Hi Dimas,
I asked informations about the plugin that you suggested to me but unfortunately all they said they need a specific Jomsocial plugin to work.
I was also advised to make a small change to jomsocial search plugin (in php code) so that it is able to search into the table of my interest: doz5i_community_activities" table ( field: params).
Could you help me to change the code in order to achieve this?
Thank you so much.

10 years 3 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi P,

I am sorry this is too tricky and too far :) I cant help you too much, I suggest you hire the 3rd party developer for this one .

thank you

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW