Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB Easy Archive - Search Engine Spiderable Hack! Details »»
vB Easy Archive - Search Engine Spiderable Hack!
Version: 1.0 Beta, by Xenon Xenon is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 3.5.0 Beta 1 Rating:
Released: 06-19-2005 Last Update: 06-19-2005 Installs: 38
Additional Files Is in Beta Stage  
No support by the author.

Ok, as a lot of users have installed my vB Easy Archive Hack i've decided to release a vB3.5 Version as well. Note that vB3.5 is currently in beta, and so is my hack as well!

As vB3 already comes with an build in Archive System, it's not that needed than it was in vb2, but for all of you, who have installed the vb2 version and don't want to loose their indexed Pages, this one is for you

I'm lazy and therefore will copy the Releasetext of vb2 by SkuZZy.

About this hack

This hack will help get all your threads listed in google and other search engines and get your threads easily spidered! It works by creating an archive and turning all your posts into .html format. It doesn't actually create the .html files though, but google thinks they are real! It uses mod_mime. If you don't have mod_mime, you will still be able to install this hack, just read the install.txt for help then.

What does it do?

The purpose of this hack are to get your keywords from your forums listed in google and get people visiting them! Since these are all pure text and don't use tables or excess font tags, they are very friendly on bandwidth! This will display all your files in a nice text format that google will absolutely love! Visit the online demo below to see it in action!

Online Demo

To view a demo of this script, visit this site:
http://www.strategy-forum.de/easy_archive/

Requirements

Apache
vBulletin 3.x
mod_mime installed (not absolutelly required, but recommended)
.htaccess
5 minutes of your time...


Known Problems/Confusion

Mod_mime - It is recommended to have mod_mime installed to run these scripts. Mod_mime is a free module which enables a directive called "ForceType". This allows you to use the .htaccess file included to force your files into php mode, which allows simple URL's, without .php in them. If you can see the front page of your archive, but get an error page when you click on any links then this is your problem. To fix it, you will need to install mod_mime, or ask your host to do it. It's a FREE module. For more information, visit http://httpd.apache.org/docs/mod/mod_mime.html
If you want to run vb Easy Archive without mod_mie, please look into the install.txt

Private forums - Private forums are NOT shown and they will NOT be spidered. Some people say the private forums show up, that is because you are logged in as the admin and the archive uses permissions. So anyone who has permission to view the private forums on your forums, will beable to view them on the archives also. But if you log out of your account OR log into an account that doesn't have access to them, then you won't beable to view them

Forumlist yes, but threadlist no - https://vborg.vbsupport.ru/showpost....5&postcount=91
https://vborg.vbsupport.ru/showpost....&postcount=153

Credits
SkuZZy aka Adam J. de Jaray, who gets my Special Thanks for his modifications, releasing and of course his Support to my Script's vb2 version. Note, he does not have anything to do with the vb3 version, but without him, there wouldn't have been the vb2 version and therefore i would never have released the one for vb3

Agreement

By using these scripts & installing them, you agree to leave the small (virtually unnoticable) copyright text and links at the bottom of all pages. You also agree to leave jelsoft's copyright there as well. You can modify the scripts much as you want, but this portion must remain intact (links must stay) and visible. This is all I ask

Download Final

To install, just download the file below and open the "install.txt" file. All is explained there. Installation should only take a couple of minutes. If you have problems with this script, post them in this thread and I will try and get around to answering them.

Show Your Support

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

Comments
  #12  
Old 06-23-2005, 07:33 PM
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Location: New Zealand
Posts: 2,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Private forums are NOT shown and they will NOT be spidered. Some people say the private forums show up, that is because you are logged in as the admin and the archive uses permissions. So anyone who has permission to view the private forums on your forums, will beable to view them on the archives also. But if you log out of your account OR log into an account that doesn't have access to them, then you won't beable to view them
I beg to differ. As a Guest, I am able to see all my Staff Forums. Granted, not able to see the content, but the forum name and titles.
Reply With Quote
  #13  
Old 06-26-2005, 05:55 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm, would be very wierd, as the permission system worked in 3.0.x and i just changed the function names to work with 3.5.x, so there shouldn't be a difference normally.

but the hack is still in beta as said, i'll look at it when i have time again
Reply With Quote
  #14  
Old 06-29-2005, 08:33 PM
coffeefix coffeefix is offline
 
Join Date: Apr 2005
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As a guest I can see my staff forums as well. Also if I try to click on any forum shown I get taken to a page not found on this server error.
Reply With Quote
  #15  
Old 07-03-2005, 01:32 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the server error is something different.
thats a server issue, read through the 3.0.x thread to find out what to do.

i'll take a look into the other thing.
Reply With Quote
  #16  
Old 07-21-2005, 05:33 AM
monstergamer's Avatar
monstergamer monstergamer is offline
 
Join Date: Feb 2003
Location: around the corner
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i am having problems with this one, i install you last one and work like a charm, although i had to use the AcceptPathInfo On in the .htaccess file

