| « Enable PHP Code in Blog / Plugin for DB-Based img linking. :: BAE Social Bookmark » | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Author | Message | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sam2kb |
[url=http://b2evo.sonorth.com/show.php/advanced-search-widget]Read in Russian / Русская страница плагина[/url] Replace a standard search widget with Advanced Search and you will be able to filter results by blog, category, post author and date. Search in all public blogs at the same time. [url=http://www.sonorth.com/travel/download/TTG1T1WBXC]Download v1.7.0[/url] for b2evo v4.1 and newer [url=http://b2evo.sonorth.com/show.php?s=blog+post&sentence=OR]Demo[/url] Read the README.html before posting your questions! |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
afwas |
Very good widget. May I suggest one thing? Do subscribe it to BOPIT (contact ¥åßßå for that), add yourself to Sourceforge evocms-plugins (contact blueyed for that). Thanks |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tilqicom |
additional options are just great! (: the default search widget must also include those instead of hacking..as those 'any' 'any or' etc words doesn't look nice, |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Thanks I'll try to add an option to include other blogs. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
yabba |
That reminds me, I must upload the audio player plugin, complete with russian locale ( thanks ;) ), and amend BOPIT ;) ¥ *edit* |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
In TODO list ;) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tilqicom |
it's getting better and better (:, just a small detail; it'd be good if you could add an indicator like a + and - for main and child categories, or arrange the font size a bit |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Why don't you like a double space padding ;) ? I'm now trying to figure out how to include posts from other blogs. And I also want to add a date field. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tilqicom |
sam2kb wrote:
double space is also fine, it can be modified easily, i suppose, i didnt try.. but + - is better trust me : P |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Do you mean something like this? Code
It takes a lot of space, but I'll try it after/if I make a search by blog thing. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tilqicom |
sam2kb wrote:
yep that's it, it's cool this way too, no worries ;) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Updated again :) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Wonderful! I was going to start hacking all the widgets that (a) are lame and (b) are self contained but now even if search widget meets these criteria (and it certainly meets the first!) I don't have to touch it. Hooray for smart search options! |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tilqicom |
this is very cool, i can now simply add a search area consisting of only search button and text field ;) i am looking forward to date search func. and Ed hey, if you want to update a lame widget, i d like to see a better online list too (: like online members, staff or showing user groups and how many user online on each group etc.. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I would like to know if I can use this plugin 'advanced search' with pagination and how. Many thanks |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tilqicom |
ferevo wrote:
what do you mean pagination ? in every page of a post , or in every page of the blog ? in both case, you will simply have to add a container where you want the widget to be displayed and insert the widget in that container |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
What I mean about pagination is that this version(0.4) displays the first 50 posts only because it cannot follow page links. is there any way to solve this problem? I would like to show the first 10 posts and the use page links for the rest . |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
You can change 50 to 10 if you want so, but it won't follow page links anyway.
Not in this version of plugin :( |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Plugin updated. No new features added, only bug fixes. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
a nice feature would be : don't display all the 'options' in the front, just 'do them' as the admin choose in the backoffice |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tilqicom |
Topanga wrote:
tilqicom wrote:
;) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
This is how it works, just untick all "display" boxes and you'll get a searchbox with 1 button 'go'. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Is there a way to display this widget outside of a widget array? Also, is it possible to replace the Search button with a graphic or something instead? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
You can use this code in skin PHP
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Add this class to styles.css to show the button background image Code
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
yabba |
I may be bollocks wrong, but I seem to recall that you can also do PHP
¥ |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
This code doesn't work, it returns "Invalid widget code provided" PHP
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tilqicom |
hi sam2kb, would you think of implementing sth like [url=http://b2evo.astonishme.co.uk/plugins.php?s=am_search]Search Highlight II v. 2.3 by ¥åßßå [/url] into this plugin, and oh btw, i remember you mentioning search between dates thing, is it doable yet |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Search Highlight doesn't work with Russian text, it was reported to ¥åßßå some time ago ;) I'm working on search by year/month thing now. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
yabba |
sam2kb wrote:
Bugger, I keep forgettin' to try and fix that :p ¥ |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Plugin updated :) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Plugin updated Results displayed in google-like style [url=http://ru.b2evo.net/show.php?s=%D0%BF%D0%BB%D0%B0%D0%B3%D0%B8%D0%BD&sentence=sentence]Demo[/url] |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Plugin updated Highlight keywords in full posts mode (b2evo default) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tilqicom |
sam2kb wrote:
thanks for the update.. but after updating the search still does not highlight the retrieved results ..give it a shot [url=http://www.tilqi.com/anasayfa.php?s=hitler]here[/url] did i have to do anything further else than updating the plugin ? |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Go to plugin settings and click "Restore defaults" The plugin didn't use rendering functions before, but now it does and you have to manually set Apply rendering to "stealth" or simply Restore defaults. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tilqicom |
sam2kb wrote:
i did. nothing changed :/ |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Well... it works, but not exactly how it supposed to :( http://www.tilqi.com/anasayfa.php?s=hitler&highlight=sabotaj Let me check it... |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
It works good, but it doesn't highlight post titles http://www.tilqi.com/anasayfa.php?s=budur. I'm now fixing it |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
There's no way to highlight post title. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tilqicom |
sam2kb wrote:
it does not highlight the post content either it seems |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Check this link http://www.tilqi.com/anasayfa.php?s=i%C3%A7in Your posts have 2-3 pages, if you don't see highlighted text on some posts it means the word(s) is on the other page. BTW why don't you want to display results in google-like style, this is the main plugin's feature which you don't use :) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tilqicom |
sam2kb wrote:
aah i see, i kept trying keywords in the titles.. it'd be better if it could highlight titles and tags, i mean almost anywhere, wherever the term was used.. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
- It highlights titles when displaying in "compact" mode (you don't use it). |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hello. I just installed this plugin as it looks really neat. How can I restrict certain authors from being searched, starting with demouser? :?: Thanks. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Edit the following on line 370, list user IDs. PHP
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thanks for your reply, sam2kb. I just did a search for 'templates' as an example whereby the only public blogs are demo Blog A and Blog B. I noticed the URL (not live) at the end of the one result found, that due to its length, it overlapped the right column in FF 2.0.x but not in IE 6 nor IE 7. Is there a way to force word-wrapping at a certain# of characters? :?: Thanks again in advance. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
sam2kb wrote:
Hi again. While awaiting your reply from my last post, I tried the code for excluding users (authors). I haven't gotten it to work. :?: As a test, I added 'case 1' so no admin posts would be found. They were still found. This is the code I used: PHP
Also, I'd like to exclude that author from being shown in the dropdown box (list). Will the code revision accomplish that, too? :?: Thanks again in advance. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
I didn't test it yet, but the code I wrote above should exclude the author from dropdown menu. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Plugin updated @blogmeister Good luck |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thanks for your reply and the update, sam2kb. I should (hopefully) install this tonight. One thing I thought of after my last reply was that I plan on having multiple blogs and multiple bloggers. If, from time to time, any of the bloggers want to exclude an author(s) from their blog's 'Advanced Search,' I'd really prefer it be done via the Admin interface versus them contacting me to modify the code for each instance. Granted, I am not sure how you updated the plugin; I assume it is via adding a new 'case' or similar via editing the code as you mentioned previously. I'll check out what you have tonight. Thanks again as this is an nice plugin. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
blogmeister wrote:
Wow, sam2kb - you're pro-active and/or psychic! It is so convenient now to designate the authors to exclude via the Admin interface! Thanks for that. One thing though - even though the author is excluded from the dropdown list, searching authors with 'All' still shows the excluded author's posts in the results listing. I'm still in the Demo mode so I excluded the 'admin' or user ID#1 in the plugin's params. The 'admin' was excluded from the dropdown list so I kept the default 'All' for the authors, but all of the admin's posts were found in the results. It's getting there, though. I like it. Thanks. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
There's no easy way to exclude some authors when search within "All" without hacking the core. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thanks. When you rewrite it, I'll try to be one of the first in line for it. Take care. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hello. I'm using this plugin and just noticed that upon performing a search, when the results are displayed, in addition to the current blog's highlighted post dates, the calendar also then highlights a date on the calendar not belonging to the blog the search is performed in, but from one of the other public blogs. When clicking on that highlighted date, the results say, 'Sorry, there is nothing to display...'. This behavior is also seen even when the blog results includes a post from that other blog posted on that day. What might be the purpose of this? :?: Thanks in advance. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Can you please give a link, it's hard to me to figure it out. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thanks for your reply, sam2kb. I'll PM it to you as it is not yet 'Live'. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hello sam2kb. I created a 'FAQ' and plan to create more 'Page' post types. How can the search incorporate 'pages'? Thanks. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Edit the following in inc/items/model/_item.funcs.php #58 PHP
Good luck |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thanks! |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
i just installed this plugin, looks great, thanks! with it placed within my sidebar, the drop down fields run off the sidebar and disappear.... is there any way to make the drop downs shorter in width? is this what blogmeister was referring to with word-wrapping?
i adjusted this, and changed 250 to 25, but it doesn't seem to have had any effect. also, is there a way to change the text "root site" to categories or something else? here's a [url=http://shitledger.com]link[/url] |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
afwas |
in /skins/miami_blue/style.css add: PHP
The first one will work, pray for the second one. Good luck |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
i couldn't find the #cat any where in the file, but what i did find was this:
i changed the width from 204 to 259 and the entire sidebar disappeared! then i tried changing overflow from hidden to visible, which also caused the sidebar to disappear. any ideas? also, anyone know how to get rid of the text, "root site" in the category drop down? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
afwas |
Hi bobzarzal, You need to add #cat ;) Good luck |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
There's no easy way to change it :( but you can remove this option by changing 'true' to 'false' in the following code around the line 300 PHP
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
You should better create a standalone search page and put the widget there. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
My b2evolution Version: Not Entered Hi, B2 2.4.6 I've set my blog to display 1 page at a time, full posts no excerpts. Now, I would like the search function to only display a clickable list of results, not the full posts or pages one by one. Any clue? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
[url=http://forums.b2evolution.net//viewtopic.php?t=15593]Advanced Search plugin[/url] |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thanks! But this plugin isn't flawless... If the searched word appear in an <IMG SRC="....THE_WORD..." /> tag, then the picture isn't displayed, plus the source name is partially displayed up to the "/>" If the search word appears in a menu item, the menu css is destroyed too. And finally, the full post is displayed, not a list. Too bad! Suggestion: To display the page title (clickable to go to the full post), plus say 50 words before and after the 1st occurence of searched word. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
This is how it's implemented in b2evo core. The development plugin version searches rendered content (no html tags). I'm still working on it.
What menu are you talking about? It only searches posts.
Read the readme.html
Read the readme.html |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
...Rendered content... Quote: "What menu..." Not a B2 menu, but a <UL><LI> list of mine that my css renders as an extra horizontal menu... Not that display is also destroyed, alas. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Full post displayed... My bad, sorry! I just forgot to edit the post_main.php. Now its fine and there are no pictures displayed within the list. You are just GREAT man :-) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
frsurfer wrote:
The plugin highlights and destroys html tags. If you search for "green" the following code Code
becomes Code
It still has some bloats, just watch the plugin's topic, I post updates there. BTW you can try a dev version [url=http://www.sonorth.com/travel/tours/?types=&s=garden&locale=en-US]here[/url] |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Search submit button display: I've not found any line in the .css file to fine-tune how the submit button should be displayed. I mean I want it with a border, grey background, cursor "hand" for example. Can you tell me the way please? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Besides, can you give a date for the finam version, that won't search the links or picture titles? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
scuse me, but could y'all please move plugin-associated discussion to the plugin's thread? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Add the following in adv_search.css Code
Some day B) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thanks. I've tryed .input:submit, also tried several other combinations, but couldn't "invent" that very one .search_submit ! LOL |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
are there any updates on this plugin? I'd like to give it a try. Google XHTML and Dynamic thing is crappy. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
The current version works pretty well. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Great stuff. I enabled it on our blog. By the default - I would suggest having the single search box (like google). i love the highlighting of the searched terms. I would also add the class statements on the actual inputs so it's easier to find them in the css or rename them to match your own. I also switched the search text box to be inline with the search button. Thanks. <this should be the default search engine in b2evo 3.2.. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Thanks for the feedback.
Well, it's still far from what I'd like it to be. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I just saw that in your blog. Yeah those google like results look great. how do I enable them? I'm reading the thread here in the meantime... the readme.html file seems a bit out of date or my skin doesn't have the " MESSAGES GENERATED FROM ACTIONS" section. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Any skin must have this code. It's between the lines 92-97 in original integral skin. EDIT: I guess you already figured it out... |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
yeah, sorry - I forgot I got fancy and separated my skin main.index into a couple of 'php' files. i have the results looking like google now - except that when I click on them i get an error. Seems like the link is constructed as: So that you know - I'm actually not using it as a widget. I enabled the widget and then cut the HTML and hard coded that into my skin. Perhaps this is throwing it off EDIT: I fixed this error by going to Blog Settings and Choosing the : Now I'm in business. thanks. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Must have that bit? Seems totally optional to me because I really don't care if a visitor ever sees a comment saying they submitted a comment, and I tend to know if I just edited a post or not. Oh wait a minute ... Searching would be an action, so of course it needs a place to put a message from that action. Too bad. Does the core search feature do it that way? I've no idea of how the guts of this thing or core search works, but in my mind a unique disp value would be way better. Except that probably takes modifying files. Unless advanced search replaces core search :) Not many plugins exist that should move from hooks to the core. This is most certainly one of 'em :D |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Cool, you found a bug ;) To fix it replace the following in advanced_search_plugin/inc/_adv_search.disp.php PHP
with PHP
It doesn't rely on "actions", it's just a marker for users, since the messages code is included in all submitted skins.
Thanks, but first I have to finish the version which searches in [u]rendered[/u] content. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Wow that'd be neat - searching through rendered stuff. Hey not to go too far off topic in a six-page thread, but I can't for the life of me think of another plugin that would be good to replace core features. The new core avatars is junk and should be removed because it is a trinket that should only be a plugin. BOPIT should be core but doesn't replace something. All the various bits like Yahoo and the like should be removed and replaced with a profile hook. But what plugin other than this replaces a core function that (a) should be a core feature and (b) does it way better than the core? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Plugin updated to v1.1 Lots of bug fixes, now doesn't highlight/break HTML tags |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
thanks. I got mine updated. like I said before. this should come standard w/ b2evo 3.x. It's a beautiful piece of code. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Plugin updated to v1.5 ;) New: Precise search (optional). If enabled, the plugin will search through [u]rendered[/u] content, and [u]outside[/u] of HTML tags only. This means that a lot of false positive results will be filtered out. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I found a bug in the paging of this plugin and a fix. in the disp file change Code
to Code
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
And then all pages will link to the latest displayed post ;) We don't need to specify custom 'page_url', default $ReqHost.$ReqPath works perfect. Didn't it work in your case? |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
nope it didn't work in my case. it gave a page cannot be found message when clicked on the pages. With the previous method I got this url after searching. index.php/All/?s=sql+dates&advm=&advy=&author=&sentence=AND this brought me to the first page and gives 3 pages when clicking on the page 2 link I get the Sorry, there is nothing to display... /index.php/All/?blog=7&s=sql dates&paged=2 now with this little change (no longer the url of the last displayed post ;-), oops) Code
it does work corerctly with this as the url. index.php/All/?highlight=sql+dates&sentence=AND&blog=7&s=sql dates&paged=2 something must be causing this because on my dev server I don't have this problem only on prod. I tried and if the sentence=AND is missing from the url than that is the cause not sure why it is missing when leaving out the page_url. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Try this, you don't need to add any params to URL PHP
Also I got an error saying "Fatal error: Allowed memory size of 16777216 bytes exhausted" which means you should increase PHP memory limit to at least 32M |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
nope that doesn't work. you can check it out I will leave it like that for half an hour. try sql date and all words. not sure when you got the php error I never got that but I will increase. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
To get the error (blank page) search for "a b c d" and select "some words" Yeah, I see now, the 'sentence' param is not memorized for some reason. Edit the line 256 in plugin file and see if it fixes the problem. PHP
to PHP
EDIT: this is weird, no params are memorized, actually! |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
thanks I got the error. Will fix soon. nope the param(s) is still not memorized. they are memorized on the dev server which should be similar but apparently not the same. Oh joy. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
thanks for all the help BTW. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
chrissie1 wrote:
No problem. Try this for now PHP
It's 3.30 am now, I'll be back in the morning ;) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
that works. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
I'm back :) And this to the disp file PHP
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Sam, Try this, and you'll see the result and when I try it on a brand new installation (no update' then it works fine... I'll be damned... ok, even more finetuning : |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Can you try the SVN version, I fixed this and some other bugs? You should update both files |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
and where can I find the svn version ? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
YES YES YES |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Do you know why it doesn't highlight the keywords in your blog? |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Make sure the rendering is set to stealth in plugin settings |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I only discovered today that I can highlight the keywords ;) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Do you also know that it can display results much nicer than default b2evo search ? |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
No I did not know... |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
yeah, in readme.html |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
the only thing I could find in the readme.html was Code
How I jump from the searchbox to this, is a complete other story;) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Everything you need to get it working is written in that readme.html Just copy the above code in skin file after the messages code. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I must be very stupid Code
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Right, just add the new code |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
ok, I did, and nothing is happening |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
its allways PICNIC Thank you very mutch! |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
I fixed another bug, please update both files again. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
My b2evolution Version: 2.4.7 and 3.3.1 Hi! Maybe is nothing, but in my blogs, when I tried to "search" something usin the normal search plugin, as a result the blog disappeared and the only part that I could see was the header part. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I just realized that I have two similar plugins: advance_search version 0.3 and advanced_search version 1.5 This last one is the ultimate update of the plugin and got the error I quoted in the previous message. Is the same plugin? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Please remove both plugins completely, including files. Then install v1.5 from the first post, and then update 2 files from here http://evocms-plugins.svn.sourceforge.net/viewvc/evocms-plugins/advanced_search_plugin/trunk/ Can you also link to to your blog where the plugin is installed? |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Ok! I think I did exactly as you explained (I don´t understand what you mean with "install from the first post", so I installed the plugin as usual). And things changes a little: Apart from de menu, the blogs is trying to show an article and stops. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
You should either enable PHP errors or look at Apache error log. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Ok! I see... |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Just add this to your php.ini display_errors On |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
BTW you can most likely solve the problem by increasing PHP memory limit to 64M or 128M in /conf/_advanced.php |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Plugin updated to v1.6 Fixed all known bugs |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
The plugin is tested to work in b2evo 4 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
New version released: 1.7.0 A new "search in blog" panel is displayed if there are less than 7 public blogs in the system Note that older versions of b2evolutions are not supported since v1.7.0 of this plugin |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
tilqicom |
nice (: |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Not search in Page. Only in Post... bad |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Thank you very mutch! Can you also link to to your blog where the plugin is installed? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sam2kb |
Here you can see the plugin in action |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Back to top |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||