| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
alexzive
Joined: 21 Jan 2007 Posts: 7
|
Posted: Sun Jan 21, 2007 2:59 pm Post subject: problem editing "search.php" |
|
|
Hello,
I have a problem by installing the mod.
I cannot find the following linecode in my search.php that is necessary to be found to perform the mod:
| Code: |
for($i = 0; $i < count($searchset); $i++)
{" |
and the version of my search.php file is
$Id: search.php,v 1.72.2.20 2006/05/20 14:01:48 grahamje Exp $
I never modified it before!
thank you for any help!
Bye , Alex |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15129
|
Posted: Sun Jan 21, 2007 3:35 pm Post subject: Re: problem editing "search.php" |
|
|
And welcome
Well, it looks like you're using a premodded file or something, because the vanilla search.php $id is :
| Code: |
$Id: search.php,v 1.72.2.21 2006/12/16 13:11:25 acydburn Exp $ |
Have you tried to only search for :
| Code: | | for($i = 0; $i < count($searchset); $i++) |
in order to find the code snippet ?
So please confirm what kind of phpBB forum you're using, if not vanilla.
You can as well provide with a dl link to a zip containing your search.php file so I can take a look at it
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
alexzive
Joined: 21 Jan 2007 Posts: 7
|
Posted: Sun Jan 21, 2007 3:54 pm Post subject: Re: problem editing "search.php" |
|
|
of course and thank you for your fast reply.
I already checked the single snippnet but nothing.
My search.php file is here:
http://www.progressforum.org/upload/search.zip
I also put my functionS.php that is in my "includes/".
I noticed in your mod it is indicated "include" and "function,php" (both without S at the end)
Could you also check if the file in the zip is the same to be modified as the function.php?
My installed phpBB2 version is:
phpBB 2.0.21
THANK YOU SO MUCH! |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15129
|
Posted: Sun Jan 21, 2007 3:57 pm Post subject: Re: problem editing "search.php" |
|
|
it's a spelling, it's functions.php
So your functions.php is ok.
Then, I do not get it why you do not have the same file header as phpBB.com ones, but, the code to search for is in this file :
| Code: |
for($i = 0; $i < count($searchset); $i++)
{ |
You'll find it searching for :
| Code: | | for($i = 0; $i < count($searchset); $i++) |
Then there is some code to add before and after, that's all
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
alexzive
Joined: 21 Jan 2007 Posts: 7
|
Posted: Sun Jan 21, 2007 4:09 pm Post subject: Re: problem editing "search.php" |
|
|
oh I found out the problem!
It was the editor of dreamweaver..I don´t know why but it is unable to find the string, with wordpad all is fine!
Thank you very much for your great support!
au revoir:) |
|
|
| Back to top |
|
 |
|
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |