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 08-09-2005 10:00 PM

Google sitemap for the vB Archives. Redirect human and robots.
 
Release V1.2 (9 Nov 2005)
* Higher sitemap priority rate is given to threads with new posts. So Google can index fresh threads first.

* Not recommending the original optional STEP 3 hack. To avoid potential Google penalty, my advice is to remove the STEP 3 hack.

Release V1.1a (12 Oct 2005)

* Bug fix only

Release V1.1 (9 Oct 2005)

* Can handle very large forums with more than 50,000 URLs per forum
URLs will be spanned through multiple files for each large forum.

* Created a function to detect search engine crawlers. The vB built-in
search engine detector can only identify about 3 or 4 search engines.
My function will detect over 20 search engine crawlers.

* Support forums hosted by web servers that do not support 'fix_pathinfo'
ie. instead of the usual 'archive/index.php/f-10.html' link. These
forums have a link as 'archive/index.php?f-10.html'.

* Alert about wrong directory permissions to help newbies.

* Automatically write index file to archive directory if the php
script can not write into the base vB directory.

* Bug fixes.


Objectives
==============
  • Create Google sitemap files and sitemap index file for vB archives, submit to Google by the Scheduled Tasks.
  • To have the vB Archive used as a mirror to the actual threads.
  • Google loves the nature of the archive pages, as they are static and do not contain repeated contents.
  • Google gauge pages heavily based on external links. We need to redirect these external thread links to the archive pages.
  • We often see vbulletin archive in the Google search results, but the users are taken to the archive page instead of the actual threads. We need to automatically redirect visitors to the actual threads instead of the archive. Otherwise the visitor either need to reclick for the Full Version or read the dull archive contents.

Q and A
==============
Q. Would the sitemap contain the links for hidden forums?
A. No, the forum permission was consulted while generating the sitemap files.

Q. How often are the sitemap files generated?
A. You decide and set in the Scheduled Tasks. The script can not be called by external user by default to prevent boring people killing your server.

Q. Is the sitemap file compressed.
A. Yes, the multiple sitemap files are gunziped according to Google sitemap standard to save bandwidth. Sitemap index file is not compressed, it is submitted as a normal xml file.

Q. Would the sitemaps include links for the normal threads? eg. showthread.php?t=1234...
A. No, it is unlikely Google will index your entire site if you feed it with all the combination of showthread links. It is better to let Google going through the more static archives. You will have a better chance for sure to have more thread contents indexed by Google this way.

Q. Why don't you go crazy about rewrite rules and do things like including thread title as the url.
A. I won't deny having keywords in the url is a good SEO strategy, but Google also does not like "Over Search Engine Optimized" web sites. Google has recently penalized a huge number of such sites. Sending them from page rank of 5, 6 to 0.

Q. Does sitemap really help?
A. Definitely, Google has done over 60,000 pages since I submitted my sitemaps a few days ago. Yahoo bots were visiting more pages than Google before the sitemap. I expect the total Google visits for this month will be exceeding Yahoo in the next one or two days.

What is involved?
==================
I have divided this hack into two steps. The first step involves unloading a php file. This enables the sitemap to be generated and submitted to Google.

The second step involves installing a Plugin using AdminCP. This sends all robots to the archive pages, preventing them viewing the actual threads.

For example, Google/Other Crawlers follows an external link to visit:
http://forums.mysite/showthread.php?t=1234&page=2

It will be told this page is permanently relocated to:
http://forums.mysite/archive/index.php/t-1234-p-2

This way you don't lose page rank gain from external links.

Install
=========
To install, follow the readme file.
To let me know you have installed this and let me send update information to you. Please click INSTALL .

Strategy
=========

It is unlikely Google/other Search Engine will index your entire site, especially due to the dynamic nature of the vbulletin forums. An archive sitemap will let Google concentrate on the real contents of your forums -- the threads. If Google needs to go through the endless member profile pages. It will get sick of it and just become tired.(sorry, perhaps robots can not become tired:)). What we can do is disallowing the crawling of unneccessary pages. My robots.txt contains:

#ALL BOTS
User-agent: *
Disallow: /admincp/
Disallow: /ajax.php
Disallow: /attachments/
Disallow: /clientscript/
Disallow: /cpstyles/
Disallow: /images/
Disallow: /includes/
Disallow: /install/
Disallow: /modcp/
Disallow: /subscriptions/
Disallow: /customavatars/
Disallow: /customprofilepics/
Disallow: /announcement.php
Disallow: /attachment.php
Disallow: /calendar.php
Disallow: /cron.php
Disallow: /editpost.php
Disallow: /external.php
Disallow: /faq.php
Disallow: /frm_attach
Disallow: /image.php
#Disallow: /index.php
Disallow: /inlinemod.php
Disallow: /joinrequests.php
Disallow: /login.php
Disallow: /member.php?
Disallow: /memberlist.php
Disallow: /misc.php
Disallow: /moderator.php
Disallow: /newattachment.php
Disallow: /newreply.php
Disallow: /newthread.php
Disallow: /online.php
Disallow: /payment_gateway.php
Disallow: /payments.php
Disallow: /poll.php
Disallow: /postings.php
Disallow: /printthread.php
Disallow: /private.php
Disallow: /profile.php
Disallow: /register.php
Disallow: /report.php
Disallow: /reputation.php
Disallow: /search.php
Disallow: /sendmessage.php
Disallow: /showgroups.php
Disallow: /showpost.php
Disallow: /subscription.php
Disallow: /usercp.php
Disallow: /threadrate.php
Disallow: /usercp.php
Disallow: /usernote.php

You perhaps have noticed I included index.php in there. Apparently Google regards http://forums.mysite/index.html as same as http://forums.mysite/
...but http://forums.mysite/index.php as a different file. The default vB templates include index.php as the internal link. That will spread your page rank on your home page! So it is better off not letting Google see this file.

If you have rewrite installed. Perhaps you could add to the .htaccess file:

RewriteCond %{QUERY_STRING} ^$
RewriteRule ^index.php$ / [R=301,L]

(if your forums are under http://site/forums/. Try: RewriteRule ^forums/index.php$ forums/ [R=301,L])

That will redirect /index.php to /, but only if no query_string is presented. ie. /index.php?do=mymod will not be redirected.

jugo 08-10-2005 11:25 AM

Very sweet.

Thanks alot....Befor eyou know it, My site will be on the #1 Spot for Game Servers and Web hosting.

hotrod1 08-10-2005 01:40 PM

When I try to run the scheduled task I get this error:

Google Sitemap Submit

Fatal error: Call to a member function on a non-object in /home/explosiv/public_html/forum/archive/forums_sitemap.php on line 98

Fatal error: Call to a member function on a non-object in /home/explosiv/public_html/forum/includes/functions.php on line 4240

lierduh 08-10-2005 02:07 PM

There is a bug in the RC2 for running a Task by "Run Now".

You can fix this bug by editing "admincp/cronadmin.php"

Around line 60 find:
$db = null;

Replace it with:

unset($db);

hotrod1 08-10-2005 02:35 PM

Thanks alot, that fixed the problem.

hotrod1 08-10-2005 07:50 PM

Quote:

Originally Posted by lierduh
There is a bug in the RC2 for running a Task by "Run Now".

You can fix this bug by editing "admincp/cronadmin.php"

Around line 60 find:
$db = null;

Replace it with:

unset($db);

How exactly do I apply the changes to the archive files? There is no directions for doing it manually and I tried replacing the files but had no luck.

flaregun 08-10-2005 08:23 PM

I'm getting:

Warning: fopen(/forum/g_sitemap.xml): failed to open stream: Permission denied in /archive/forums_sitemap.php on line 245

Looks like it's trying to write to my forums dir and not my base dir...how can I change that?

lierduh 08-10-2005 09:30 PM

Quote:

Originally Posted by flaregun
I'm getting:

Warning: fopen(/forum/g_sitemap.xml): failed to open stream: Permission denied in /archive/forums_sitemap.php on line 245

Looks like it's trying to write to my forums dir and not my base dir...how can I change that?

It will write the sitemap index file to the forums/vb base directory. Sitemap index is best located at the base directory! The base refers to the forum base, not your web root/base.

The index file (g_sitemap.xml) will be written to where forumdisply.php and showthreads.php are located.

flaregun 08-10-2005 09:49 PM

hmm i changed permissions and It still wont work, should I create a blank g_sitemap.xml file in the forums dir?

lierduh 08-10-2005 10:09 PM

Quote:

Originally Posted by hotrod1
How exactly do I apply the changes to the archive files? There is no directions for doing it manually and I tried replacing the files but had no luck.

I have provided the diff for the old file and the new file. Unfortunately I don't have time to write line by line instruction for the modifications.

I have attached the coloured diff from CVS. You should be able follow these to change the files.

(Note, I can not redistribute modified vB files, nor will I do that)
PS (I do not take paid work. I just don't have the time and patience to write the instruction.)

lierduh 08-10-2005 10:13 PM

Quote:

Originally Posted by flaregun
hmm i changed permissions and It still wont work, should I create a blank g_sitemap.xml file in the forums dir?

What is the permission setting for your forums directory? At the base of the vb directory. Do this

#ls -l ../

and copy the result here.

flaregun 08-11-2005 01:16 AM

now I'm getting this, I change the persmissions in the archive folder, but I still get it.

Warning: gzopen(/public_html/forum/archive/sitemap_3.gz): failed to open stream: Permission denied in /archive/forums_sitemap.php on line 132

alkatraz 08-11-2005 02:11 AM

haven't upgraded to 3.5 yet but used your robots.txt file, thx!

MrNase 08-12-2005 12:06 AM

Nice but I can't use it.. My shared host doesn't allow me to change permissions for ./ :(

lierduh 08-12-2005 12:13 AM

Quote:

Originally Posted by MrNase
Nice but I can't use it.. My shared host doesn't allow me to change permissions for ./ :(

Easy, find "/g_sitemap.xml" (3 places) and replace it with "/archive/g_sitemap.xml". The sitemap index file will be written to 'archive' directory.

lierduh 08-12-2005 12:14 AM

Quote:

Originally Posted by flaregun
now I'm getting this, I change the persmissions in the archive folder, but I still get it.

Warning: gzopen(/public_html/forum/archive/sitemap_3.gz): failed to open stream: Permission denied in /archive/forums_sitemap.php on line 132

That means the permission is wrong. Please do a #ls -l and copy the result here.

jdingman 08-12-2005 02:32 AM

The install directions are very confusing. You may want to include very detailed instructions so anyone can install it. Such as where to find the Scheduled task stuff and all that. I'm very new and I had no idea where any of it was, so therefor I have not gotten it installed.

flaregun 08-13-2005 01:21 AM

Quote:

Originally Posted by lierduh
That means the permission is wrong. Please do a #ls -l and copy the result here.

Permissions in what folder? I followed the instructions as best I could. Could you list all dir that must be changed?

note, my forum is in a sub folder from the root, is that what is messing this script up?

thanks,

- R

lierduh 08-13-2005 04:10 AM

Quote:

Originally Posted by flaregun
Permissions in what folder? I followed the instructions as best I could. Could you list all dir that must be changed?

note, my forum is in a sub folder from the root, is that what is messing this script up?

thanks,

- R

The readme.txt:
The sitemap files will be created in the archive directory. The index
file will be created in the base vBulletin directory. It is important
a sitemap resides in the base directory. Google assumes you have the
permission to submit the sitemap when the sitemap is not located
in the sub directory.


It is perhaps easier if you post the part that you do not understand. ... and most importantly, list your current directory structure and what you have done. You said you have changed permissions, then what have you changed? I have asked twice for you to copy the result of #ls -l. I don't know what should I presume, be it you can't access to shell or your web server is Windows based? I don't know... I think we have serious communication problem, we do not understand each other by the sound of it.:)

lierduh 08-13-2005 04:13 AM

Quote:

Originally Posted by jdingman
The install directions are very confusing. You may want to include very detailed instructions so anyone can install it. Such as where to find the Scheduled task stuff and all that. I'm very new and I had no idea where any of it was, so therefor I have not gotten it installed.

Go to your AdminCP (Admin Control Panel), look down on the left hand side.

KarateKid 08-17-2005 11:29 AM

Quote:

Originally Posted by lierduh
Go to your AdminCP (Admin Control Panel), look down on the left hand side.

does anyone run this hack already successfully with RC2?

Rich 08-17-2005 12:37 PM

Hello,

I am running on a unix machine, my forums are in the root directory and not a sub directory. I uploaded the forums_sitemap.php to the archive folder and then I chmod it to 775. (meaning the archive directory)

I then chmod my root directory (public_html) to 775.

Then I went in, and added the scheduled task.

Then I ran the scheduled task and got these errors:

Fatal error: Call to a member function on a non-object in /home/habitats/public_html/archive/forums_sitemap.php on line 98

which is: $forums = $vbulletin->db->query("

Fatal error: Call to a member function on a non-object in /home/habitats/public_html/includes/functions.php on line 4240

which is: $vbulletin->db->unlock_tables();

Did I miss a step? I believe I covered everything.(I have complete access to my db including telenet authorization as well as query running ability. All of my usernames and passwords are set correctly.)

lierduh 08-17-2005 01:48 PM

See the third post within this thread.

Quote:

Originally Posted by iguanairs
Hello,

I am running on a unix machine, my forums are in the root directory and not a sub directory. I uploaded the forums_sitemap.php to the archive folder and then I chmod it to 775. (meaning the archive directory)

I then chmod my root directory (public_html) to 775.

Then I went in, and added the scheduled task.

Then I ran the scheduled task and got these errors:

Fatal error: Call to a member function on a non-object in /home/habitats/public_html/archive/forums_sitemap.php on line 98

which is: $forums = $vbulletin->db->query("

Fatal error: Call to a member function on a non-object in /home/habitats/public_html/includes/functions.php on line 4240

which is: $vbulletin->db->unlock_tables();

Did I miss a step? I believe I covered everything.(I have complete access to my db including telenet authorization as well as query running ability. All of my usernames and passwords are set correctly.)


flaregun 08-18-2005 04:14 AM

If I call the script directly: I get these errors:

Warning: array_keys(): The first argument should be an array in /includes/class_core.php on line 1375

Warning: Invalid argument supplied for foreach() in /includes/class_core.php on line 1375

Warning: array_keys(): The first argument should be an array in /includes/class_core.php on line 1390

Warning: Invalid argument supplied for foreach() in /includes/class_core.php on line 1390

Brandon Sheley 08-18-2005 04:52 AM

i don't understand this part of the install ? i'm very new to the new setup.. 2 nights now..lol

Code:

You need to change the directory permission so that the script can write
to the base and archive directory. If your server runs apache and apache
is run under apache user and apacher group.

I normally assign the permission this way:

#chown apache.MYUSER_GROUP archive
#chmod 775 archive

MYUSER_GROUP is the user group my login belongs to. #ls -l will show that.

775 will let apache (the script) and me (after I log in) add/change files.

Set the same permission to the base vB directory.

is this a file i chmod :ermm: im lost

lierduh 08-19-2005 12:31 AM

Which version of vB do you use? The line numbers do not match. Otherwise, have you modified class_core.php file? perhaps due to the installation of another hack?


Quote:

Originally Posted by flaregun
If I call the script directly: I get these errors:

Warning: array_keys(): The first argument should be an array in /includes/class_core.php on line 1375

Warning: Invalid argument supplied for foreach() in /includes/class_core.php on line 1375

Warning: array_keys(): The first argument should be an array in /includes/class_core.php on line 1390

Warning: Invalid argument supplied for foreach() in /includes/class_core.php on line 1390


lierduh 08-19-2005 01:14 AM

Quote:

Originally Posted by Loco Macheen
i don't understand this part of the install ? i'm very new to the new setup.. 2 nights now..lol

Code:

You need to change the directory permission so that the script can write
to the base and archive directory. If your server runs apache and apache
is run under apache user and apacher group.

I normally assign the permission this way:

#chown apache.MYUSER_GROUP archive
#chmod 775 archive

MYUSER_GROUP is the user group my login belongs to. #ls -l will show that.

775 will let apache (the script) and me (after I log in) add/change files.

Set the same permission to the base vB directory.

is this a file i chmod :ermm: im lost

chmod and chown are Unix commands.

I did not realise many amdins are newbies when comes to system admin.

Basically you need to change the permission of the directories so that the php script can write files (sitemaps) to them. I understand some of your providers probably do not even provide shell access to the server, only some sort of user control panel for admin purpose. I am afraid I can not explain how to use these control panels as I have not seen one. Users of such ISP control panel may be able to provide more information. People who do not know what to do should provide information such as what sort of control panel do you use, what is in there, what have you tried.

I will try to explain in general:

When I refer to the base directory, I refer to the forum base directory. Some of you might have set up the forums this way:

http://www.mysite.com/forums/

That means http://www.mysite.com/index.html will be in the root directory of the domain. The base directory for the vB will be ./forums under the web root.

If your forums are set up as http://forums.mysite.com/
Then the base vB directory will be the root directory for the domain (forums.mysite.com)

This hack needs to write to
1) The base vB directory (where you find showthread.php file)
2) The archive directoy (where you find archive.css file)

So you need to make these two directories writable for the php script, OR world writable.

A little info for the Unix chomd command.

1: executable
2: writable
4: readable

1+4 = 5 means readable and executable. Directories should be at least 1, 5 for a directory means visitor can read (list) directory contents, unless a index file is found.

php files only need to be readable: 4

If we need to write to the directory, then the permission needs to be:
1+4+2 = 7

There are three permission for each file/directory. 1) User, 2) Group, 3) World/anyone

User means the Unix logged in user, or the user the script runs as (typically apache or nobody is used by web servers).

Group means the user group the user belongs to. Typically the apache server runs the script as 'apache' or 'nobody' group.

World means the permission for everyone. They can be any user who logs into the web server. Naturally it includes the user that the php scripts runs as.

If you do a
#chmod 777 a_directory
The first 7 means the user can read, execute, write to a_directory.
The second 7 means the user group can read, execute, write to a_directory.
The third 7 means anyone can do these tasks.

So a 777 permission will sure let scripts write stuff to the directory, but with less security.

chown is another Unix command to change the owership of a file/directory.

#chown myusername.mygroupname a_directory
will change the directory's owner to 'myusername', and make the directory belongs to 'mygroupname' group.

All above refers to Unix/Linux usage, Windows probably uses some mouse clicks, but the essence should be the same regarding user/group and permission.

Now that I have spent time and effort to write, I hope the people who ask questions can also take the time and effort to write questions.:)

flaregun 08-19-2005 03:26 AM

Quote:

Originally Posted by lierduh
Which version of vB do you use? The line numbers do not match. Otherwise, have you modified class_core.php file? perhaps due to the installation of another hack?

VB3.5 rc2, no mods to that file :(

Brandon Sheley 08-19-2005 03:47 AM

Quote:

Originally Posted by lierduh
chmod and chown are Unix commands.

I did not realise many amdins are newbies when comes to system admin.

Basically you need to change the permission of the directories so that the php script can write files (sitemaps) to them. I understand some of your providers probably do not even provide shell access to the server, only some sort of user control panel for admin purpose. I am afraid I can not explain how to use these control panels as I have not seen one. Users of such ISP control panel may be able to provide more information. People who do not know what to do should provide information such as what sort of control panel do you use, what is in there, what have you tried.

I will try to explain in general:

When I refer to the base directory, I refer to the forum base directory. Some of you might have set up the forums this way:

http://www.mysite.com/forums/

That means http://www.mysite.com/index.html will be in the root directory of the domain. The base directory for the vB will be ./forums under the web root.

If your forums are set up as http://forums.mysite.com/
Then the base vB directory will be the root directory for the domain (forums.mysite.com)

This hack needs to write to
1) The base vB directory (where you find showthread.php file)
2) The archive directoy (where you find archive.css file)

So you need to make these two directories writable for the php script, OR world writable.

A little info for the Unix chomd command.

1: executable
2: writable
4: readable

1+4 = 5 means readable and executable. Directories should be at least 1, 5 for a directory means visitor can read (list) directory contents, unless a index file is found.

php files only need to be readable: 4

If we need to write to the directory, then the permission needs to be:
1+4+2 = 7

There are three permission for each file/directory. 1) User, 2) Group, 3) World/anyone

User means the Unix logged in user, or the user the script runs as (typically apache or nobody is used by web servers).

Group means the user group the user belongs to. Typically the apache server runs the script as 'apache' or 'nobody' group.

World means the permission for everyone. They can be any user who logs into the web server. Naturally it includes the user that the php scripts runs as.

If you do a
#chmod 777 a_directory
The first 7 means the user can read, execute, write to a_directory.
The second 7 means the user group can read, execute, write to a_directory.
The third 7 means anyone can do these tasks.

So a 777 permission will sure let scripts write stuff to the directory, but with less security.

chown is another Unix command to change the owership of a file/directory.

#chown myusername.mygroupname a_directory
will change the directory's owner to 'myusername', and make the directory belongs to 'mygroupname' group.

All above refers to Unix/Linux usage, Windows probably uses some mouse clicks, but the essence should be the same regarding user/group and permission.

Now that I have spent time and effort to write, I hope the people who ask questions can also take the time and effort to write questions.:)

i wouldn't go as far as to say im a newbie...
i know how to chmod,
as you notice my question is where is the file if i'm chmoding...

you said something about shell access ? whats that mean, i'm my own hosting reseller, i have full access to my host.
If you woul be so kind to tell me where this file is,, thats all i ask :)
btw its vb 3.5.0 rc2
the newest one as of this post

thank you,
-LM

lierduh 08-19-2005 05:02 AM

Quote:

Originally Posted by Loco Macheen
i wouldn't go as far as to say im a newbie...
i know how to chmod,
as you notice my question is where is the file if i'm chmoding...

you said something about shell access ? whats that mean, i'm my own hosting reseller, i have full access to my host.
If you woul be so kind to tell me where this file is,, thats all i ask :)
btw its vb 3.5.0 rc2
the newest one as of this post

thank you,
-LM

I spent all that time, and you don't even read it probably?:(

Quote:

You need to change the directory permission so that the script can write
to the base and archive directory.

Brandon Sheley 08-19-2005 05:52 AM

the public_html folder ?

Brandon Sheley 08-21-2005 11:45 PM

Quote:

Originally Posted by Loco Macheen
the public_html folder ?


so.....
do a assume that this is correct ? to chmod the forum directory ?
thx for the quick help :rolleyes:

turkforum 08-25-2005 01:38 AM

Thank you very much lierduh, it is really great vB3.5 Extensions..
I will install it as soon as i can but i will have a question for you..

To keep my opened treads in order,I had to have so many subforums on my board, over then 1 million post..there is even no treads opened under main forums but all treads have placed in subforums of the forums..Even though my archive is pr 4 (main forum pr5), google just doesn't get in to those subforums and not indexing my treads..Pls, correct me if i am wrong..With this extension, can we solve this problem?

I use Vb 3.5 rc2
Linux rhel 4.0
my base directory is home/account/Public_html/
And archive at the public_html/archive/

Best regards..

lierduh 08-25-2005 03:52 AM

Yes, you will definity have more pages indexed by Google by using sitemaps.

