I've developed auto suggest system for Ossn. When you'll start typing in Search box (for searching peopel) the auto suggest list will automatically get appeared.
NOTE 1 :- As per Mr. Arsalan we should not alter any core files so you guys be careful while implementing this script.
NOTE 2 :- Sorry Mr. Arsalan as I've not created component for this script bcoz I don't know much about component development. But I think Ossn Users need this script, so I'm providing this script which needs altering a core file. So you guys don't worry about it this script not gonna harm your website at all, you guys just've to replace a bit of codes to mine.
NOTE 3 :- Suppose if you guys gonna upgrade your website in future then you've to implement this script again.
First of all you've to Download this zip file, extract it and you'd find a folder named "ajax-search" , you just've to upload this folder to root dir.
navigate through this folder "themes >> default >> plugins >> default >> theme >> page" , edit the page.php file and press "Ctrl + F" then search for bellow code.(check out image bellow for better assistance)
click here to see code
3. Now you just've to replace the whole codes displaying under red rectangle with bellow one(see image bellow)
click here to see codes
HERE IS THE DEMO
username- ossndemo
password- ossndemo
this script is only for above 3.x ossn versions
Flushing the cache did not work, and whatever the newest version is.
Stephen try flush cache, it should work
what version of ossn you are using by the way?
I'm getting this error "Warning: sessionstart(): Cannot send session cache limiter - headers already sent (output started at /home4/stringus/publichtml/ajax-search/includes/db.php:2) in /home4/stringus/public_html/system/start.php on line 11"
Thank you patriosh,
But this code is not working for my own website at all
Please log on http://facemechat.com and log in with
Username: beulahltd
Password: jascom01
To see what am saying
If there is any you can do for me about it, please mail me to [email protected] and I forward you cPanel login details for the correction
Thanks once again
This works great but it only searches people and not groups...The facebook search searches for both
you are most welcome Kote bregvanze !
thanks paritosh for me it works great
Due to the many requests in the past for additonal features and components we have decided to develope a premium version. Features like Hashtags, Videos, Polls, Events, Stories, Link Preview, etc included in it.
$199 (Life Time)