Search Posts Download 1.4

us Jason Denang 10 months ago

This component allows users to search for text that was used in a post that was written to the wall or to a group. Adds a "view post" button to each returned result. Adds a "Posts" link to the search menu.

Comments
hk EI Engineering Replied 5 days ago

Dear Jason,
How can do Unicode characters to search posts?

Thanks
EI

us Bryce alvord Replied 4 weeks ago

Hey Jason,

I am wondering if I could have permission to fork your code OR enhance it with a pull request. I wanted to add some more ways to search for posts and this seems like a great start to what I had in mind. Your thoughts?

Bryce

us Bansh33 - Replied 8 months ago

nice job =)

us Jason Denang Replied 9 months ago

Hey Bryce,
Yep, It's good to go!

us Bryce alvord Replied 9 months ago

Any more development on this to fix issues, I would love to have this component

German ~Z~ Man Replied 10 months ago

Next: You can't always be sure your site is accessed from a logged in user. Log off and try

https://yoursite.com/search?type=posts

and most likely you'll get a crash

You'd better make use of if(ossn_isLoggedin()) { ....

German ~Z~ Man Replied 10 months ago

Another step ahead, yes!
Still irritating:

$count_options = array("search_type" => true, "description" => $query, "count" => true);

What is it good for?

us Jason Denang Replied 10 months ago

Hi Z-Man,
Thanks for the help with this. Moving the friends part into !isadmin of course only saves time and resources for admin users, but still a good call. Thank you for helping me understand the pagination a bit better. I have uploaded V1.3 ;)

Best,
Jason

German ~Z~ Man Replied 10 months ago

Aside from that you should think about moving your friends part completely inside the !ossn_isAdminLoggedin() condition to avoid unnecessary queries if the admin is logged in. Actually I don't think this is the final solution anyway because it's missing all public records.

(Sorry, but I was unable to post the complete stuff all in one.)

Component

Developer: Jason
License ossnv3
Type: Communication
Ossn Version: 5.x
Latest Version: 1.4
Last Updated 10 months ago
Repository Url View Repository

Versions