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
  #42  
Old 07-20-2005, 01:11 AM
Brinnie's Avatar
Brinnie Brinnie is offline
 
Join Date: Jul 2005
Location: Louisiana
Posts: 360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what do you mean "creat blank files"?

How manuy?
What do you name them?
What file extention?

Thanks.
Reply With Quote
  #43  
Old 07-20-2005, 01:27 AM
Brinnie's Avatar
Brinnie Brinnie is offline
 
Join Date: Jul 2005
Location: Louisiana
Posts: 360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, I'm a retard.
I can't tell what needs to be configured in multi.php and what to configure it to!

pls help.
Reply With Quote
  #44  
Old 07-20-2005, 03:32 AM
mcncyo's Avatar
mcncyo mcncyo is offline
 
Join Date: Oct 2001
Location: derby, Kansas
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jarosciak
I have installed and configured the files and I am trying to log in with my administrator account.
It won't work.
Constantly getting an error:
Incorrect username/password
And I've even typed it to notepad and copy/pasted it, just to make sure I am not typing it wrong.
Won't work for this hack. But no problems whatsoever logging into my forum with the same name and password.
What can I do about it?
Joe

i get the same error. How did you fix it?
Reply With Quote
  #45  
Old 07-22-2005, 01:54 PM
krohnathlonman krohnathlonman is offline
 
Join Date: Feb 2004
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

constant user/pass error for me too
Reply With Quote
  #46  
Old 07-22-2005, 01:57 PM
jarosciak jarosciak is offline
 
Join Date: Apr 2005
Location: Toronto
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It was simple to fix. I had only one user in my forum, called 'admin', and it was also giving me that message, so I have created another username with administrator rights, called "Administrator". When I logged in with this new username it all went away and works fine now.
Try it and let me know if this helped to you too.
Joe
Reply With Quote
  #47  
Old 07-23-2005, 02:40 PM
twin twin is offline
 
Join Date: Mar 2005
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did all but I'm still geting Internal Server Error? Any ideas?
Reply With Quote
  #48  
Old 07-28-2005, 09:35 AM
Hanif Hanif is offline
 
Join Date: Apr 2005
Location: Yorkshire
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi tried to run this but only get through partially...

This is in the vbsitemap-multi code:
$v='0';//;0;//3.5;//vBulletin version 3.5 (or leave as zero for v3.3-3.7)
since I'm running 3.7
//directory that the vBulletin forum is in.
$base="forums/"; //if in the subdirectory forum

as my forums are www.muslimprofessionals.org.uk/forums/index.php
so have I got that right?

when running it from forum root get the following errors:
Warning: chmod(): Operation not permitted in /home/www/mulimpro/vbsitemap-multi.php on line 178

Warning: gzopen(sitemap1.xml.gz): failed to open stream: Permission denied in /home/www/mulimpro/vbsitemap-multi.php on line 249

Warning: chmod(): No such file or directory in /home/www/mulimpro/vbsitemap-multi.php on line 252

Warning: gzwrite(): supplied argument is not a valid stream resource in /home/www/mulimpro/vbsitemap-multi.php on line 263

Warning: gzwrite(): supplied argument is not a valid stream resource in /home/www/mulimpro/vbsitemap-multi.php on line 437

Warning: gzwrite(): supplied argument is not a valid stream resource in /home/www/mulimpro/vbsitemap-multi.php on line 562

Warning: gzwrite(): supplied argument is not a valid stream resource in /home/www/mulimpro/vbsitemap-multi.php on line 611

Warning: gzwrite(): supplied argument is not a valid stream resource in /home/www/mulimpro/vbsitemap-multi.php on line 621

Warning: gzclose(): supplied argument is not a valid stream resource in /home/www/mulimpro/vbsitemap-multi.php on line 622

I created the sitemap XML file myself manually thinking that if I run this script then it will populate the values in there however,nothing is in there...

The following file sitemap1.xml.gz is also not created.

Chmod all the files yet still cant understand, can anyone help?

Kind regards,

Hanif
Any ideas where I'm going wrong?
Reply With Quote
  #49  
Old 07-31-2005, 11:09 AM
mcncyo's Avatar
mcncyo mcncyo is offline
 
Join Date: Oct 2001
Location: derby, Kansas
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the problem i am getting is it makes it readable only to the owner of the file and that is it everytime it runs.
Reply With Quote
  #50  
Old 08-01-2005, 03:00 PM
infiniterb infiniterb is offline
 
Join Date: Apr 2003
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mcncyo
the problem i am getting is it makes it readable only to the owner of the file and that is it everytime it runs.
Getting the same issue. In FlashFXP it flags it as 99 as opposed to 32287 and I can't manually change each file's permissions.
Reply With Quote
  #51  
Old 08-04-2005, 07:28 AM
kena kena is offline
 
Join Date: Aug 2004
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am getting a username password error when I try loging into vbsitemap-multi.php.

What is the username and password based on? Is it the MySql Database username and password?

If that is the case it is not working for me and I am using the information from my config.php file.

A bit of help would be appreciated.

Thanks
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:01 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.13203 seconds
  • Memory Usage 2,312KB
  • 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_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