If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Messages posted by: jennbell
Forum Index » Profile for jennbell » Messages posted by jennbell
Author Message
I am glad I could help.
I hope it stops the posts too.
the robots.txt goes in the www directory, because that is the website root directory.

and this goes in that robots.txt in the websites root directory

User-agent: *
Disallow: /nameoffolder/

If you have the / behind the name of folder then it will not block anything else that may happen to be named the same
for example if you dont put it there and you put this in your robots.txt
User-agent: *
Disallow: /image
then it will block anything named image, any pictures, html, or folders. so it is very important to put the / there.
And like carbonize suggested there is that website for more help
Did you change the base url in your config.inc.php?
$GB_PG["base_url"] = ""; /* e.g http://www.yourdomain.com/nameoffolder*/

It seems that somewhere the [base_url] was not changed.
The robots.txt is to be in your root directory. Usually you have to make one yourself.

What you will want to put in it is

User-agent: *
Disallow: /nameoffolder/

And the bots should not index this folder, or even scan it.
If you do not have a robots.txt you will have to make one, then throw it over to your server. but you want to make sure you name robots.txt all in lower case. It will not work otherwise.
I have already renamed the folder twice.
From what I hear and have read, 2.4.2 still gets spam as well. I was just trying to figure out if there was any other options to see if the spammers are coming directly to the board, or if they are just using the php file, and more ways of securing the form.
I am running 2.3.1 and I am getting many spams to my board, I managed to implement another verification code to have double the security, but I am still getting spam, and I dont believe the people are actually visiting the site to spam the board. I have renamed the folder, renamed the php script, and even tried to make a password in order to post (which I wasnt able to get working) so my questions are:
1) what can I do?
2) is there any way I can tell through the script if they are visiting the site board, or if it is just the php file for posting?
I am still having problems trying to figure out how to get this to work, and have also come across this error on the page.

Line 124
Char 10
Error: Syntax Error
Code 0
"pass_comment" is being called up in add.class
as a var
and also have it called up like
$this->need_pass = (pass_comment) ? true : false;

and also have added this to the add.class

" if ($this->db->VARS["pass_comment"]==1) {
if ($this->db->pass_comment($this->pass_comment)) {
return $this->db->gb_error($this->db->LANG["ErrorPost9"]);
} } "


and also have this
} if ($this->pass_comment) {
$this->db->query("DELETE FROM {$this->table['cap']} WHERE session_id = '{$this->token}'");
I just basically moved the password from the comment php to the form.php, and put all of the required fields in the add-class.
So if the gb_token is empty that would certianly make sense....how might I fix that?
the captcha is off, and I still get the same error


Now, I can post, but it does not matter if the password is filled in or not. because it posts regardless.
yes, even with the proper password filled in, I get that error
**website url removed**


this is with the changes I have made.
I am also getting an error on the page, that I can not seem to find.
No, I am not using 2.4.2, I am using 2.4.1
 
Forum Index » Profile for jennbell » Messages posted by jennbell
Go to:   
Based on the open source JForum