With my experience, if a web site's structure is too complicated, Google will be hesitated to go deeper. Sitemaps files basically advice Google that the URLs you want Google to crawl. Despite Google claims their crawlers do not base their crawling habbit entirely on sitemaps. In reality, they use sitemaps extensively. They crawl the URLs with higher "priority" first. My sitemaps have the forum list set to higher priority only after the home archive page, followed the thread pages.

My script will only write one small sitemap index file to the base vBulletin directory (g_sitemap.xml), all the sitemaps files are written to 'archive' directory. (sitemap_11.gz, sitemaps_15.gz...)

Quote:

Originally Posted by turkforum
Thank you very much lierduh, it is really great vB3.5 Extensions..
I will install it as soon as i can but i will have a question for you..

To keep my opened treads in order,I had to have so many subforums on my board, over then 1 million post..there is even no treads opened under main forums but all treads have placed in subforums of the forums..Even though my archive is pr 4 (main forum pr5), google just doesn't get in to those subforums and not indexing my treads..Pls, correct me if i am wrong..With this extension, can we solve this problem?

I use Vb 3.5 rc2
Linux rhel 4.0
my base directory is home/account/Public_html/
And archive at the public_html/archive/

On my base directory I see files like
core.1000 sizes are around 22.000KB
I got more than maybe 30 of these
But Under Archive i can not see a map file
Still looking at the issue on my side

My apache runs as nobody and both directorys have 777 for nobody

Best regards..


turkforum 08-26-2005 11:05 PM

When I check your arcive page i see that the threads are shown as

/archive/index.php/f-10.html

But mine is still

archive/index.php?f-372.html

How can i change the Questionmark with the /

Where did i make a mistake please advice

lierduh 08-26-2005 11:46 PM

Quote:

Originally Posted by turkforum
When I check your arcive page i see that the threads are shown as

/archive/index.php/f-10.html

But mine is still

archive/index.php?f-372.html

How can i change the Questionmark with the /

Where did i make a mistake please advice

I am glad you mention this. You need to turn on Apache's AcceptPathInfo.
http://httpd.apache.org/docs/2.0/mod...acceptpathinfo

I will add this to the FAQ.

turkforum 08-27-2005 08:42 AM

Quote:

Originally Posted by lierduh
I am glad you mention this. You need to turn on Apache's AcceptPathInfo.
http://httpd.apache.org/docs/2.0/mod...acceptpathinfo

I will add this to the FAQ.

Will not having this feature effect the google indexing and caching results?
iF yes you mentioned it was for apache 2.0
Is there any other way to make this happen?

thnx

Yorixz 09-03-2005 05:41 PM

This mod looked very interesting, install went fine but now when I try to run it I get this errors:
Code:

Warning: fopen(/home/ftpusers/otfans/html/forums/g_sitemap.xml) [function.fopen]: failed to open stream: Permission denied in /archive/forums_sitemap.php on line 245

Warning: fwrite(): supplied argument is not a valid stream resource in /archive/forums_sitemap.php on line 247

Fatal error: Call to a member function query() on a non-object in /home/ftpusers/otfans/html/forums/archive/forums_sitemap.php on line 98

Fatal error: Call to a member function unlock_tables() on a non-object in /home/ftpusers/otfans/html/forums/includes/functions.php on line 4240

What am I doing wrong? I'll be very glad to hear it ;)

David_R 09-03-2005 05:51 PM

Hi,
does this hack supports vb 3.x versions ?
does this hack has a feature to capture
title
Keywords
Description as well ?

thanks

Yorixz 09-03-2005 06:03 PM

Quote:

Originally Posted by David_R
Hi,
does this hack supports vb 3.x versions ?
does this hack has a feature to capture
title
Keywords
Description as well ?

thanks

It doesn't support vB 3.x, that's why it's in the vB 3.5 category ;)


All times are GMT. The time now is 07:43 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.01624 seconds
  • Memory Usage 1,913KB
  • 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
  • (3)bbcode_code_printable
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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