Search Posts Download 1.4

us Jason Denang 1 year 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
German ~Z~ Man Replied 5 months ago

@El Engineering
simply enter these characters to the search input field ...
or what are you asking for?
please provide an example

hk EI Engineering Replied 7 months ago

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

Thanks
EI

us Bryce alvord Replied 8 months 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 1 year ago

nice job =)

us Jason Denang Replied 1 year ago

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

us Bryce alvord Replied 1 year ago

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

German ~Z~ Man Replied 1 year 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 1 year 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 1 year 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

Component

Developer: Jason
License ossnv3
Type: Communication
Minimum Requirement: 5.x
Latest Version: 1.4
Last Updated 1 year ago
Repository Url View Repository

Versions