vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Google sitemap for the vB Archives. Redirect human and robots. (https://vborg.vbsupport.ru/showthread.php?t=93980)

lierduh 10-10-2005 01:31 AM

Quote:

Originally Posted by falter
lierduh, are you sure that you're diffing a modified 3.5.0 (gold) against the original 3.5.0 (gold) ? I'm having problems running the diffs as patches against the 3.5.0 gold versions of the files (pulled straight out of the tarball).

regardless, perhaps the diffs are the wrong route? Maybe it would do better service to the less technical users if you had some instructions for code modifications that were similar to many of the others hacks? (ex. find [this block of code] add [this chunk of code] right after it, bla bla bla).

The problem is probably caused by individual Licence Number and download timestamp. So my Gold 3.5 file is slightly different from yours. I will PM you my files' header and footer for you to try patch again. I used Unified Context. You can try to force patch with this flag if needed.

I don't really have the energy and time at the moment to write step by step instructions. I will be abroad in a few days time. So I would rather spend time on the actually code.:)

xtreme-mobile 10-10-2005 04:34 PM

ive managed to get this sort of working but dont understand step 3 it makes no sense whats so ever :(

any way it submitted my site map and i manually added it to google so i could track it BUT when i click status in google sitemaps it is showing this error:

Sitemap Errors
HTTP error

The server returned an error when we tried to access the URL provided. Please make sure the Sitemap URL is correct and resubmit your Sitemap.

whats happened here then?

dutchbb 10-10-2005 11:48 PM

Hi lierduh,

I can't seem to open my /archive map anymore? It loads for a while and than its a white screen forever.

I noticed there are alot of zip files there, so what's the deal, do I need to delete/clean out or something, is it getting to big, i can't access it now anymore :(

lierduh 10-11-2005 12:56 AM

Quote:

Originally Posted by xtreme-mobile
ive managed to get this sort of working but dont understand step 3 it makes no sense whats so ever :(

any way it submitted my site map and i manually added it to google so i could track it BUT when i click status in google sitemaps it is showing this error:

Sitemap Errors
HTTP error

The server returned an error when we tried to access the URL provided. Please make sure the Sitemap URL is correct and resubmit your Sitemap.

whats happened here then?

If you unzip the diff_for_modified_vb_files.zip and put all the files in one of your PC's folder. You should have files include: global_php - diff - 1_6.htm and index_php - diff - 1_5.htm. Use your browser to open these files. It will show you a graphic version of the difference you need to change. Check the the legend for the colour at the left bottom of the screen.

Pink: Removed from old file
Yellow: changed lines
Green: Added in new file

This is very very easy by the way.

What is the URL that Google said it is wrong?

xtreme-mobile 10-11-2005 06:19 AM

Quote:

Originally Posted by lierduh
If you unzip the diff_for_modified_vb_files.zip and put all the files in one of your PC's folder. You should have files include: global_php - diff - 1_6.htm and index_php - diff - 1_5.htm. Use your browser to open these files. It will show you a graphic version of the difference you need to change. Check the the legend for the colour at the left bottom of the screen.

Pink: Removed from old file
Yellow: changed lines
Green: Added in new file

This is very very easy by the way.

What is the URL that Google said it is wrong?

i put in google this

http://www.talk-365.com/forum/archiv...ms_sitemap.php

ill try what you said tonight :D

dutchbb 10-11-2005 09:41 AM

Quote:

Originally Posted by Triple_T
Hi lierduh,

I can't seem to open my /archive map anymore? It loads for a while and than its a white screen forever.

I noticed there are alot of zip files there, so what's the deal, do I need to delete/clean out or something, is it getting to big, i can't access it now anymore :(

Can you reply please :)

xxskullxx 10-11-2005 12:28 PM

Quote:

Originally Posted by xtreme-mobile
i put in google this

http://www.talk-365.com/forum/archiv...ms_sitemap.php

ill try what you said tonight :D

You should be submitting http://www.talk-365.com/forum/g_sitemap.xml

xtreme-mobile 10-11-2005 04:28 PM

ok ive upoaded the sitemap to forums directory and submitted taht to google sitemaps admin and see if taht returns anything, does this mean that the actaull hack his failimng then? cos it tells you to put the sitemap file in the archive folder not in forum folder??

im confused

also ive opened the files up i the browser for the step 3 but what exactly do i do???

its says the differences from V1.4 what the hell is V1.4 do i add the extra code etc that is missin in 1.4 into my global files or what? this makes no sense :(

im thick

sHORTYWZ 10-11-2005 04:49 PM

Since upgrading I've had major problems with this.. I'm running two forums and have had identical problems on each.

I test out the script and it generates the indexes correctly, however sometime down the road a few crons later the script somehow ends up generating a .gz for EVERY thread on my forum causing my /archive directory to contain thousands of .gz's and my index file to be almost a meg.

This seems to be the same problem that Triple_T is having.

Any ideas?

dutchbb 10-11-2005 05:47 PM

c'mon guys a little support here, this hack is too good to uninstall ;)

lierduh 10-11-2005 07:49 PM

Quote:

Originally Posted by sHORTYWZ
Since upgrading I've had major problems with this.. I'm running two forums and have had identical problems on each.

I test out the script and it generates the indexes correctly, however sometime down the road a few crons later the script somehow ends up generating a .gz for EVERY thread on my forum causing my /archive directory to contain thousands of .gz's and my index file to be almost a meg.

This seems to be the same problem that Triple_T is having.

Any ideas?

Ok, please list some examples of the file names and its contents. Without having the same problem. It can be hard for me to find the bug.

I honestly did not know what Triple_T was talking about though it makes more sense now.

buro9 10-11-2005 08:31 PM

Quote:

Originally Posted by lierduh
Ok, please list some examples of the file names and its contents. Without having the same problem. It can be hard for me to find the bug.

I honestly did not know what Triple_T was talking about though it makes more sense now.

I actually saw this today.

I couldn't get it to do it when I ran the cron manually from the admincp, but the scheduled task being run by the schedule did just this.

I had somewhere in the region of half a 100,00 files splattered around before I managed to kill the process (by nuking the MySql process and also restarting httpd). It took about 15 minutes running "rm -f *" against batches of 5,000 *.gz items at a time to delete them all.

I thought it was just me!

Anyhow... my cron job log output for this task is attached. Beware that the single logged job expands to 7.68mb of log file!

Fun :)

lierduh 10-11-2005 08:56 PM

I have nailed down the bug.
Please download new version (V1.1a)!

buro9 10-11-2005 09:10 PM

Quote:

Originally Posted by lierduh
I have nailed down the bug.
Please download new version (V1.1a)!

Fantastic response :)

I shall test it straight away :D

buro9 10-11-2005 09:18 PM

Yup, this one has fixed it.

Thanks very muchly... it's damn early there, so I'm guessing that was a pre-shower fix, much respect for it.

dutchbb 10-11-2005 09:26 PM

very fast,thank you

lierduh 10-11-2005 09:27 PM

Quote:

Originally Posted by buro9

a pre-shower fix.

Yes, it was a pre-shower release. :o :)

Suiko Jin 10-12-2005 01:44 AM

I am confused on step three. I have read the little diff sheets and the color charts but I don't get alot of it. Like on the yellow/changed line things.... do I change the code all together? Like on the index diff code chart on line 317, do I change that whole first yellow section on the left to the code on the right? or do I add the code on the right with it? Bah... very confusing since some of the code on other lines that it does this with seems to be exactly the same.

buro9 10-12-2005 04:31 AM

Quote:

Originally Posted by Suiko Jin
I am confused on step three. I have read the little diff sheets and the color charts but I don't get alot of it. Like on the yellow/changed line things.... do I change the code all together? Like on the index diff code chart on line 317, do I change that whole first yellow section on the left to the code on the right? or do I add the code on the right with it? Bah... very confusing since some of the code on other lines that it does this with seems to be exactly the same.

I use the text diff files.

And very basically:
Lines that start '<' need removing in your version
Lines that start '>' need adding in your version

I find text diff's much more friendly and when you start changing the code you'll find it's easier than you think. Just look at the code and you'll see lierduh is removing the PDA stuff, redirecting real people to the threads and making things nicer for such spiders.

Brandon Sheley 10-12-2005 05:27 AM

I'll give this a shot again
and i get this error when i chmod the root and arcives to 777 as the instructions say :|

Quote:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@locoforum.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
:ermm:

lierduh 10-12-2005 06:22 AM

Quote:

Originally Posted by Suiko Jin
Like on the index diff code chart on line 317, do I change that whole first yellow section on the left to the code on the right? or do I add the code on the right with it? Bah... very confusing since some of the code on other lines that it does this with seems to be exactly the same.

Yellow means change, why add?

The three lines before any coloured lines means: Fine these line, and change the lines after these three lines.
Then if yellow, change the whole yellow block on the left into the block on the right.

If you see green on the right, that means add lines. Green never appear on the left.

Same goes for pink, that never appears on the right because it means delete.

The coloured chart is even easier than the step by step instruction I think.:)

Funchiestz 10-12-2005 10:31 AM

Quote:

Originally Posted by lierduh
Yellow means change, why add?

The three lines before any coloured lines means: Fine these line, and change the lines after these three lines.
Then if yellow, change the whole yellow block on the left into the block on the right.

If you see green on the right, that means add lines. Green never appear on the left.

Same goes for pink, that never appears on the right because it means delete.

The coloured chart is even easier than the step by step instruction I think.:)

somehow i just install like the instruction, but i confuse... is it i need to submit manually or it will submit to google automatically?

d2sector 10-14-2005 10:23 AM

The Instructions gave me a headache :p But part 3 is optional anyhow isnt it?

Quote:

Originally Posted by Funchiestz
is it i need to submit manually or it will submit to google automatically?

The part in the readme that instructs you to add a scheduled task is what will automatically send the sitemap to google on whatever frequencey you set the task at.

MSC James 10-14-2005 12:59 PM

Hi, I installed this mod a couple of days ago (great mod!)

It was working fine for a while, then I just went to Google to track the status and it's telling me the index file is too big:

Quote:

Your index file contains too many Sitemaps. Please create multiple index files with up to 1000 Sitemaps each and submit all index files.
Hope you can help :)

James.

d2sector 10-14-2005 01:16 PM

My forums seem to use:
/archive/index.php?t-10939.html
By the sitemaps created are
/archive/index.php/t-10939.html

Howdo i get it to generate them with a ? instead of an /

lierduh 10-14-2005 02:04 PM

Looks you guys are still running the old version.

I sent a messages about the new version a few days ago, people who registered "Install" would have received the message.

MSC James 10-14-2005 09:42 PM

Oops, I'll get it now, thanks :)

This is the only vB mod i've installed that I've forgotten to click install on so far :o clicked it now :)

Unreal Player 10-14-2005 10:59 PM

Quote:

Originally Posted by lierduh
Looks you guys are still running the old version.

I sent a messages about the new version a few days ago, people who registered "Install" would have received the message.

Can you send me the message, i forgot to click install?

Suiko Jin 10-15-2005 02:07 AM

Alright, I did everything and installed it. Then I submitted this link to the google sitemap.

http://guardiansanctuary.net/forums/g_sitemap.xml

So I wait a day and then it says that it is ok but when I check on the stats, it says that it has generated some HTTP Error.

lierduh 10-15-2005 07:07 AM

New beta script.

Threads containing newer posts will have higher sitemap priority with this new script.

c0d3x 10-15-2005 09:27 AM

hi, i have some "hidden" forums that i want to be shown in the archive, but not shown on the forums page!! what can i do??

buro9 10-15-2005 09:43 AM

Quote:

Originally Posted by c0d3x
hi, i have some "hidden" forums that i want to be shown in the archive, but not shown on the forums page!! what can i do??

Why on earth would you want this?

If you have them in the archives and Google indexes them (it will), then your hidden forums will be cached in Google and you will find it VERY hard to remove them from there.

If they're hidden from your members, why on earth would you want to publish them to the whole world and your members anyway?

This request does not parse.

c0d3x 10-15-2005 11:35 AM

no no !! they're not hidden to members, they don't appear on the forumhome but they're active!!

jdingman 10-15-2005 02:54 PM

I've been modifying the files manually each time there is an update. How would automate the process so I don't have to manually modify the files each time, but rather just run something like the 'diff' script so that it is automated?

hotrod1 10-15-2005 02:56 PM

With the newest updates at least all you have to do is upload the forums_sitemap.php and that will overwrite the old one with the new code, that's it.

jdingman 10-15-2005 03:02 PM

Ok, but in general, is there a way to do something like that with plugins? Using a 'diff' type of method to implement code?

hotrod1 10-15-2005 03:04 PM

Yeah with products that will do the file edits for you but this mod doesn't support that yet and I don't know if it will but for now you would have to do it manually.

c0d3x 10-15-2005 05:04 PM

Quote:

Originally Posted by c0d3x
hi, i have some "hidden" forums that i want to be shown in the archive, but not shown on the forums page!! what can i do??

bump :ninja:

007 10-15-2005 07:14 PM

So far so good for me. Now instead of bots being all over the place they seem to only be looking at threads and the main page. :)

I haven't had any trouble with submitting to Google though. Actually Google seems to crawl my forums quite a few times per week anyway, so maybe I don't need to bother submitting it..

buro9 10-16-2005 08:23 AM

Quote:

Originally Posted by 007
I haven't had any trouble with submitting to Google though. Actually Google seems to crawl my forums quite a few times per week anyway, so maybe I don't need to bother submitting it..

You should submit the sitemap. I had Google spiders, and it's not about attracting them, it's about getting them to be more efficient, to look at things they didn't know were there, to look deeper, and to get more of your content indexed.


All times are GMT. The time now is 04:06 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.01581 seconds
  • Memory Usage 1,841KB
  • 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
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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