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

Reply
 
Thread Tools
Simple Sitemap Details »»
Simple Sitemap
Version: 1.00, by bjhuang bjhuang is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Category: Board Optimization - Version: 3.8.x Rating:
Released: 01-15-2009 Last Update: Never Installs: 123
Template Edits
Re-useable Code Additional Files  
No support by the author.

What is it

a really simple sitemap for spiders.

Why

vbseo sitemap is good. but i need another sitemap for spiders to crawl my site more NATURALLY and a sitemap to feed spiders other than google and yahoo.

this sitemap script list all of your threads, newest first. the page updates so fast that spiders will check it more often. hopefully it helps your new threads get indexed quickly.

Install

Step 1: upload sitemap.php to your forum root.
Step 2: modify template "footer"

Find
PHP Code:
<a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a
Add Above
PHP Code:
<a href="$vboptions[bburl]/sitemap.php">Sitemap</a> - 
Demo

http://www.bbkz.com/forum/sitemap.php

The most famous travel forum in chinese world - www.bbkz.com

Download Now

File Type: php sitemap.php (3.9 KB, 844 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
davidg, Perrier Sophie

Comments
  #32  
Old 01-20-2009, 10:18 AM
John1uk John1uk is offline
 
Join Date: Oct 2006
Location: UK
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanx "installed"

Works fine 1st time
Reply With Quote
  #33  
Old 01-21-2009, 03:16 PM
munnakv munnakv is offline
 
Join Date: Jun 2008
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bjhuang View Post
open sitemap.php and find
PHP Code:
$output .= "<a href='".$sitemap_script."?offset=".(($i-1)*$count)."'>".$i."</a> "
replace with
PHP Code:
if($i==1$output .= "<a href='".$sitemap_script."'>".$i."</a> ";
else 
$output .= "<a href='".$sitemap_script."?offset=".(($i-1)*$count)."'>".$i."</a> "
Perfect. Appreciate your time and help.
Thanks for that bjhuang

munna
Reply With Quote
  #34  
Old 03-14-2009, 12:56 PM
marshal_ramdev marshal_ramdev is offline
 
Join Date: Mar 2009
Location: Ludhiana
Posts: 192
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you !
Reply With Quote
  #35  
Old 03-14-2009, 02:14 PM
Freiknecht Freiknecht is offline
 
Join Date: Apr 2008
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

get only a white side indicated
Reply With Quote
  #36  
Old 04-02-2009, 08:51 PM
Majora Majora is offline
 
Join Date: Jun 2005
Location: Friedrichshafen / Germany
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how can i rewrite the links to my vbseo thread links?
Reply With Quote
  #37  
Old 04-02-2009, 09:46 PM
Markos Markos is offline
 
Join Date: Aug 2006
Posts: 522
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks installed
Reply With Quote
  #38  
Old 04-08-2009, 01:41 PM
Mattcch Mattcch is offline
 
Join Date: Jan 2009
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@bjhuang sir
thanks for great works ,
are you a chinese?
and i from hong kong.
it is a very useful mod for bots.
Reply With Quote
  #39  
Old 05-12-2009, 06:55 PM
Theater's Avatar
Theater Theater is offline
 
Join Date: Aug 2004
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Worked like a charm. Thank you.
Reply With Quote
  #40  
Old 06-12-2009, 06:06 PM
TrevsRevenge TrevsRevenge is offline
 
Join Date: Mar 2007
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Idea !!!!!!!!!

but I am also getting a blank page when i point to this link
Code:
http://www.spinzone.net/forums/sitemap.php
is there a problem because i call it forums instead of forum if so what can I change in the sitemap.php to fix this.

Thanks
Reply With Quote
  #41  
Old 08-02-2009, 06:36 PM
matrixc0d3 matrixc0d3 is offline
 
Join Date: Dec 2008
Location: Germany But Turkish =)
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi how can i rewrite this for vbseo html urls?
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 08:51 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.05015 seconds
  • Memory Usage 2,337KB
  • Queries Executed 28 (?)
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_code
  • (4)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete