![]() |
Ocean, thanks for the reply
thats what i was getting at. do you know how i might modify the search.php file to make the default sort by creation date? |
Quote:
PHP Code:
2. Change it to this: PHP Code:
3. Now, Find: PHP Code:
4. And change that to this: PHP Code:
That should do it! :) |
|
Quote:
In the "Search.php" file, Find: PHP Code:
Replace it with this: PHP Code:
|
I tied that as well, no luck ......theres another instance of laspost just after that as well that i tried changing to no work either.
|
Quote:
|
Quote:
|
I tried to install this but I cant.
******************************** 30. Now, Find: ********** case 'postusername': $sqlsortfield = $sortfield; break; ******************************** That is to find on the subscription.php fiel but I cant find that in there. Im runing VB 3.0.3 How can I do it? |
Quote:
In addition, a lot of text editors have a problem doing searches that include a line break. So, try searching for just "case 'postusername':" and make sure that the instance you find is the correct one by visually matching the surrounding code to the code specified it the Instructions. :) |
Ah great Ocean
btw one question How can I had a new template to the VB? Im trying to add some other hacks that require a new template but I dont knwo hwo to find it. I'll let you know in a bit how this hack of yours works :) (if I got it installed.) |
All times are GMT. The time now is 02:03 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:
|