![]() |
Quote:
Are you searching with a regular user account? Quote:
Quote:
|
When I say I had to upgrade... It was from the 2.2.6 Search.php to the 2.2.9 search.php... Also, the listings that did not get displayed were guest listing... Guests also have the option to search my forums and it was there searches that were not coming up in the last 10 searches list... BUT, registered users searches were...
|
I see what you mean now. Their searches don't show on the listing, but they are still able to search. I like it the way it is now, though. I also allow them to search, but not be listed in the last 15 (I set it to that). Gives them more of an incentive to register. :)
|
Quote:
|
Quote:
www.mini2.com/forum/search.php Is the above (regarding the 'bug fix') correct, is it safe to remove the 'not in 5,6,7' section of the query? |
I use it in my version 2.3.0 and it works :)
|
great hack
love it clicks install |
Quote:
|
Nice hack! Thanks! Works fine on v2.3.3
|
Easily installed on 2.3 release 3. Thanks!!
|
Installed and works fine - just make sure you set the correct usergroup ID's dependent upon who you want to list search results for, whilst taking into consideration the security implications.
[high]* Intex clicks install :cool:.[/high] |
I installed it on 2.3.0
|
Quote:
I'd also like to know if it's possible to list which user searched for what.. For admins only of course. |
installed on 2.3.0 and removed the NOT IN part and permissions are working fine.
Thanks. |
I had trouble at first tryin to edit www/search.php
I figured out that I needed to edit www/forums/search.php so it is workin now like a charm. I don't know if I missed something here but this does not look like the last 10 searchs here, mine is pretty big. The last 10 takes up alot of space on the page, anyway to slim it down some? Might help if I add a link http://www.planetquintessa.com/forums/search.php? |
Great :cheeky: ,,
WellDone :bandit: ,, Wish You The Best ... |
get it working on 2.3.0 any one ?
|
Yes S.Shady,,
It works with me easily ... |
Quote:
I have the same thing here and im on vB 2.3.0. Also on my board it says the date as 12-31-1969 at 07:00 PM screen shot of my board is in attachment. @ OmaniMan > can you pm me what you have in your search.php that you added ? [edit] nvm i got it to work. How? i don't know lol but its working fine. Thanks for the great hack |
works great for me, thanks! 2.2.9
|
Brother S.Shady ,,,
It shows up correctly brother ,,, |
Quote:
How did you fix the date problem? ;) |
Installed on 2.3.0 RC3 with similar modifications that Chen made..
http://www.umbrellaonline.co.uk/forums/search.php All seems to be working well, great hack :) |
Quote:
i dont know lol i was messing with chens fix for the admins not showing changing it back and forth and it worked for some reason |
Lmao gues what i did. I reformated my hd and had to reupload my last backup of everything before i reformated right. so upload the files and all but then my problem goes back. :(
So i took out the mod supermod and admin part and got it working. Ill mess with it to see if i can get it working again :) |
A wish:
Make a DB, where the top 10 most searched names are stored of all the searches made. That would be really of some good, so admin would know, what they're users are after for. |
Mine's not working quite right. When I search for something that's already been searched for (logged in as a regular member; not an admin), it does not appear on the Last 10 listing...... if say, it was searched for 20 or 30 searches ago.
The "last 10" list only shows search strings that have NEVER been searched for before. How do we dump old searches so people can find them again? |
Hello? Please help.
This is a great hack. But when we search for something that's already been searched for..... it won't show up on the "Last 10 Searches" list. That's not how this function works here. So what's wrong with the code? What do I do? Thanks!! |
Jump on my site and check out my search page. Play with it a bit and see if it does what you want. If it does, let me know and I can give you the modified code that I use for the hack.
|
Ohh, yes. That's a lovely arrangement, Boof..... except for your dreadful color scheme and that gawd-awful mouse flapping around all over the place. ;) (He's so much like our wild banana-man.)
:banana: :banana: :banana: That would really help to see the code you're using. (Thanks!) Maybe then I could spot the problem with mine.... figure out why it won't let us list the same search twice. I've made a few of the same changes you did at the top - mostly the way Chen set this up here. But then I gave up trying to get rid of the lines between rows. I know that's a very simple change to make..... just very annoying that I couldn't find what I was looking for. As usual, you made some very nice changes to the basic hack. I really like what you've done with the central search section. On our search page (here), I also added the Google-Web Search hack at the bottom. |
You know, attacking my mascot (the mouse) is not nice, young lady. ;) And he's not "flapping", he's dancing. His twin brother is on the vBHome Lite page (www.bearfacts2.com).
The central search section is because I added the MySQL 4 Search hack (here at vb.org). If you are running MySQL version 4 on your host server, you can run this hack, too. I can pm you the instructions for my search setup if you want them. The part for the code without the lines is in there, too. Jump on the site and pm me if you want it, and I will get it to you. |
Quote:
:p (I'll be right over.) |
You need to turn on private messaging on the site or I can't send you anything. ;)
|
(Hehe.... what an impatient fella, he is.)
|
I really appreciate your help, Boof. I guess the problem is something to do with how my database tables are set up or the way my query is running..... maybe?
When I installed the hack, I moved the columns and variables around like they did at this site ..... (it's a nicer layout). Looks like you did the same thing in the code you sent me. Only you figured out how to also get rid of the lines (which I couldn't do). Just to be sure, though, I threw out my formatting changes and overwrote that portion of my code with yours. (Thankfully, we didn't pick up any stray hairs from that jumping rat you hang out with.) :cheeky: Even so.... the search list indexing still doesn't work the same way at my site as it does at your site. Even when this part of our php file and our template were the same for this hack. So I guess that leaves the database as the place to check, right? Or maybe there's some other instruction further up in the search.php file that has an affect on this? (I am using an older vB 2.2.6...... but then, this hack has been out for a while, too.) You can see how the search list is displayed in the screenshot I attached here. I put a red mark by the ones I searched for a second time. See how the date was overwritten? And these two items stayed on the list in the same position. They didn't repeat and didn't move up to the top like yours does. And when I searched again for a keyword that's already dropped off the list ..... it didn't show up at all. |
That's how it is supposed to work. That's how it works on my site. The only way it will add a new entry on the list for a word that is already on the list is if the amount of posts that has that word in it has changed. Go ahead and make a test message with one of the words on the list in it and then do another search for that word and you will see what I mean.
|
No, it doesn't. That's what I checked there last night.
Go look at your search list now and you'll see the keyword search for "testing" is listed three different times..... and always in the order in which it was searched. At my site, the previous instance gets overwritten. And it won't show at all if it's something that has been on the list previously. |
Hey..... I see now. Those "testing" searches did show up again because there were new posts in the result that weren't included in the earlier searches.
I just went there and picked a different keyword already on your list. No new posts have been made containing the word "mouse," (lol..... no wonder?) ..... so it didn't need a new entry. Just changed the date/time. |
I just looked at it and the amount of post matches is different for each instance of "testing". When I was testing it yesterday, the only thing that was changing for a word that was already in the list, was the time was being overwritten if I searched for a word that was already on the list, which is what it should do instead of having the same word listed over and over. ;)
|
LOL We wrote at the same time. Is that how you wanted it to work?
|
All times are GMT. The time now is 11:56 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|