vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   vBulletin Google Site Map (https://vborg.vbsupport.ru/showthread.php?t=91389)

Brinnie 07-20-2005 01:11 AM

what do you mean "creat blank files"?

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

Thanks. :)

Brinnie 07-20-2005 01:27 AM

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. :(

mcncyo 07-20-2005 03:32 AM

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?

krohnathlonman 07-22-2005 01:54 PM

constant user/pass error for me too

jarosciak 07-22-2005 01:57 PM

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

twin 07-23-2005 02:40 PM

I did all but I'm still geting Internal Server Error? Any ideas?

Hanif 07-28-2005 09:35 AM

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?

mcncyo 07-31-2005 11:09 AM

the problem i am getting is it makes it readable only to the owner of the file and that is it everytime it runs.

infiniterb 08-01-2005 03:00 PM

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.

kena 08-04-2005 07:28 AM

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

hotrod1 08-04-2005 10:56 PM

Yeah I was wondering about that too because I was using my MySql data yet it still did not work.

flaregun 08-05-2005 02:29 AM

I too am having this problem, must be a path problem.

99SIVTEC 08-06-2005 05:51 PM

hmmmm, same problem as the last couple. Doesn't work with my database login info.

berberber 08-09-2005 05:42 AM

Quote:

The username/password is the username/password of your database.
i think t2dman was meaning the admin login information

Electronic Punk 08-09-2005 09:16 AM

Working nicely, almost.
It doesn't seem to want to ping tho, I am trying out different values to see if I can make it do it.

Brinnie 08-09-2005 11:21 AM

ok I'm using 3.5

Quote:

$v='';0;//3.5;//vBulletin version 3.5 (or leave as zero for v3.3-3.7)
change that to $v='';3.5;//3.5;//vBulletin version 3.5 (or leave as zero for v3.3-3.7)?

Brinnie 08-09-2005 11:26 AM

also, when you say root directory, your talking about the forums root, yes?

Blam Forumz 08-09-2005 12:11 PM

What does this plugin actually do?

Brinnie 08-09-2005 12:11 PM

If I ever get it working, I'll let cha know. :p

turkforum 08-10-2005 05:47 AM

Not working username password errors

my forum at the root

i uploaded the files to root
this is what i have
$base=""; // "" if in root
$v=0 ;//3.5;//vBulletin version 3.5 (or leave as zero for v3.3-3.7)

please advice any further modifications needed

Electronic Punk 08-10-2005 07:56 AM

are you using the same username and password that you have in the config.php?

Itachi0009 08-12-2005 12:22 PM

I am using my mysql passwords and everything like the rest of the people and I still can't get it to work...

eXtremeTim 08-12-2005 02:56 PM

I will be setting this up soon and will see about adding more stuff for it to cover. Like ability to work the the cmps2 ect.

libertate 08-13-2005 02:05 AM

I installed it.

Here are some issues -
CHMOD root directory (as in rootwww) - BAD VERY VERY BAD idea. You have to figure out a solution other then having to do that. Maybe a subdirectory off of forum, or a temporary directory, or it's own directory.

Throwing it in the root is not clean. Why can't it go into its own folder off of forum?

I also had the double appending problem with the domain name. www.site.comwww.site.com within the XML files.

Take the db and pass from vB, and don't ask for it. This is required anyway if it's a cron job.

Just put it up on G, so will see how it goes... (crossing my fingers)

Well... it didn't work. The schema is incorrect.

Google wants an http:// after <LOC> which is not create if forgotten from the config.

so the variable $http= line needs to say
$http="http://";

Also there are some problems with the "archive" folder where it appends after the file.
Like this:
www.example.com/forum/archive/index.php/f-1.html

Metro Man 08-18-2005 05:44 PM

Incorrect username/password

in vB 3.5 RC2

Tom1234 08-21-2005 05:13 AM

Re: Incorrect username/password

I think

elseif($dbusername<>$username AND $dbpassword<>$password) entry(false);

should be

elseif($dbusername<>$username OR $dbpassword<>$password) entry(false);

Metro Man 08-23-2005 08:10 AM

Quote:

Originally Posted by Tom1234
Re: Incorrect username/password

I think

elseif($dbusername<>$username AND $dbpassword<>$password) entry(false);

should be

elseif($dbusername<>$username OR $dbpassword<>$password) entry(false);

erros with this changes are the same

Metro Man 08-26-2005 10:04 AM

hy, has someone from you a file for me, already modified, with you in the 3,5 RC2 goes? Would be nice if this jeman makes available

David_R 09-03-2005 04:02 AM

Getting this error:
Fatal error: Maximum execution time of 30 seconds exceeded in /home2/gamers/public_html/vbsitemap-multi.php on line 562

also how can you include meta descriptions and keywords into sitemap ?

Tom1234 09-03-2005 04:10 AM

Quote:

Originally Posted by David_R
Fatal error: Maximum execution time of 30 seconds exceeded in /home2/gamers/public_html/vbsitemap-multi.php on line 562

Increase your:

max_execution_time = 30

in /etc/php.ini (or other location depending on OS) to 60 or greater so it can finish.

David_R 09-03-2005 04:21 AM

There is one problem/bug in script, i have set our forums threads to be visible only for current month to all guests and members.
but the script goes on calculating number of pages on all forums ?

David_R 09-03-2005 05:01 AM

Fatal error: Maximum execution time of 60 seconds exceeded in /home2/gamers/public_html/vbsitemap-multi.php on line 422

uh, i have a large site with more then 11,00,000 threads :(

krohnathlonman 09-04-2005 01:33 PM

add this to the top of the script: @set_time_limit(30000);
do NOT change your php.ini

turkforum 09-05-2005 01:39 PM

Everything went so smooth
I submit the XML file to google sitemap via my account.

For the Sitemap.xml file I got an error:

Invalid date

Here is the explaination for the error.

Your Sitemap contains one or more invalid dates. This could be because a date is in the incorrect format, or the date itself is not valid. Dates must use ISO 8601 encoding, although you can omit the time portion. For instance, the following are both valid:

2005-02-21
2005-02-21T18:00:15+00:00
Dates that are in the correct format may be invalid if they specify a future date or specify a date that does not exist (for instance 2005-15-40).


Below is how it shows date at the xml file:
<lastmod>2005-09-05T02:21:43</lastmod>

krohnathlonman 09-09-2005 11:44 PM

I'm getting this too on all of mine...

there aren't any time checks currently and theres quite a few times circumstances where the time doesn't display right.

jmw 09-10-2005 08:58 PM

I got rid of it. This thing messed up my vb.

Mr Chad 09-16-2005 09:14 PM

Please fix -_-

T2DMan 09-19-2005 06:11 PM

Quote:

Originally Posted by David_R
There is one problem/bug in script, i have set our forums threads to be visible only for current month to all guests and members.
but the script goes on calculating number of pages on all forums ?

How does the above policy work? Google in general does a deep crawl irregularly - ie monthly, and then the threads are available until they are removed/changed when Google gets a no permission error.

Google also does not even download the sitemap daily, and once spidered, takes a day or so for them to appear on Google, and a few days to start ranking high, especially for more competitive phrases.

I like Google to have the max threads possible, so I can get the max traffic possible when each thread is optimized. One month is not long enough for even Google PR to be assigned.

So despite the above, how would you want the site map generated? For monthly use, you would probably want only the previous two weeks site mapped. Please specify and I will program in. The archive version of the url's would also need the calculation done.

T2DMan 09-19-2005 10:59 PM

Quote:

Originally Posted by turkforum
Invalid date

Here is the explaination for the error.

Your Sitemap contains one or more invalid dates. This could be because a date is in the incorrect format, or the date itself is not valid. Dates must use ISO 8601 encoding, although you can omit the time portion. For instance, the following are both valid:

2005-02-21
2005-02-21T18:00:15+00:00
Dates that are in the correct format may be invalid if they specify a future date or specify a date that does not exist (for instance 2005-15-40).


Below is how it shows date at the xml file:
<lastmod>2005-09-05T02:21:43</lastmod>

On the face of it, the date is correct per the Google examples.

So all I can consider is that the date is a future date, and should have the +00:00 number of hours set.

I will make sure that all last mod dates have the gmt set.

T2DMan 09-19-2005 11:50 PM

Quote:

Originally Posted by libertate
Throwing it in the root is not clean. Why can't it go into its own folder off of forum?

Google requires it in the root, however, there is a workaround that will be in the next release. All sitemap fiels will be in their own directory, and separate from the sitemap php files.

[QUOTE=libertate]I also had the double appending problem with the domain name. www.site.comwww.site.com within the XML files.[quote]

If you don't do the setup correct, the url's are wrong. But all it needs is a browse at the xml file, and the setup corrected.

Quote:

Originally Posted by libertate
Take the db and pass from vB, and don't ask for it. This is required anyway if it's a cron job.

Most variables are as per the config, only username/password and ping are required on the html entrance page.

Quote:

Google wants an http:// after <LOC> which is not create if forgotten from the config.
The default in the config is $http="http://"; Take the risk and change it and see what happens as above.

Quote:

Also there are some problems with the "archive" folder where it appends after the file.
Like this:
www.example.com/forum/archive/index.php/f-1.html
The exact format is customisable in the config. Please let me know your exact problem - the above is the correct default format, and you can change it for your specific instance.


All times are GMT. The time now is 04:17 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.01394 seconds
  • Memory Usage 1,830KB
  • 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
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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