this time i use it and i can get to some pages
PHP Code:
<?php
##############################################################
### vB Easy Archive (vb3.5) - Released on June 20th, 2005  ###
### Scripts created by Stefan "Xenon" Kaeser               ###
### Copyright info MUST stay on the bottom of all scripts ####
#### Visit http://www.vbulletin.org for updated versions! ####
##############################################################

error_reporting(E_ALL & ~E_NOTICE);
define('THIS_SCRIPT''easy_archive_topic');

require(
'config.php');
//require_once('./includes/functions_showthread.php');

$DB_site = &$vbulletin->db;

$vars fetch_vars_array();
$threadid $vars['id'];
$pagenumber $vars['pagenumber'];


$threadinfo verify_id('thread'$threadid11);

if ((!
$thread['visible'] OR $thread['isdeleted']) AND !can_moderate($thread['forumid']))
{
    
archive_output('Invalid thread!');
}

$foruminfo fetch_foruminfo($threadinfo['forumid']);

$forumperms fetch_permissions($threadinfo['forumid']);
if (!(
$forumperms $vbulletin->bf_ugp_forumpermissions['canview']))
{
    
print_no_permission();
}
if (!(
$forumperms $vbulletin->bf_ugp_forumpermissions['canviewothers']) AND ($thread['postuserid'] != $bbuserinfo['userid'] OR $bbuserinfo['userid'] == 0))
{
    
print_no_permission();
}
// check if there is a forum password and if so, ensure the user has it set
verify_forum_password($foruminfo['forumid'], $foruminfo['password']);

$postcount $DB_site->query_first("
    SELECT COUNT(postid) AS posts
    FROM " 
TABLE_PREFIX "post AS post
    LEFT JOIN " 
TABLE_PREFIX "deletionlog AS deletionlog ON(post.postid = deletionlog.primaryid AND type = 'post')
    WHERE threadid = 
$threadid
        AND visible = 1
        AND deletionlog.primaryid IS NULL
"
);

$pagination fetch_pagelinks($postcount['posts'], 'topic/' $threadid);

$posts $DB_site->query("
    SELECT post.*
    FROM " 
TABLE_PREFIX "post AS post
    LEFT JOIN " 
TABLE_PREFIX "deletionlog AS deletionlog ON(post.postid = deletionlog.primaryid AND type = 'post')
    WHERE threadid = 
$threadid
        AND visible = 1
        AND deletionlog.primaryid IS NULL
    ORDER BY post.dateline
    LIMIT " 
. (($pagenumber 1) * 200) . ", 200
"
);

require_once(
DIR '/includes/class_bbcode.php');
$bbcode_parser =& new vB_BbCodeParser($vbulletinfetch_tag_list());


$postbits '';
while (
$post $DB_site->fetch_array($posts))
{
    
$postbits .= "
        Posted by: <b>
$post[username]</b><br /><br />
        " 
$bbcode_parser->parse($post['pagetext'], $threadinfo['forumid'], true) . "
        <br /><br /><hr /><br />
    "
;
}
archive_output("
    
$pagination<br />
    <hr />
    <center>
        <b><h1><font color=\"red\">
            
$threadinfo[title]
        </font></h1></b>
        <font size=\"3\" color=\"red\">
            <a href=\"
$forumurl/showthread.php?threadid=$threadinfo[threadid]\">(Click here to view the original thread with full colors/images)</a>
        </font>
    </center>
    <hr />
    <br />
    
$postbits
"
);
?>
could you please tell me if i did some thing wrong?
Reply With Quote
  #17  
Old 07-21-2005, 06:47 AM
monstergamer's Avatar
monstergamer monstergamer is offline
 
Join Date: Feb 2003
Location: around the corner
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i got it to work but there is a small problem...I am getting a Invalid thread! when i go to a topic. every thing else works fine except that
Reply With Quote
  #18  
Old 07-22-2005, 05:43 PM
krohnathlonman krohnathlonman is offline
 
Join Date: Feb 2004
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So far I've found where you've hard coded /forum/ so the people like me have to find wherever you've hardcoded that and insert .php
Reply With Quote
  #19  
Old 07-24-2005, 05:53 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i think i just hardcoded it in config.php
Reply With Quote
  #20  
Old 07-24-2005, 10:01 PM
monstergamer's Avatar
monstergamer monstergamer is offline
 
Join Date: Feb 2003
Location: around the corner
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i got it to work...just my luck...but the links to go back to the site and missing my sub folder

EX. www.monstergamer.net/vb/blah

and in my config i have it right with out the ending /
some reason it does not add it
Reply With Quote
  #21  
Old 07-31-2005, 09:23 PM
monstergamer's Avatar
monstergamer monstergamer is offline
 
Join Date: Feb 2003
Location: around the corner
Posts: 433
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

members get and Invalid thread! page when i go to all the topics.

but admins and supermods can see it...no one else can
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 06:07 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.05619 seconds
  • Memory Usage 2,340KB
  • Queries Executed 25 (?)
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)bbcode_php
  • (1)bbcode_quote
  • (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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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