Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Cache Cannon - Search Engine friendly + plus archive tool. Details »»
Cache Cannon - Search Engine friendly + plus archive tool.
Version: 1.00, by buro9 buro9 is offline
Developer Last Online: Jul 2012 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-10-2002 Last Update: Never Installs: 5
Is in Beta Stage  
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-11-2002, 08:03 PM
Brian Brian is offline
 
Join Date: Nov 2001
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed and changed the chmod from 755 to 777 as I am running php in safe mode. However i get the following error:

Please wait... doing page 1
Dumping to ../archive/11335/8679.htm
error opening file
Reply With Quote
  #3  
Old 03-12-2002, 02:18 AM
MrLister's Avatar
MrLister MrLister is offline
 
Join Date: Oct 2001
Posts: 434
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any demo maybe?
Reply With Quote
  #4  
Old 03-12-2002, 04:02 AM
Robert9 Robert9 is offline
 
Join Date: Oct 2001
Location: super
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah, demo would be great!
Reply With Quote
  #5  
Old 03-12-2002, 04:59 AM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, where's the demo!

erm... well give me a chance to finish it and a demo will be up.
Probably be my live site...

As there is no indexer yet, the only demo would be looking at the docroot to see what is produced.

I'm currently working on foxserv at home... once I finish the indexer and move to live I shall make available the indexes as the demo.

Again, at this point this beta is for developers and is not a finished hack by any means... core functionality in place... yet to finish indexer, without the indexer this script is pretty useless (no point in dumping files if there's no links between them as nothing for users or spiders to follow).

Brian, re: the 777 permissions... this will grant read/write/execute permissions... are you sure?

755 is bad enough with the global read/execute, does this not work for you?

i'm not running php safe mode, but i shall investigate precisely the implications of this and will provide a switch to accomodate this in the final version.

for the meantime, any developers wishing to install are recommended to try it at home on foxserv first, and then move to their live environment when happy.

Cheers

David K
Reply With Quote
  #6  
Old 03-12-2002, 05:11 AM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Brian,

Had a look at safe mode, it shouldn't affect what we're doing.

The chmod I had left in there merely sets the directory permissions. 0755 directory root (read/write/execute), local(read/execute), global (read/execute).

The files were not affected since they are static, we just need permissions to write the file to the folder.

In the PHP manual there was concern from one user that chmod didn't work whilst in safe mode:
http://www.php.net/manual/en/function.chmod.php
But I shall find out for sure.

You should not need to change from 0755 for the purpose of creating directories. Some providers will set 0777 as a security flaw and will block writing to the folder (mine does this), so using 0777 may actually prevent it from working.

Does this still happen under 0755?

Let me know.

Cheers

David K
Reply With Quote
  #7  
Old 03-12-2002, 12:58 PM
rawnet's Avatar
rawnet rawnet is offline
 
Join Date: Oct 2001
Location: London, UK
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can we use this under a Windows2000 environment or is this *nix only?
Reply With Quote
  #8  
Old 03-12-2002, 02:19 PM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should be fine for use in Windows 2000, since that is what I developed it in.

I unfortunately don't have a dedicated *nix box, so I develop using FoxServ on Windows XP or Windows 2000.

Whilst this means I may have to add tweaks once I get it to my redhat shared server, it will mean that it will always work on Windows environments.

Cheers

David K
Reply With Quote
  #9  
Old 03-12-2002, 10:04 PM
jamesdasher jamesdasher is offline
 
Join Date: Oct 2001
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm excited but for a different reason :-) you are saying that this dumps all posts from a dynamic page into a static page?? If so it sounds like it will give me a start on my Palm/AvantGo related thing that I wanted to mess with

James
Reply With Quote
  #10  
Old 03-13-2002, 05:28 AM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Indeed, as static files there would be no reason you couldn't zip and download to a palm, or even format as wml... the process would be built for you, you'd just need to create a new template for it's display!

Wait until we finish it though
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:37 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04772 seconds
  • Memory Usage 2,287KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete