Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
vBulletin Google Site Map Details »»
vBulletin Google Site Map
Version: 2.41, by T2DMan T2DMan is offline
Developer Last Online: Jun 2018 Show Printable Version Email this Page

Version: 3.5.1 Rating:
Released: 06-29-2005 Last Update: 11-07-2005 Installs: 109
Additional Files Is in Beta Stage  
No support by the author.

There are a few vBulletin Google Site maps around, but none as comprehensive as this that I have seen. This vBulletin Google site map is based on Kalius's work on discussed on his site and at Digitalpoint

FYI, the vBulletin Google Site Map modification contains at least one potential remote file include exploit. You are hereby notified that you should uninstall this modification, including the removal of the vBulletin Google Site Map PHP files from your server. The author of the modification has been notified, and the vBulletin Google Site Map thread has been moved to the Modification Graveyard forum.

Best,
vBorg Staff


vBulletin Google site map
with ability to add extra urls
(c) by T2DMan - Michael Brandon

8Nov05+13hrsGMT - update. Added support for Yahoo Sitemap & bug fix
7Nov05+13hrsGMT - update. Thanks for your help.

I have attached 1 version with 2 different preset configs for your convenience. vBSEO and non vBSEO configs.

Configure in the vbgsitemap-config.php file.
$base=""; // "" if in root, $base="forum/"; //if in the subdirectory forum

It now works well with forum permissions, and the vBulletin's scheduled task system. I have personally installed the reviewed vBGSiteMap on a site with over 200,000 urls. Copes with the large number of urls with no problems.

The vBGSiteMap works well with vbSEO, and it lists all the old url's to allow Google to spider the old url's and so find the 301 redirects to the new, and so delete the old url's from its index.

Compared to the previous versions

  • Sitemap files now written into their own directory - means this can be safely chmod 777 - thanks Sarah King
  • config and class files separated out
  • new help file written
  • many corrections made to the code - amazing what sitting on a piece of code can do, and amazing what you can learn from personally installing on many different servers.
  • Can now work on mysql versions from 3.23.58 to 5+
Specifications
  • works with v3.03 - 3.5
  • access to this file is password protected
