Announcement

Collapse
No announcement yet.

[RELEASE] vbSpiderFriend - Search Engine Friendliness

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Streicher
    replied
    Originally posted by Overgrow
    Thanks guys,

    Streicher, you need to specify which forums are private at the top of index.php. Look for

    $privateForums="|17|18|";

    and put whatever forums in there that should be hidden. Enclose them with |pipes|. Anyone else having these same problems with reloading, etc?
    I know that and i have done it already. But it does not work.

    Leave a comment:


  • Stephan Whelan
    replied
    Originally posted by Overgrow
    Stephan can you give me a link? I use a Raq4i as well and it works for me. I did have to change the access.conf and put Allow Override ALL in there so htaccess could control the errordocument.
    http://forums.deeperblue.net/archive/index.php

    Leave a comment:


  • Overgrow
    replied
    Nicky:

    Here is your error

    "The requested URL /foren/archiv/11 was not found on this server.
    Additionally, a 404 Not Found
    error was encountered while trying to use an ErrorDocument to handle the request."

    That bottom line is the key.. it says your .htaccess is not pointing to the proper file. Edit the .htaccess and play around with it until you get it right. Sometimes the link has to be ../relative sometimes you can make it absolute /foren/archiv/index.php


    Stephan can you give me a link? I use a Raq4i as well and it works for me. I did have to change the access.conf and put Allow Override ALL in there so htaccess could control the errordocument.

    Leave a comment:


  • NickyNet
    replied
    hi..

    great hack..

    but not working for me..

    http://www.nicky.net/foren/archiv/

    Leave a comment:


  • Stephan Whelan
    replied
    Overgrow,

    I'm interested in the hack but can't seem to get it to work.

    I've followed your instructions but am getting an Error 500 Internal Server Error when I try and run the script.

    I'm running on a Cobalt RAQ4i so I don't know if there is a problem with the .htaccess file and the way the RAQ handles it.

    Any ideas?

    Leave a comment:


  • Overgrow
    replied
    Thanks guys,

    Streicher, you need to specify which forums are private at the top of index.php. Look for

    $privateForums="|17|18|";

    and put whatever forums in there that should be hidden. Enclose them with |pipes|. Anyone else having these same problems with reloading, etc?


    Brian, my main target here is google. It does fine on other parts of my site where I do these type of query strings. If you do find that some engines are hesitant, let me know or make the change and tell us what you did.

    Leave a comment:


  • Streicher
    replied
    I have tested your hack and my private forums are not hidden.

    And also some thread are not found, by the index.php

    When i click on some forumlinks the forumpage is simply reloaded.
    Last edited by Streicher; Tue 1 May '01, 12:16am.

    Leave a comment:


  • Brian
    replied
    One suggestion would be to show a suffix (.php , .shtml etc) so that is dynamic so the search engines know to spider it slower than if it was html. If they assume its html they might take on a tone at once as doing that to normal html files should be fine but this is actually doing all the db calls etc.

    Just a suggestion but this is very nice!!

    -Brian

    Leave a comment:


  • Overgrow
    replied
    There ya go.. that is an important addition, eh?

    There's a new zip file up top yonder.. the index.php has a new variable that holds your private forumid's.

    Leave a comment:


  • Chris Schreiber
    replied
    Excellent and easy to install hack, thanks

    I even liked the URL submission tool you linked to!

    Leave a comment:


  • George L
    replied
    great works perfectly now

    one last thing.. how do i prevent private forums from being listed/outputted and indexed ?

    thanks much appreciated
    Last edited by George L; Mon 30 Apr '01, 6:58pm.

    Leave a comment:


  • Overgrow
    replied
    It's just parsing the query string incorrectly, using the year instead of the forum. If you're having trouble like eva, change this:

    Code:
                $forumID=$urlArray[3];
    	$year=$urlArray[4];
    	$month=$urlArray[5];
    	$week=$urlArray[6];
    	$threadID=$urlArray[7];
    to this

    Code:
                $a=0;
    
    	while($urlArray[$a] != "archive") {
    		$a++;
    	}
    
    	$forumID=$urlArray[($a+1)];
    	$year=$urlArray[($a+2)];
    	$month=$urlArray[($a+3)];
    	$week=$urlArray[($a+4)];
    	$threadID=$urlArray[($a+5)];

    Leave a comment:


  • George L
    replied
    i ran this in phpmyadmin and it got mysql query error

    Code:
    SELECT title,threadid,lastpost FROM thread WHERE lastpost > '1136102400' AND lastpost < '1136620800' AND forumid='2000' ORDER BY dateline ASC
    must be the forumid ? i only have 94 forums
    Last edited by George L; Mon 30 Apr '01, 3:50pm.

    Leave a comment:


  • George L
    replied
    it outputs the 'No posts, please go back' message

    Leave a comment:


  • Overgrow
    replied
    Does it tell you "No posts, please go back" ?

    Does it give you a totally blank screen?

    or does it at least show what forum you are in?

    This change is just for eva to troubleshoot... FIND

    Code:
    echo spacer(2)."Dates: $date1 to $date2<br>&nbsp;<br>";
    
    	$query = "SELECT title,threadid,lastpost FROM thread 
    WHERE lastpost > '$ts1' AND lastpost < '$ts2' 
    AND forumid='$forumID' ORDER BY dateline ASC";
    change to

    Code:
    echo spacer(2)."Dates: $date1 to $date2<br>&nbsp;<br>";
    
    	$query = "SELECT title,threadid,lastpost FROM thread 
    WHERE lastpost > '$ts1' AND lastpost < '$ts2' 
    AND forumid='$forumID' ORDER BY dateline ASC";
    
    echo $query;
    Then when it spits the query out, run it in phpmyadmin and see if it is a valid query.

    Leave a comment:

widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X