The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Cache Cannon - Search Engine friendly + plus archive tool. Details »» | |||||||||||||||||||||||||||
Cache Cannon - Search Engine friendly + plus archive tool.
Developer Last Online: Jul 2012
This is a first release beta.
I had hoped to finish it before now, but the past week of vb 2.2.3 > 2.2.3b > 2.2.3c > 2.2.4 means that I have lost nearly all my spare time in upgrading boards and re-applying hacks!!! Thanks vb! Anyhow... the cache cannon is a simple script that will loop through the database and will, in essence, splurge every post onto the docroot in the form of a static file. In this first beta the functionality of splurging onto the docroot is intact, as is the control panel interface. Still to be done is indexing the resultant directory structures (for the search engine spiders to follow) and prettying up the resultant file. This is released here as a first beta only, and is for developers only to aid it's improvement. I do aim to finish this within the next fortnight, but in light of my lost time though it wiser to just get it out there for the meantime! Cheers David K PS: Should've stated more clearly it's purpose! It's designed to perform this splurging primarily to aid with sites being indexed by search engines. Because they are static files they can be indexed quicker, and you can tweak the format to enhance the hit rate. A second purpose of it is as a static archive of your board. It you are going to upgrade... want to start over, or are just spring cleaning and would like to archive posts in a static method outside of the database, then this will also serve you. Edited for new version on 2002-03-20 21:11 GMT Show Your Support
|
Comments |
#22
|
|||
|
|||
Please wait... doing page 1
Warning: MkDir failed (Permission denied) in /home/sportcom/public_html/vbulletin/admin/cachecannonfunctions.php on line 44 Warning: MkDir failed (No such file or directory) in /home/sportcom/public_html/vbulletin/admin/cachecannonfunctions.php on line 51 Warning: MkDir failed (No such file or directory) in /home/sportcom/public_html/vbulletin/admin/cachecannonfunctions.php on line 51 Dumping to ../archive/f_19/t_298/p_3335.htm Warning: fopen("../archive/f_19/t_298/p_3335.htm", "w") - No such file or directory in /home/sportcom/public_html/vbulletin/admin/cachecannonfunctions.php on line 94 error opening file I got that error after installing and attempting to run. I'm on a linux server and it appears to be permissions problems. What would I do to remedy this? |
#23
|
|||
|
|||
line 44 is part of the following:
PHP Code:
if a directory doesn't exist, it will attempt to create it. it probably failed on the first iteration of this... that's the 'archive' directory if you kept the defaults. what this means is that you need to make the 'forum' directory local writeable so that the script can create the directory. once it's got one created, the others should be fine as it assigns the relevant permissions as it goes. you can change the permissions on the forum directoy by telneting in and using the chmod command, something like: chmod 0755 forum this should solve it cheers david k |
#24
|
||||
|
||||
Very nice! I am excited to see how this progresses. Exactly what I was looking for in my attempt to make my forums more search engine friendly yet at the same time not risk overloading the SQL server due to mod rewrite full speed spiders...
|
#25
|
|||
|
|||
How is this progressing Mr Buro9? I'm waiting patiently.
|
#26
|
|||
|
|||
Awesome job on this hack. I have it installed over at http://www.sportcompactracing.com/vb...hive/index.htm and at www.haiparts.com/vbulletin/archive/index.htm
The only thing I can suggest is for you to allow us to specify the number of posts to INDEX at once. Mine does fine pulling the threads from the forum, but when it comes to indexing it always times out before it finishes. |
#27
|
|||
|
|||
Hi, I also get the permission error -
But on my Windows IIS the SYSTEM is given Full Control. Am i missing something? Thanks in advance. |
#28
|
|||
|
|||
Bad news for you all I'm afraid, I've been fighting with safe_mode for the past few weeks and I simply cannot code around it.
Believe me I've tried. safe_mode is on at my host, and the person I was really making this for also has safe_mode on (though I didn't really appreciate the implications of that!). Without a way to write files, overwrite them, delete from within PHP and without root permissions this is of no use to me. As such I'm going to stop development. It's heavily commented and pretty cleanly laid out (not bad for my first php stab) so if anyone else wants to pick it up, please feel free. It's good enough to work on all non-safe_mode boxes, and with small tweaks you could add the other features that I had intended. And if you ever need to to splurge files onto a docroot, it's quite neatly in here Hope this isn't too much of a blow, but you must appreciate that I've been trying to make this hack for myself, someone here and a few other vb users... all of whom this is useless to. Though I am considering writing the same thing in PERL and ASP so that we can all have it anyway but not get restricted by a silly option in php.ini Cheers and thanks for the support... not a bad experience for a first hack, so I'll be tempted to try another one equally ambitious soon Cheers David K http://www.buro9.com/forum/ |
#29
|
|||
|
|||
Hey, buro9 I am not all that good at this kind of thing, but I did like where you were going with it and would like to work with it more. Could you email me what you have?
jamesdasher@wwdb.org Thanks James |
#30
|
||||
|
||||
dommage......
it was great to read you guys all over from the very beginning of overgrow's thread to here... |
#31
|
|||
|
|||
It's not working for me:
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|