vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - vBSEO Google/Yahoo Sitemap Generator (https://vborg.vbsupport.ru/showthread.php?t=144730)

glennybee 02-18-2008 11:48 AM

Quote:

Originally Posted by iojam (Post 1445370)
glennybee,

did you create .htaccess file in forums folder?

I had added the .htaccess lines to the file, yes, but it only resided in the root. I've copied it to the /forums folder and all working now. Thanks for your help.

binkuang 02-18-2008 10:42 PM

i install the Sitemap Generator. why my vbseo SE Bots Activity Log show nothing activity?

Black Tiger 02-18-2008 11:52 PM

@Glennybee:
Quote:

I couldn't be bothered to read 43 pages
You said you are new to this. I give you a tip. Try the "search this mod" funktion, you do a search only in this mod that way, no need to read all pages.:)
Glad to see you have it working now!

@Iojam: I use the only code which was mentioned here as working, posted by Winstone in post #432 (page 29 in my browser). The one included in the mod did not work.
This is the full code:
Code:

<?php

 /******************************************************************************************
 * vBSEO Google/Yahoo Sitemap Generator for vBulletin v3.x.x by Crawlability, Inc.        *
 *-----------------------------------------------------------------------------------------*
 *                                                                                        *
 * Copyright ? 2005-2007, Crawlability, Inc. All rights reserved.                          *
 * You may not redistribute this file or its derivatives without written permission.      *
 *                                                                                        *
 * Sales Email: sales@crawlability.com                                                    *
 *                                                                                        *
 *-------------------------------------LICENSE AGREEMENT-----------------------------------*
 * 1. You are free to download and install this plugin on any vBulletin forum for which    *
 *    you hold a valid vB license.                                                        *
 * 2. You ARE NOT allowed to REMOVE or MODIFY the copyright text within the .php files    *
 *    themselves.                                                                          *
 * 3. You ARE NOT allowed to DISTRIBUTE the contents of any of the included files.        *
 * 4. You ARE NOT allowed to COPY ANY PARTS of the code and/or use it for distribution.    *
 ******************************************************************************************/

        $mods = $db->query("SELECT id,name FROM " . TABLE_PREFIX . "dl_cats ORDER BY `id`");
        while ($mod = $db->fetch_array($mods))
        {       
                $url = $vbseo_vars['bburl'].'/downloads.php?do=cat&id='.$mod['id'];

                if(VBSEO_ON)
                        $url = vbseo_any_url($url);

                  vbseo_add_url($url, 1.0, '', 'daily');
        }

        $mods = $db->query("SELECT id as fid FROM " . TABLE_PREFIX . "dl_files");
        while ($mod = $db->fetch_array($mods))
        {       
                $url = $vbseo_vars['bburl'].'/downloads.php?do=file&id='.$mod['fid'];

                if(VBSEO_ON)
                        $url = vbseo_any_url($url);
                  vbseo_add_url($url, 1.0, '', 'daily');
        }
?>

In fact I'm wondering if this mod should not be kicked to the graveyard. I'm already happy some members are helping each other with this.

Black Tiger 02-19-2008 12:03 AM

And I'm just reading this in the vbseo_sitemap.php
Code:

$addons = preg_split('#[\r\n]+#', $vboptions['vbseo_sm_addons']);

foreach($addons as $addon)
if($addon && file_exists(VBSEO_DAT_FOLDER_ADDON . $addon))
{

Shouldn't there be a ";" (semicolumn or how do you call that in English) behind one of the last two lines?
Because the parse error said "expecting ;".

Black Tiger 02-19-2008 01:09 PM

Fixed, code over here was wrong, problem: missing html entry's in the downloads addon.

Now we are lucky to have such good coder as RSJelle who DOES know what the word "support" means and even fixes code-error for a mod which is not his.

Anyone else having problems with the downloads addon (for Downloads II by RSJelle), check this mod:
https://vborg.vbsupport.ru/showthrea...14#post1446414
Threadnumber #2355
There's the solution to the downloads addon problem. Working like a charm now.

I'm going to click uninstall now, not because I uninstalled but because of the missing correct files in the download zipfile, the bad coded files (not linux but with windows editor) and the lack of support by the coder (last post by him 13th april 2007 almost a year ago?)
He at least lost 1 future customer for the commercial product.

Any other member here, thanks for trying to give me support with my problem.

iojam 02-19-2008 01:46 PM

binkuang,

that feature is only working if you have vBSEO product installed additionally to vBSEO Sitemap Generator.


Black Tiger,

I'm glad you got it resolved! Btw, I'm providing "official" support for vBSEO Sitemap Generator mod here, so it's not left unsupported :)
The downloads mod add-on code included in the package was prepared for an older version (the one that was available at that moment) and new downloads mod release has db table names changed.

Black Tiger 02-19-2008 02:06 PM

IoJam:
I'm sorry, I did not know you were providing official support over here, I thought only the coder was doing that, I already complained about it, cause I was going mad and did not know you took over, sorry.:(

It's great to here it's not left unsupported so I will click install again.
And I did not resolve the problem, RSJelle did.:)

The new mod indeed had db table names changed, but somewhere in this thread (I pointed to it in an earlier reply) somebody updated it but it still not worked with that now code (dl_cats and dl_files).

It would be a good idea to integrate the new addon in the release zipfile.
Also it would be a good idea to check the release php files with an editor like Editpad Lite because with almost every file you can use the "convert to linux" option, which means they are edited with something like Wordpad, which can cause strange things on some linux distro's due to the hidden layout signs wordpad generates.

Suggestion: If the release zip could be updated with these things, it would be fully up to date again and used without problems.

iojam 02-19-2008 02:46 PM

That will be certainly included in the next update for vBSEO Sitemap Generator (possibly with other generator add-ons updated/added), thank you. :)

glennybee 02-20-2008 04:07 PM

Hi folks, thanks for this mod.

I had been looking into sitemaps before finding this mod.

I've created a google webmaster account, found a website that creates a sitemap.xml for you and uploaded the sitemap.xml to http://www.domain.co.uk/sitemap.xml.

Then I found this mod, installed and it seems to be working ok. I get a ping ok message for all search engines and I get an email saying it's been done.

I've added a .htaccess file to my http://www.domain.co.uk/forums folder.

I've read pretty much this whole thread and it's only confused me more lol.

Should I remove the sitemap.xml that I uploaded to google the first time? Is this mod uploading a sitemap as well as the one I currently have?

How does google access the file uploaded by this mod if the map is at /vbseo_sitmap/data/sitemap_1.xml.gz? Does it not need to be at /sitemap.xml? Does the .htaccess file allow a 'virtual link' from /forums to the actual sitemap??

So confused! :confused:

Any clarification would be much appreciated!

Thanks
Glen

EDIT:

I've not added a url of http://www.domain.co.uk/forums to my webmaster tools in google and added the sitemap http://www.domain.co.uk/forums/sitemap_1.xml.gz and it's accepted it ok. So I assume that everytime this mod updates the sitemap, google will be able to extract it from that location.

Think I'm understanding it now. lol

iojam 02-20-2008 04:22 PM

You should not remove your older sitemap, you can submit both to Google. Although files are stored in data/ folder, you can still access them via forums folder using rewrite rule in .htaccess file.


All times are GMT. The time now is 06: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.02728 seconds
  • Memory Usage 1,758KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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