vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Spider Display (https://vborg.vbsupport.ru/showthread.php?t=171322)

Boofo 05-28-2008 03:37 PM

Just make sure to stay up to date on the spiders xml from Dream on the com. He is adding spiders to the xml as they are reported.

@ Vinyljunky - Some Live Search Spiders do report the UA and some don't. If they report it in the UA, it will get added to the spiders xml, once it has been reported.

misr.cc 05-28-2008 03:57 PM

good work

thanx ... **Install**

Charlie98902 05-28-2008 04:17 PM

So there is no need to manually edit the File edits: 1
Code:

-------------------------------------------------------------
In the includes/config.php file add this at the bottom:
-------------------------------------------------------------

if(THIS_SCRIPT == 'index')
{
global $specialtemplates;
$specialtemplates = array_merge($specialtemplates, array('wol_spiders'));
}

As you said no edits?

Charlie98902 05-28-2008 04:33 PM

So in the config.php it should look like this?

Code:

/*======================================================================*\
|| ####################################################################
|| # Downloaded: 09:07, Tue Apr 29th 2008
|| # CVS: $RCSfile$ - $Revision: 25157 $
|| ####################################################################
\*======================================================================*/
if(THIS_SCRIPT == 'index')
{
global $specialtemplates;
$specialtemplates = array_merge($specialtemplates, array('wol_spiders'));
}


Boofo 05-28-2008 04:42 PM

I said "no more template edits". Please re-read the first post. Until vb comes up with a way to do datastore special templates edits, there is no other way, I'm afraid. The config.php file doesn't change that often in upgrades so it ti a good spot for it.

I would put it right above that box at the bottom.

Charlie98902 05-28-2008 04:44 PM

Thanks will move the edit above.

Boofo 05-28-2008 05:20 PM

No problem. Enjoy! ;)

mannaraja 06-04-2008 06:27 AM

Quote:

Originally Posted by Icy (Post 1450021)
Hehe :p Anyway for those who are using TMS :D

mariocaz: He said YES two posts above of your post :)

not working sir

Icy 06-04-2008 07:15 AM

Quote:

Originally Posted by mannaraja (Post 1540350)
not working sir

You don't need TMS as this hack does the auto template edit. Anyway I'm not sure about 3.6.8 but Bofoo confirmed that it's working.

Eneswar 06-06-2008 02:38 AM

I read all the 14 pages but couldnt find the answer to my question...
What is this Spider? What does this do? :P


All times are GMT. The time now is 09:52 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.01236 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_code_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