MyBB Community Forums

Full Version: Google bot and Mybb
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I had a go at the Mybb google bot one for the mybb forums 2 times and both times It didnt work.

FIRST TIME:
i uploaded it right and i got this problem.

Code:
Warning: Unterminated comment starting line 131 in /home/ausnrl/public_html/forums/index.php on line 131

Parse error: parse error, unexpected $ in /home/ausnrl/public_html/forums/index.php on line 131

il re uploaded the original. I Used the code/instructions from the notepad document that comes wiht it.

SECOND TIME:
now i tried again and got this problem.

Code:
Parse error: parse error, unexpected '}', expecting T_VARIABLE or '$' in /home/ausnrl/public_html/forums/index.php on line 286

Once again i put the origiinals back up if anyone has a copy and could give it to me or anyone can assist me it will be most appreciated.
Do you mean the Searchbot_Identifyer Mod?
It could be that I didn't upload the new files since MyBBmods was down a while. I'll reupload them now, and you redownload them and try to install them with the docs/install.htm file.
okok thanks il try and let u no
now have this error

Code:
[code]Parse error: parse error, unexpected $ in /home/ausnrl/public_html/forums/index.php on line 550
[/code]

and on the online.php page

Code:
Parse error: parse error, unexpected '}' in /home/ausnrl/public_html/forums/online.php on line 156

i reuploaded the originals
Do you have any other mods installed? Maybe they can't work together.
Also, can you look into those files and copy the following lines here:
From index.php: lines 548 to 552
From online.php: lines 154 to 158
where abouts in the php document do i add the line numbers you gave me
Lol. He wants you to open index.php and paste lines 548 to 552 in this forum so he can check whats wrong. He also wants you to open online.php and paste lines 154 to 158 in this forum as well. Doing this will give him some idea of whats going on with the code.
o i c now
154-158 online.php

Code:
}
            $botcount = $gcount + $mcount + $avcount + $ajcount + $ycount;
        }
    }

548-552 index.php

Code:
}
    }
    return $forumlisting;
}
eval("\$index = \"".$templates->get("index")."\";");

are u sure it should be 154-158 for index.php and 548-552 for online.php
I don't know what you're doing wrong. Everything seems to be normal. Are you sure you didin't install any other mods?

Can you attach the whole files in a post here?
It's very strange that they don't work. Especially index.php...
Pages: 1 2
Reference URL's