![]() |
Quote:
|
I found the fix! Play with it long enough and it usually works out. ;) The following code works for vb.org:
PHP Code:
|
Quote:
Sweet! it looks good! |
@Boofo - Um thats what I posted with a little bit less pre-defined data:
Code:
<form action="https://vborg.vbsupport.ru/search.php" method="post" target="_blank"> @csidlernet - Thanks:) Satan |
And that's why it worked. For some reason, it doesn't need all the pre-definitions that you had there. They were interfering with it. Actually, I used the definitions filburt has in his forumhome quick search hack and that worked.
And you didn't have the $session[sessionhash] in yours. |
Oh...
Because I don't use sessionhash;):p Fair enough - I was just trying to make it more accurate;) Satan |
More accurate is great if it works. Thanks for trying though. It gave me a place to start.
|
Yeh....I think shovel is gonna do some kind of page where you can search more accurately, pretty much like the vB.org search page only on your site;)
Satan |
W00t!
Boofo the code worked. I can now set my control panel as my home page ;) |
Strange how you guys get blank pages. Just so hellsatan doesn't go crazy it also works for my admin panel. Great work, hellsatan. Makes searching a lot easier. Kudos.
Quote:
|
Second image.
|
Cheers WEForums;)
I was sure I am crazy, but I was sure that it worked nevertheless:D Maybe it is because of certain hacks they have installed and we have not?:) Satan |
That's probably the case. That is the first edit in that part of the /admin/index.php file ever, so that could be it.
|
wow, this is an awesome hack...and easy to install for n00bs like me :)
|
LOL Chris, are you ready for this? Here is the exact code I am using now for this. Look familiar? And now it decides to work.
PHP Code:
|
I'm telling you Bob you were definately staring at that screen for too long:p
So I did make viable code:D:p Satan |
Now I'm curious as to what changed on my end to make it work. It did not work before, all I got was a blank screen or the vb.org search page. And I haven't changed anything at all in the admin/index.php. :surprised:
|
Maybe your host did an upgrade of something and for some reason it worked:eek:
Satan |
The only change I noticed is this: MySQL v4.0.12, which was done over 5 days ago and should have nothing to do with searching vb.org. I don't know, but it's working, that's all that matters. ;)
|
Quote:
|
Can somebody test this code in place of the old vB.com search? Thanks.
PHP Code:
|
Tested:)
You need a search field;):p Satan |
2 corrections:)
Code:
<form action="http://www.vbulletin.com/forum/search.php" method="post" name="vbform"> Code:
<form action="http://www.vbulletin.com/forum/search.php" method="post" name="vbform" target="_blank"> Code:
<td><type="text" class="bginput" name="query" size="30" value="" tabindex="1" /> <select name="forumchoice[]" tabindex="3"> Code:
<td><input type="text" class="bginput" name="query" size="30" value="" tabindex="1" /> <select name="forumchoice[]" tabindex="3"> Satan |
Oops. Lol! Thanks Chris!
FIXED! |
Very nice. Looks tons better and much more impressive. Good job shovel and hellsatan. :)
|
NP shovel;):)
Satan |
Quote:
|
I've made a couple of useful (to me, anyway) tweaks for this hack. If you replace:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Oh that's neat. Thanks Bob. :)
|
Nice idea Bob, but I removed the links on mine due to the fact that IMO it looks too clustered...
What I might do, is add 3 links at the bottom of the table saying "Get New Posts", 2 with the ones you put above, and one with: PHP Code:
Satan |
What do you mean "too clustered"? By doing it that way, you just make the words into a link. Clustered would be more like adding 3 more links than needed. And one of those links is for vbulletin.com. You won't get anything by doing "&action=getnew" on vb3, you have to use "?do=getnew". I got it straight off of their site.
|
I know Boofo me old plum - I forgot to change the name of the Search;):p
And I didn't like the large mass of links - It makes it look clustered;) Satan |
Quote:
|
I hate the do;)
Satan |
well i gotta get some php books now :)
btw im thinking about using this but is there a way to posibly get the forums auto and not have it in the source i doubt it posibile but i dont know much about php |
If you wanted to get the forums automatically entered for your own site, it is possible, but other sites you cannot (to my knowledge:()
Satan |
No, but I'm looking at trying to search a given url for keywords using maybe JScript or PHP.
|
All times are GMT. The time now is 06:54 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:
|