PDA

View Full Version : vB Easy Archive - Search Engine Spiderable Hack!


Xenon
06-19-2005, 10:00 PM
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.php?p=543985&postcount=91
https://vborg.vbsupport.ru/showpost.php?p=631945&postcount=153

Credits
SkuZZy aka Adam J. de Jaray (http://www.dejaray.com), 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 :D

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.

TheComputerGuy
06-21-2005, 01:48 AM
awesome! PLAN TO UPGRADE SOON ENOUGH!

kall
06-21-2005, 06:00 AM
*reads from script*

"Installed and....what's that say? Oh! Working perfectly." :)

http://www.nzboards.com/forums/search

bL@De
06-21-2005, 06:23 AM
Fantastic! I'll install this a little later tonight, that's one of my hacks out of the way :)

Keep up the good work.

Acers
06-21-2005, 02:11 PM
very good man..
grt work.. Will install this once 3.5 comes out officially

Wayne Luke
06-21-2005, 04:23 PM
With more and more search engines able to spider dynamic pages what safeguards are in place with a hack like this to prevent duplicate content penalties?

Xenon
06-21-2005, 05:38 PM
good question.

actually i just made it, so all of those who are already indexed won't have numerous dead links ;)

noppid
06-21-2005, 09:34 PM
Very nice to see this. Thank you.

bL@De
06-22-2005, 09:33 AM
Just for the record this worked like a charm :)

Beermonster
06-23-2005, 06:12 PM
This is a great mod, but when I logout and try to view one of the threads all I get is Invalid thread!, when I log back in it works perfect

kall
06-23-2005, 07:33 PM
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.

Xenon
06-26-2005, 05:55 PM
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 :)

coffeefix
06-29-2005, 08:33 PM
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.

Xenon
07-03-2005, 01:32 PM
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.

monstergamer
07-21-2005, 05:33 AM
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
################################################## ############
### 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', $threadid, 1, 1);

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($vbulletin, fetch_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?

monstergamer
07-21-2005, 06:47 AM
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

krohnathlonman
07-22-2005, 05:43 PM
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

Xenon
07-24-2005, 05:53 PM
i think i just hardcoded it in config.php :)

monstergamer
07-24-2005, 10:01 PM
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

monstergamer
07-31-2005, 09:23 PM
members get and Invalid thread! page when i go to all the topics.

but admins and supermods can see it...no one else can

BamaStangGuy
08-12-2005, 08:15 PM
I get invalid threads as well when logged out or logged in as a non Admin or supermod! Which makes this hack basically pointless right now :devious:

monstergamer
08-13-2005, 09:44 PM
I get invalid threads as well when logged out or logged in as a non Admin or supermod! Which makes this hack basically pointless right now :devious:
hi there Brent, i had the same problem so i did a little edit in the TOPIC file
find
if ((!$thread['visible'] OR $thread['isdeleted']) AND !can_moderate($thread['forumid']))
{
archive_output('Invalid thread!');
}
and take it up and upload again, tell me if that works for you like it did for me

BamaStangGuy
08-17-2005, 08:20 PM
Ok cool that worked.

Now how do I hide my private forums from people that do not have permission to view them?

I know they can not access them but I do not want them to be seen period

BamaStangGuy
09-08-2005, 07:47 AM
Uncached templates: bbcode_quote (3)

Get this when viewing an thread

and I still would like to know why my guests and regular members can see my private forums on the archive forum page.

They can not access them once they click the link but they see they exists.

This is not good

fsw
09-08-2005, 04:38 PM
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



i think i just hardcoded it in config.php



Change Line 59 index.php to this, and then you have.

$forumbits .= '<li /><a href="' . $archive_options['archiveurl'] . '/'.$archive_options['forumfile'].'/' . $forum['forumid'] . '-1.html">' . $forum['title'] . '</a>';

fsw
09-08-2005, 04:42 PM
Also, on your mod to do whatever on extensions.