the same password as the database via the vBulletin includes/config.php file
  • creates an index file and multiple gzipped site maps to less than the maximum permitted by Google (I have in fact restricted it to 3k url's, rather than 50k as my browser takes a while to process the file when checking it)
  • creates a gzipped file containing the urls for Yahoo Sitemap
  • the site map files are created in the /vbgsitemap/files directory which needs to be chmod to 777
adds
  • forums - with paginations of forums (excluding redirects and password protected forums)
  • threads - with pagination of threads (excluding invisible threads=soft deleted, and threads inside password protected forums)
  • archive forum pages with paginations
  • archive versions of threads with paginations
  • members
extra
  • extra urls from other program types
  • add a new url per line onto file.txt, and a gzipped file will be created for it, and added to the site index file.
How to install
  • unzip the files
  • copy the vbgsitemap folder to your root directory
  • chmod the vbgsitemap/files directory to 777
  • copy vbgsitemap.php to your root directory
  • copy the includes/cron/vbgsitemap-cron.php file to your vbulletin includes/cron/ directory
  • look over the configuration options on the /vbgsitemap/vbgsitemap-config.php file
    • $base="" or "forum/" - if your forum is the actual root, or in the forum directory etc.
    • $addthreadarchive=false; - whether you want the archive version of the threads to be added or not.
    • the rest should not need to be changed
    • change to $xtrafile="file.txt"; if you have additional urls that you want included from another package, get a list of those url's and add them to file.txt.
  • Then access the /vbgsitemap/index.php file in your browser to get things happening.
  • The username/password is the username/password of your database.
  • Add the resulting one index file to Google sitemaps: http://www.yourdomain.com/vbgsitemap.php
  • Add the other file to Yahoo sitemaps
    http://www.yourdomain.com/vbgsitemap/files/urllist.gz
  • A cron job can be setup in the vbulletin scheduled tasks

    • ./includes/cron/vbgsitemap-cron.php
    • depending on the number of posts/new threads to your forum, set to run daily or weekly etc. The cron will automatically ping Google and return success/failure into the cron log.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #222  
Old 12-16-2005, 08:00 PM
T2DMan T2DMan is offline
 
Join Date: Apr 2004
Location: Auckland, New Zealand
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Google has got a site map system whereby you tell it the url's of your website, and it is then able to find them easier. You can diret it to look at the url's less often than they would normally (ie if content doesnt change too often) and so save bandwidth, or for google to check more frequently if content is often changing.

It is especially good if you have lots of new threads being created. The sitemap will show the create date of those threads and google should find them faster than otherwise.
Reply With Quote
  #223  
Old 01-02-2006, 10:28 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm sorry but I do not understand
PHP Code:
//directory that the vBulletin forum is in. 
//comment out the one not applicable to your forum
$base="modules/forums/"//"" if in root, $base="forums"; //if in the subdirectory forum 

My forums are in a directory called modules

modules/forums/vbgsitemap/index.php


Can someone point me in the right direction? I am finding this confusing...

Thanks
Reply With Quote
  #224  
Old 01-03-2006, 03:49 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyone that understands this issue that can help me???

Thanks
Reply With Quote
  #225  
Old 01-04-2006, 08:01 PM
T2DMan T2DMan is offline
 
Join Date: Apr 2004
Location: Auckland, New Zealand
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RichieBoy67
I'm sorry but I do not understand
PHP Code:
//directory that the vBulletin forum is in. 
//comment out the one not applicable to your forum
$base="modules/forums/"//"" if in root, $base="forums"; //if in the subdirectory forum 

My forums are in a directory called modules

modules/forums/vbgsitemap/index.php


Can someone point me in the right direction? I am finding this confusing...

Thanks
The vbgsitemap program is designed to work from the root directory - this enables you to add your vBulletin and all the other url's from your site.

So your install directory would be
/vbgsitemap/index.php


Your base variable should be correct:
$base="modules/forums/";
Reply With Quote
  #226  
Old 01-30-2006, 08:01 PM
atosoup atosoup is offline
 
Join Date: Aug 2005
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would realy appreciate some help here..

I am also having the same problem as many other with
Incorrect username/password

whenever I enter my Vb's configs username and pass..

Im on VB 3.5.3

Iv seen a few comments about editing multi.php but i dont even have that file..

Please help
Reply With Quote
  #227  
Old 01-30-2006, 08:15 PM
T2DMan T2DMan is offline
 
Join Date: Apr 2004
Location: Auckland, New Zealand
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The username/password is the same as that on the DATABASE, not your normal username/password for vbulletin access.
Reply With Quote
  #228  
Old 01-30-2006, 08:30 PM
atosoup atosoup is offline
 
Join Date: Aug 2005
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by T2DMan
The username/password is the same as that on the DATABASE, not your normal username/password for vbulletin access.
I understand that dude..

I have been using the username and password from my

Vbforums/includes/config.php

Details

Forums DB username and pass..

and it dosent work
Reply With Quote
  #229  
Old 01-30-2006, 11:00 PM
T2DMan T2DMan is offline
 
Join Date: Apr 2004
Location: Auckland, New Zealand
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for being able to work with you and get it working. I look forward to seeing your post on the exact reason for your issues.
Reply With Quote
  #230  
Old 01-31-2006, 03:40 PM
atosoup atosoup is offline
 
Join Date: Aug 2005
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by T2DMan
Thanks for being able to work with you and get it working. I look forward to seeing your post on the exact reason for your issues.
YUp massive thanks Td2 U was a star last night ...

( Made me feel like a complete noob too lol )

The reason I was getting was wrong username and password was because I had eddited past the line in the config that said>>


//end of configuration

//************************************************** ************

And changed this code


if ($config['MasterServer']['username']){

$dbusername=$config['MasterServer']['username'];

$dbpassword=$config['MasterServer']['password'];

$servername=$config['MasterServer']['servername'];

$dbname=$config['Database']['dbname'];

$tableprefix=$config['Database']['tableprefix'];

}Changing the latter code to my actual settings...

Thanks again to u dude and maybe if somone else as sumb as me does the same this post may save them some heart ache!


Reply With Quote
  #231  
Old 02-20-2006, 03:54 PM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello T2Dman...

as u know we generaluser arent xpert enugh to decide our mind some times...specially when sitation is a bit complicated...
as u also know in vb.org there app. 6-8 google sitemap r available now...

Google/Yahoo Sitemap generator .
Google Sitemap Archive
and This One

what is the actual difference in between of them?

expecting an description......least it will help vb users to decide there mind -what is good for Google sitemap....

as i read google faq...but everything isnt clear to me...other hand google is clear to u...
Please lets us know what to do..around the gogole sitemap....
Reply With Quote
Reply

Thread Tools

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 04:21 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.11050 seconds
  • Memory Usage 2,321KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_php
  • (3)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
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete