vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vbArchive - Search Engine Indexer for vBulletin (https://vborg.vbsupport.ru/showthread.php?t=47667)

codewebs 01-19-2003 08:37 PM

eeks i got it :( so will the vbhome addon work like forums.site.com and www.site.com/forums? but not this one? i might be misunderstanding u

TECK 01-19-2003 08:41 PM

Create a file with the contents:
PHP Code:

<?php
error_reporting
E_ALL & ~E_NOTICE );
include_once( 
'./global.php' );

cpheader();

$DB_site->reporterror 1;

function 
killtemplate$title $templatesetid=-)
{
  global 
$DB_site;

  
$DB_site->query("
    DELETE FROM template
    WHERE title='" 
addslashes$title ) . "' AND templatesetid=-1
  "
);
  echo 
"Removing <font color='#006699'><tt>$title</tt></font> template... Done.<br>\n";
}

// Change the teplate names for the ones you want removed
// (make sure you revert them to original before that)

$tplname01 'home_archive';
$tplname02 'home_archiveforum';
// $tplname03 = 'home_archivethread'; // add in the same way other template names

killtemplate$tplname01 );
killtemplate$tplname02 );
// killtemplate( $tplname03 ); // add for each new template title a line, like this one

cpfooter();

?>

Make SURE you include in the file all templates you want to remove.
Also, make SURE they are reverted to original.

Save the file as removetemplate.php and run it onto your /admin folder.
Hope that helps.

TECK 01-19-2003 08:43 PM

Quote:

Originally posted by codewebs
eeks i got it :( so will the vbhome addon work like forums.site.com and www.site.com/forums? but not this one? i might be misunderstanding u
Both will, if you edit the code.
The vbHome one works as default because it has it's own global.php file.

In the vBulletin one, all you have to do is add, at the top of each archive file, the $bburl variable, unmasked.
Sort of like:
Code:

<?php
// +--------------------------------------------------------------
// | Search Engine Indexer for vBulletin (Script by TECK)
// | http://www.teckwizards.com/
// | + archive
// +--------------------------------------------------------------
error_reporting( E_ALL & ~E_NOTICE );

$templatesused = 'archive,archive_homekeytag,archive_forumbit,archive_categorytitle,archive_forumtitle,archive_homeinfo';
require_once( './global.php' );
$bburl = 'http://yoursite.com/forums';

If you search my forums, you will see why is better to use the vbHome add-on.

codewebs 01-19-2003 08:55 PM

i guess i just do everything wrong :(

http://www.codewebs.com/archive

no forums

TECK 01-19-2003 08:57 PM

This is an vbHome add-on, go over my forums, I will help you there. :)

VampireMan 01-19-2003 09:20 PM

I purchased Vb.29 yesterday , i must say there are a lot of hacks out there , but this is the first i have installed properly & full time...

Re-Setup the forum about 3 times so far just testing out various hacks and addons.

But by far this is the best i have installed & am impressed at the level of coding. Nice job ....

Now i have the wonderfull task of finding a portal to install :/

TECK 01-19-2003 11:46 PM

Glad you like it...
The hack was designed to be very user friendly, with very little code to be edited.

Btw, codeweb have a new shiny archive online now:
http://www.codewebs.com/archive/

Look how Inktomi is spidering my archive as we speak...

TECK 01-20-2003 05:26 AM

Hmmmmmm... I'm really pissed... you see the [high]crawler918.com[/high] in the pic above?
That's a spy. Read more here about it.

To block the scums, add onto htaccess.txt file, at the top, this information:
Code:

Order allow,deny
Allow from all
Deny from 12.148.196.
Deny from 12.148.209.

then upload the file and rename it to .htaccess
That will block them for good, damn crooks.

eva2000 01-20-2003 04:38 PM

Quote:

Originally posted by TECK
Hmmmmmm... I'm really pissed... you see the [high]crawler918.com[/high] in the pic above?
That's a spy. Read more here about it.

To block the scums, add onto htaccess.txt file, at the top, this information:
Code:

<limit GET>
order allow,deny
deny from 12.148.196.
deny from 12.148.209.
allow from all
</limit>

then upload the file and rename it to .htaccess
That will block them for good, damn crooks.

thanks for that :)

crocket 01-20-2003 07:53 PM

PHP Code:

Fatal errorCall to undefined function: archive_navbar() in /home/lcdmod/public_html/forums/forumdisplay on line 23 

Im getting that error when i click on a link :(

whats the problem :)


http://lcdmod.com/forums/archive

Thank You
Crocket


All times are GMT. The time now is 06:13 PM.

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.01390 seconds
  • Memory Usage 1,752KB
  • 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
  • (3)bbcode_code_printable
  • (2)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
  • (3)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