vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB Easy Archive - Search Engine Spiderable Hack! (https://vborg.vbsupport.ru/showthread.php?t=65703)

sdsvtdriver 05-17-2005 08:03 AM

I installed the hack, renamed forum and topic with the .php extension, made change in config.php. The index displays fine, but the forum links return at 404 error.

From what I understand, the forum.php file does a conversion to html. I'm guessing there is a setting server side that needs to be enabled. What is it?

Server is IIS6+php4

DomesticMuscle.com EZArchive

Thanks

sdsvtdriver 05-25-2005 06:47 AM

Has anyone gotten this to work with isapirewrite for IIS? I'm having difficulty with the rules.

Acers 05-29-2005 06:53 AM

ok finally got this integrated with who's online. So now you will see what people are browsing when they are in archive along with thread title. Earlier it was shown as unknown location.

Might i add beforehand that this may NOT be the most optimized way of coding it. I did it in as less time as possible and it was working in the time i checked it. Maybe you can see the code and suggest changes if any to optimize.

lets start:

First plz determine the folder where you put this archive. eg in my case it was search In your case the name may be different.

now in includes/functions_online
find

Code:

case 'index':
                        $userinfo['action'] = $vbphrase['viewing_index'];
                        $userinfo['where'] = "<a href=\"$vboptions[forumhome].php?$session[sessionurl]\">$vboptions[bbtitle]</a>";
                        break;

replace that with

PHP Code:

 case 'index':
                        
//start whos online mod by acers for easy archive
                        
if(preg_match("/search/"$userinfo['location']))
                        {
                        
$userinfo['action'] = 'In the Archives';
                        
$userinfo['where'] = "<a href=\"search/index.php?$session[sessionurl]\">Viewing Archive Index</a>";
                        break;
                        }
                        
//end whos online mod by acers for easy archive
                        
$userinfo['action'] = $vbphrase['viewing_index'];
                        
$userinfo['where'] = "<a href=\"$vboptions[forumhome].php?$session[sessionurl]\">$vboptions[bbtitle]</a>";
                        break; 

replace search with whatever is your folder name.

in the same file find
PHP Code:

else
                        {
                                
// We were unable to parse the location
                                
$userinfo['action'] = $vbphrase['viewing_index'];
                                
$userinfo['where'] = "<a href=\"$vboptions[forumhome].php?$session[sessionurl]\">$vboptions[bbtitle]</a>";
                        } 

underneath that add
after replacing search with whatever folder name you have

PHP Code:

//start whos online mod by acers for easy archive
                        
if (preg_match("/search\/forum\/(\d*)-\d*/"$userinfo['location'], $tester))
                        {
                                global 
$DB_site;
                                
$titlefor $DB_site->query("
                                SELECT forum.title as title
                                FROM " 
TABLE_PREFIX "forum AS forum
                                WHERE forum.forumid = " 
intval($tester[1]) . "
                                "
);
                                
$titleofforum $DB_site->fetch_array($titlefor);
                                
$fortitle $titleofforum['title'];
                                
$userinfo['action'] = 'Viewing forums archive';
                                
$userinfo['where'] = "<a href=\"search/forum/$tester[1]-1.html\">$fortitle</a>";

                        }
                        if (
preg_match("/search\/topic\/(\d*)-\d*/"$userinfo['location'], $tester1))
                        {

                                global 
$DB_site;
                                
$titlethrd $DB_site->query("
                                SELECT thread.title as title
                                FROM " 
TABLE_PREFIX "thread AS thread
                                WHERE thread.threadid = " 
intval($tester1[1]) . "
                                "
);
                                
$titleofthread $DB_site->fetch_array($titlethrd);
                                
$thrdtitle $titleofthread['title'];
                                
$userinfo['action'] = 'Viewing topic in archive';
                                
$userinfo['where'] = "<a href=\"search/topic/$tester1[1]-1.html\"\">$thrdtitle</a>";

                        }
                        
//end who's online mod by acers for easy archive 

that should do it. Anyway i guess i am very new to modding so sorry beforehand if there are any errors here. :nervous: :nervous:

mindbuster 06-03-2005 08:09 PM

Quote:

Originally Posted by xenon
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

Is there are Branding Free option for this ?

I dont like to clutter my website with hundreds of different copyright notices and links that has nothing to do with the content of my site :squareeyed:

Xenon 06-05-2005 05:35 PM

hmm, to remove the jelsoft copyright, you would have to have a branding free license of vbulletin.

to remove my copyright and links, there is no branding free option nope, but you can contact me per pm, maybe we can come together ;)

mindbuster 06-09-2005 03:21 AM

Hmm, wierd, some threads show up fine while others are just empty.

Here is a "working" thread...

http://www.entropiaforum.com/forums/...ic/2620-1.html

And here is one that is empty, eventhough the original thread shows fine...

http://www.entropiaforum.com/forums/...ic/1626-1.html

:disappointed:

I'm not getting any errors at all, it's just that some threads shows fine while others are empty :tired:

What could be wrong ?

mindbuster 06-09-2005 04:31 AM

Now i just had MSN bot visiting, it was looking at...

http://www.entropiaforum.com/forums/...hp/t-1864.html

What wierd URL is that ?

My easy-archive is at "forums/history", it was looking in "forums/archive" which i dont link to anymore, but the link works but it shows the old default style archive ?

:confused:

Acers 06-09-2005 04:50 PM

bot must the old url still in its memory.
Anyway your new archive should soon be getting scanned. It takes some time.

Xenon 06-09-2005 06:48 PM

yep, the old urls stay in memories some time

mindbuster 06-10-2005 12:08 AM

I see, but what about this ? with the empty threads ?

Quote:

Hmm, wierd, some threads show up fine while others are just empty.

Here is a "working" thread...

http://www.entropiaforum.com/forums/...ic/2620-1.html

And here is one that is empty, eventhough the original thread shows fine...

http://www.entropiaforum.com/forums/...ic/1626-1.html

:disappointed:

I'm not getting any errors at all, it's just that some threads shows fine while others are empty :tired:

What could be wrong ?
:confused:


All times are GMT. The time now is 10:06 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01794 seconds
  • Memory Usage 1,789KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete