The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
I am tired of my 200,000 posts not being listed in Google. I was inspired by phpbuilder.com this morning and I wrote:
vbSpiderFriend - the search engine indexer for all of your posts Purpose: Allow search engine spiders to crawl a linked list of all of your posts. Project Requirements: -Friendly URLs (no query strings) -Good dynamic meta tags -Never have to touch the script again.. It is Y3K compliant, simply re-submit to the engines to update your listings Install Requirements: -vBulletin 1.x or 2.x -about 10 minutes 1) Download the attached Zip. 2) Open class.mysql.php and put your database login info at the top. 3) Create a new directory called archive under your forum, like /forum/archive 4) Open the included .htaccess and change the Error 404 to your new archive path. 5) Open index.php and change the self-explanatory variables at the top of the file. 6) Upload all 3 files to your archive directory. 7) Submit /forum/archive/index.php to search engines and watch em crawl DISCLAIMER: I don't use 2.x but I checked the schema and this should work fine. NOTES: This uses ErrorDocument and query string parsing to get the variables needed. I do not have the time or energy to troubleshoot this if it does not work on your server. Sorry! Show Your Support
|
Comments |
#22
|
|||
|
|||
Quote:
|
#23
|
||||
|
||||
Quote:
|
#24
|
||||
|
||||
Just finished installing this hack but am having some problems.
I'm getting the error: "Fatal error: Call to unsupported or undefined function htmlheader() in /home/keith/webdevforums-www/archive/index.php on line 76" where line 70-78 reads: Code:
header("Status: 200 OK"); //echo "<br> <br>$forumID - $year - $month - $week - $threadID"; if (empty($forumID)) { htmlHeader(); forumList(); exit; |
#25
|
||||
|
||||
Sorry... please forgive my sloppy coding. I'm running a fever and worshipping the porcelain god. You can either replace the forumList function with that below, or download the new zip:
Code:
function forumList() { global $db,$baseURL,$privateForums; echo "Archives<br>"; $privateForums=preg_replace("/^\|/","",$privateForums); $privateForums=preg_replace("/\|$/","",$privateForums); $pfs = explode("|",$privateForums); $whereclause=""; $wherecounter=0; while($pf=array_shift($pfs)) { if(ereg("[0-9]",$pf)) { if($wherecounter==0) { $whereclause= " WHERE forumid!='$pf'"; $wherecounter++; } else { $whereclause .= " AND forumid!='$pf'"; } } } $query = "SELECT title,forumid FROM forum$whereclause ORDER BY forumid ASC"; $data = $db->select($query); if(!empty($data)) { while ( list ( $key,$forum ) = each ($data)) { echo spacer(1)."<a href=\"$baseURL/$forum[forumid]\">$forum[title]</a><br>"; } } } |
#26
|
||||
|
||||
No clue, coolKeith... Why is your server not capitalizing the function name? See in the code it is htmlHeader() and your server says htmlheader()... Look down in the very bottom of the index.php and you will see the function htmlHeader()... it is there and working. All I can say is try and download it again. If that still doesn't work, change the function name to lower case and see if that helps.
|
#27
|
|||
|
|||
Thanks Overgrow. It works fine.
And i have find out that only forums with id <10 (1-9) makes a reload of index.php, when clicking on the link. |
#28
|
|||
|
|||
Quote:
|
#29
|
|||
|
|||
Just one problem (I hope ) it all loads up ok no errors or anything but when you click on a forum it loads up but where it should look like below
May week1 week2 week3 week4 It just displays a page like below Archives Competition 2001 vbSpiderFriend by ~shabang~ of Overgrow any idea what the problem is no doubt something I've done |
#30
|
|||
|
|||
Here I go again I have sorted the above and the problem was the date is in MM/DD/YYYY I thought I saw DD/MM/YYYY
|
#31
|
||||
|
||||
Sorry.. typical N.American-centric time code eh! But that's the way that the php function strtotime is written...
I'm glad people have this working. Now let's hear the success stories in a few months when spiders actually list our posts. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|