Why?

Options +MultiViews


In .htaccess or httpd.conf will make it so you can have

http://example.com/_Hi_I_am_a_file_.php

and call it like this

http://example.com/_Hi_I_am_a_file_/and/I/am/lovely/little/variables/that/get/parsed/out/grabing/PHP_SELF/and/I/can/even/still/do/this?userid=1

fsw
09-08-2005, 05:00 PM
You can use the above in any script, with out changing the script, by instead of a url shaped like

https://vborg.vbsupport.ru/newreply.php?do=newreply&noquote=1&p=769734

you instead shape it like

https://vborg.vbsupport.ru/newreply/do/newreply/noquote/1/p/769734

and then on the top of each script


<?
$vars=str_replace("/forum/newreply/","",$PHP_SELF);
$x=explode("/",$vars);
for ($i=0;$i<count($x);$i=$i+2) {
$var=$x[$i];
$val=$x[($i+1)];
$$var=$val;
}

?>



and you have your variables, simple

I used to run something like that on vb 2 back in the old day before the internet.

fsw
09-08-2005, 05:03 PM
(note:I know there is like 1200 better ways to write the above, better methods, etc - but I perfer to stick with as few commands in my toolbox as possible, and master what I can do with them, instead of trying to use the whole scope of the language, and master nothing)

xtreme-mobile
10-02-2005, 09:18 AM
when i click a thread in the archive i get page cannot be displayed any ideas what ive done wrong?

cheers

xtreme-mobile
10-02-2005, 09:32 AM
ok got past this error now but when i click and actuall post it says "invalid post"

any ideas?

dastar
10-02-2005, 11:08 AM
ok got past this error now but when i click and actuall post it says "invalid post"

any ideas?

I have the same problem.

wisam74us
10-03-2005, 12:20 PM
I used this mod with vb 2.x.x and it was working great .. but now with the last version .. I encounter some proble cause with the last version I enroll the title of the forums and topic in the URL :
but I think the new hack reverse the request of forum number
but for the new version it works for the index of the archive but when I click any link I get this error :
Database error in vBulletin 3.5.0:

Invalid SQL:

SELECT threadid, title
FROM thread AS thread
LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread')
WHERE forumid = 15
AND visible = 1
AND deletionlog.primaryid IS NULL
ORDER BY sticky DESC, lastpost DESC
LIMIT -200, 200;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-200, 200' at line 8
Error Number : 1064
Date : Monday, October 3rd 2005 @ 08:16:57 AM
Script : http://host/vb5/upload/vbo/forum/15-%D9%85%D9%86%D8%AA%D8%AF%D9%89-%D8%A7%D9%84%D8%A3%D8%AE%D8%A8%D8%A7%D8%B1-%D8%A7%D9%84%D8%B9%D8%A7%D9%85%D8%A9-1.html
Referrer : host/vb5/upload/vbo/
IP Address : ip
Username : wisam
Classname : vb_database

is there any way to fix this .. or please can the coder of the script tell me if I could use the 2.x.x hack with vb 3.5 making some changes

noppid
10-04-2005, 12:11 AM
ok got past this error now but when i click and actuall post it says "invalid post"

any ideas?


In topic I replaced...


$threadinfo = verify_id('thread', $threadid, 1, 1);


With...


$thread = verify_id('thread', $threadid, 1, 1);
$threadinfo =& $thread;

noppid
10-04-2005, 12:27 AM
and I still would like to know why my guests and regular members can see my private forums on the archive forum page.

They can not access them once they click the link but they see they exists.

This is not good

In index.php I replaced ...


$forumperms = $vbulletin->userinfo['permissions']['forumpermissions']["$forumid"];
if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']) AND $vboptions['hideprivateforums'])



With...


$forumperms = $vbulletin->userinfo['forumpermissions']["$forumid"];
if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']) AND !$vbulletin->options['showprivateforums'])

xtreme-mobile
10-04-2005, 05:49 AM
In topic I replaced...


$threadinfo = verify_id('thread', $threadid, 1, 1);


With...


$thread = verify_id('thread', $threadid, 1, 1);
$threadinfo =& $thread;



where abouts is topic mate :D

noppid
10-04-2005, 01:32 PM
where abouts is topic mate :D

Topic is one of the eight uploaded files. It's actually a php file with no file extension and the .htaccess file makes it work.

Smitty
10-04-2005, 08:20 PM
hi there Brent, i had the same problem so i did a little edit in the TOPIC file
find
if ((!$thread['visible'] OR $thread['isdeleted']) AND !can_moderate($thread['forumid']))
{
archive_output('Invalid thread!');
}
and take it up and upload again, tell me if that works for you like it did for me I must be missing something. I can get the listings, and I can get the threads in the index. I did the change to keep private forums from listing - But, when I click on the "(Click here to view the original thread with full colors/images)" in the thread in the index, instead of it taking me to the forum thread, it leaves off my forum directory so I get a 404. I.e.: my forum is at hxxy: // site.com/Forums/ (long story, but yeah - that's a capital F) - The link leaves off the /Forums/ subdirectory.

I tried the above but it didn't work. What am I doing wrong?? Does this (about line 60) $forumbits .= '<li /><a href="' . $archive_options['archiveurl'] . '/forum/' . $forum['forumid'] . '-1.html">' . $forum['title'] . '</a>'; in index.php have anythng to do with it?

What do you mean by "and take it up"? Do you mean delete it?

*************

EDIT ADD:

In the 'topic' file, about line 86 I replaced: <a href=\"$forumurl/showthread.php?threadid=$threadinfo[threadid]\">(Click here to view the original thread with full colors/images)</a> with <a href=\"showthread.php?threadid=$threadinfo[threadid]\">(Click here to view the original thread with full colors/images)</a>

That change solved my problem of linking to the forum thread via the "(Click here to view the original thread with full colors/images)" link.

FYI - Im the config file I have: // Forums URL - Directory your vbulletin forums are in (NO TRAILING SLASH!)
$archive_options['forumurl'] = 'http://Elsmar.com/Forums';

// Archive URL - The location of these scripts (NO TRAILING SLASH!)
$archive_options['archiveurl'] = 'http://Elsmar.com/Forums/index';

noppid
10-04-2005, 08:51 PM
Here's my fix for the "(Click here to view the original thread with full colors/images)" bad url issue. Notice I also shortened the _REQUEST var to "t" instead of "threadid". That keeps it consistant with the forumdisplay.php output.


<a href=\"$archive_options[forumurl]/showthread.php?t=$threadinfo[threadid]\">(Click here to view the original thread with full colors/images)</a>

Smitty
10-04-2005, 09:03 PM
Here's my fix for the "(Click here to view the original thread with full colors/images)" bad url issue. Notice I also shortened the _REQUEST var to "t" instead of "threadid". That keeps it consistant with the forumdisplay.php output.


<a href=\"$archive_options[forumurl]/showthread.php?t=$threadinfo[threadid]\">(Click here to view the original thread with full colors/images)</a>


Great. Thanks. I did that as well after reading your post - good way to cut down the length.

xtreme-mobile
10-05-2005, 06:07 AM
In topic I replaced...


$threadinfo = verify_id('thread', $threadid, 1, 1);


With...


$thread = verify_id('thread', $threadid, 1, 1);
$threadinfo =& $thread;


sorted cheers mate :)

oh for anyone else doing this when you upload it to your server remove the .php gain cos it will dispaly "page not found" get rid of php and it will work fine :D

thanks noppid

wisam74us
10-06-2005, 12:27 PM
I finished my tests on my back up server and every thing working good .. but yesterday when I moved the staff to the main server .. the hack stop working and I get a strange message (not english language)
would u take a look
http://zaidal.com/229/vba/forum/15-1.html

noppid
10-06-2005, 01:56 PM
I finished my tests on my back up server and every thing working good .. but yesterday when I moved the staff to the main server .. the hack stop working and I get a strange message (not english language)
would u take a look
http://zaidal.com/229/vba/forum/15-1.html

Did you adjust the config.php for the live board? I'm guessing the URL's in there are to your test board and not your live board.

wisam74us
10-06-2005, 04:23 PM
No it s for the live on .. it is working now thanks for the replay
I change the way to get the forum ID through the url ..

dutchbb
10-07-2005, 08:31 PM
i get this sometimes

"Invalid thread! "

mindfrost82
10-09-2005, 07:51 PM
I keep getting "Page Cannot Be Found"

It tries to go to www.domain.com/search/forum/something.html.

My forums are not in a /forum subdirectory, and I do not have that in the config.php.

Any ideas?

xtreme-mobile
10-09-2005, 08:36 PM
i get this sometimes

"Invalid thread! "


see reply number 34 :D

Sal Collaziano
10-18-2005, 11:50 AM
Could anyone take on the challenge to get this archive to work with the CoOp Ad Network?

HUMMERh3
10-18-2005, 10:02 PM
Is Mod-mime a file that you actually download...or is it a piece of code you copy and paste? I went to http://httpd.apache.org/docs/mod/mod_mime.html
and I couldn't figure out how to install mod-mime. Can anybody please tell me how to dowload or what to look for?
THANKS!

HUMMERh3
10-18-2005, 11:25 PM
Question on the two parts of installation:

[Step 2] Open up config.php and edit the variables inside it. Be sure not to include trailing slashes on any of the URL's.

What varibles should I look for? I'm new to this so any information is helpful.

[Step 3] Upload all 8 files (.htaccess, archive_functions.php config.php, footer.php, forum, header.php, index.php and topic) in ASCII mode to the new directory you created in Step 1.

Where do I get these 8 files...Do I simply make them up or copy them from the actual Forum??

Omranic
10-22-2005, 02:20 AM
thnx very much
it works good at all EXEPT one issue which when you clicked (Click here to view the original thread with full colors/images) you have the domain.ext/showthread.php?threadid=$threadinfo[threadid]

knowing that i'm installing forums in sub directory called vb & i have edited the variable ($archive_options['forumurl']) in config.php file to the correct URL (domain.com/vb) without TRAILING SLASH

thouth i think that hack catching the domain name only in linking operation for topics & discard any thing after .ext (ie: .com)

Need to clear this Issue to fix it

I Can Fix It through topic file by putting forums directory after $forumurl & before showthread.php?threadid=$threadinfo[threadid] @ line 86

I know that this is a silly fix but its temporary till you tell us the solve .

Regards

noppid
10-22-2005, 11:06 AM
Could anyone take on the challenge to get this archive to work with the CoOp Ad Network?


Yes Sal, it's done within the fetch_footer function in the archive_functions.php file, not the footer.php.

In archive_functions.php locate:

function fetch_footer()
{
global $archive_options;
ob_start();
include('./' . str_replace($archive_options['forumurl'], '', $archive_options['archiveurl']) . '/footer.php');
$footer = ob_get_contents();
ob_end_clean();
$footer .= '
<p align="center">
<br /><br />
<font size="1" color="#999999">
vBulletin Copyright &copy;2000 - ' . date('Y') . ',
Jelsoft Enterprises Limited.<br />
<b>vB Easy Archive Final</b> &copy;2000 - ' . date('Y') . '
- Created by <a href="http://www.xenon-shacuros.de/">Stefan &quot;Xenon&quot; Kaeser</a>
<br />
</font>
</p>
</body>
</html> ';

return $footer;
}


Replace with:

function fetch_footer()
{
global $archive_options,$ad_network;
ob_start();
include('./' . str_replace($archive_options['forumurl'], '', $archive_options['archiveurl']) . '/footer.php');
$footer = ob_get_contents();
ob_end_clean();
$footer .= '
<p align="center">
<br /><br />
<font size="1" color="#999999">
vBulletin Copyright &copy;2000 - ' . date('Y') . ',
Jelsoft Enterprises Limited.<br />
<b>vB Easy Archive Final</b> &copy;2000 - ' . date('Y') . '
- Created by <a href="http://www.xenon-shacuros.de/">Stefan &quot;Xenon&quot; Kaeser</a>
<br />
</font>
</p>

<center>
<br />'.$ad_network.'</center>


</body>
</html>
';

return $footer;
}


At least that's how I did it. There's more then one way to skin a cat.

rossco_2005
11-04-2005, 03:29 PM
Has anyone been able to get this to work with the No Content option? It just lets you view the thread but it shouldn't. :(

Sal Collaziano
11-04-2005, 04:03 PM
THANK YOU!!!

Yes Sal, it's done within the fetch_footer function in the archive_functions.php file, not the footer.php.

In archive_functions.php locate:

function fetch_footer()
{
global $archive_options;
ob_start();
include('./' . str_replace($archive_options['forumurl'], '', $archive_options['archiveurl']) . '/footer.php');
$footer = ob_get_contents();
ob_end_clean();
$footer .= '
<p align="center">
<br /><br />
<font size="1" color="#999999">
vBulletin Copyright &copy;2000 - ' . date('Y') . ',
Jelsoft Enterprises Limited.<br />
<b>vB Easy Archive Final</b> &copy;2000 - ' . date('Y') . '
- Created by <a href="http://www.xenon-shacuros.de/">Stefan &quot;Xenon&quot; Kaeser</a>
<br />
</font>
</p>
</body>
</html> ';

return $footer;
}


Replace with:

function fetch_footer()
{
global $archive_options,$ad_network;
ob_start();
include('./' . str_replace($archive_options['forumurl'], '', $archive_options['archiveurl']) . '/footer.php');
$footer = ob_get_contents();
ob_end_clean();
$footer .= '
<p align="center">
<br /><br />
<font size="1" color="#999999">
vBulletin Copyright &copy;2000 - ' . date('Y') . ',
Jelsoft Enterprises Limited.<br />
<b>vB Easy Archive Final</b> &copy;2000 - ' . date('Y') . '
- Created by <a href="http://www.xenon-shacuros.de/">Stefan &quot;Xenon&quot; Kaeser</a>
<br />
</font>
</p>

<center>
<br />'.$ad_network.'</center>


</body>
</html>
';

return $footer;
}


At least that's how I did it. There's more then one way to skin a cat.

Smitty
12-10-2005, 12:35 PM
Anyone tried this with 3.5.2 yet?

Brandon Sheley
12-16-2005, 05:20 AM
hmm, when i try and click on a forum it shows as /forum/5-1.html

http://www.locoforum.com/forums/search/
? i've looked thu this thread and see fixes for topic, but don't even see the topics

Brandon Sheley
12-18-2005, 04:01 AM
anyone ?
guess i wont use it untill someone replys :disappointed:

rossco_2005
01-31-2006, 05:13 PM
Has anyone been able to get this to work with the No Content option? It just lets you view the thread but it shouldn't. :(
Anyone?
We're now having a lot of private info seen my spiders and other people that shouldnt see it, and getting in trouble for it. :(

rossco_2005
01-31-2006, 05:30 PM
Ah, fixed it myself.

Here is what to do if anyone else has problems: :)

Open the file 'forum' and replace:

$threadbits .= "<li /><a href=\"$archive_options[archiveurl]/$archive_options[topicfile]/$thread[threadid]-1.html\">$thread[title]</a></li>\n";

with
if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canviewthreads']))
{
$threadbits .= "<li />$thread[title]</li>\n";
}
else
{
$threadbits .= "<li /><a href=\"$archive_options[archiveurl]/$archive_options[topicfile]/$thread[threadid]-1.html\">$thread[title]</a></li>\n";
}

icare
02-13-2006, 02:27 AM
How do i check that mod_mime is installed on my server?

David_R
02-14-2006, 11:30 AM
How do i check that mod_mime is installed on my server?

email your hosting provider about installing mod_mime module to your apache server.

I have a question:
I got the mod, installed and running perfectly fine, I want to implement following changes.
When a user clicks on the threads in archive, it should get re-directed to the default forum threads.
How this can be acheived ?

Thanks.

Zia
02-19-2006, 04:42 AM
hmm going to impliment this one...

but same probs as locom

does it works with vb3.5.3 ?

Zia
02-19-2006, 07:08 AM
finally there are lotts porbs here...when we can accpet an update of it fro vb3.5.3

Lexserv
04-14-2006, 05:47 AM
Will this work with the latest version of vBulletin 3.5.x?

Xenon, can you confirm this? I really liked the old 3.x hack and it worked great.

Holler!

SaN-DeeP
04-14-2006, 10:16 PM
is it possible to re-direct the thread listings on forum pages to original thread = showthread ?

thanks

cd1986
04-14-2006, 10:43 PM
Will this work with the latest version of vBulletin 3.5.x?
Yep, just download the files and make the following changes:

Invalid thread error:

https://vborg.vbsupport.ru/showpost.php?p=755715&postcount=22

Private forums error:

https://vborg.vbsupport.ru/showpost.php?p=785674&postcount=34

Bad URL Error:

https://vborg.vbsupport.ru/showpost.php?p=786373&postcount=37

No content error:

https://vborg.vbsupport.ru/showpost.php?p=886967&postcount=58

julius
06-24-2006, 05:53 AM
How can I show a banner in easy archive after the first post in a thread page (topic)?

Like in showthread here?

http://www.vbulletin.com/forum/showthread.php?t=123281

Thanks

Prince
07-20-2006, 10:41 PM
Is it possible to get this to run on a different domain? (they are on the same server using the same sql server)

letsjoy
07-26-2006, 05:41 AM
haha demo also not working

jyajay
11-03-2006, 09:54 PM
This would be perfect if: You can grant access to all threads and forums only to google which are readable by every registered member and produce this output without images, smiles etc. Then if you follow the google link you will get redirected to a message that says something like "if you want to see this page please register", of course you could just use the normal vbulletin message. There are severeal reasons why this is helpful for some people. In my case it is mostly the fact that I want to get more active members at my board but still have the control over who reads the actual threads because it is a lot easier to just leech the threads than create one by yourself.

For phpBB I had a sitemap hack that produced just a complete list of all threads that are at the forum with the names of the threads and links included, no matter if guests could read them - that is a good alternative for me also but maybe not achievable with this hack.

Now, that would be my christmas wish :P

jyajay
11-16-2006, 02:14 PM
Ok I got another question: How can I stop the archive from giving output on "invalid thread" and "invalid forum" in the case that something was removed or moved?

Currently the path of this error messages is totally wrong although I want to simply get a 404 error if a forum or thread does not exist:

normal forum: http://foobar.com/forum
archive: http://foobar.com/forum/archive

wrong path: http://foobar.com/forum/archive/forum

Khashyar
11-04-2008, 09:21 PM
Hi Everyone,

Thank you for your comments and code change suggestions...

I am trying to make this hack work with VB 3.6.x...

I applied all four changes listed above:

It was installed correctly, and I can see the archive index page fine, but receive a VB "invalid link" error when I click on forums.....

Also, I receive the "forum" dir in the URL...

Any ideas as to how this would work with VB 3.6.x?

Thanks for your suggestions....

KD