vb.org Archive

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

hugh_ 07-10-2008 05:22 AM

Quote:

Originally Posted by iojam (Post 1571686)

I can't access the file in the thread...

hugh_ 07-10-2008 06:45 PM

Is there some other way I can get to this file?

Hugh

Chris04S 07-10-2008 07:55 PM

Are there any upload instructions for this? Do we upload the htaccess folder to the root/forum directory, do we not?

murrtex 07-11-2008 05:45 PM

Thanks

chevy01xtreme 07-12-2008 01:46 AM

done fast question after i CHMOD 777 the 'forum-root/vbseo_sitemap/data/' folder . do i leave it this way. or i change the premissions back to 744 ?

imported_silkroad 07-12-2008 06:21 AM

In our forum at www.unix.com/forum_index.php forum 2 is the "Dummies" forum with over 14, 000 threads.

However, the logfile of the sitemap generating process says:

Quote:

[homepage] [2,525.5Kb mem used] [0s (+0s)]
[SECTION START] forumdisplay [2,525.7Kb mem used] [0s (+0s)]
[forumdisplay] forum_id: 2, total threads: 335, pages: 9 [2,526.3Kb mem used] [0s (+0s)]

(blah blah....)
Why does the forum have so many threads but the sitemap generator says there are 355 threads??

iojam 07-12-2008 09:20 AM

hugh_,

try to simply replace "dl_cats" with "file_cats" and "dl_files" with "file_files".


Chris04S,

.htaccess should be created in forums folder.


chevy01xtreme,

leave it at 0777.


imported_silkroad,

you have "Default View Age" option set to "Last month", so older threads are cut out: http://www.unix.com/unix-dummies-que...rs/index9.html I'd recommend to disable this option to show ALL thread for better exposure to search engines.

hugh_ 07-12-2008 09:42 AM

Quote:

Originally Posted by iojam (Post 1573444)
hugh_,

try to simply replace "dl_cats" with "file_cats" and "dl_files" with "file_files".

I don't see any instances of dl_cats or dl_files, the values are already marked as file_cats and file_files...

Hugh

iojam 07-12-2008 10:02 AM

Oh, that should be reverse replacement then :) ("file_"=>"dl_").

hugh_ 07-12-2008 11:09 AM

Having applied the changes you suggested leaving me with the following I still get an error (below):

Code:

<?php

/************************************************** ****************************************
* vBSEO Google/Yahoo Sitemap Generator for vBulletin v3.x.x by Crawlability, Inc. *
*-----------------------------------------------------------------------------------------*
* *
* Copyright ? 2005-2008, 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 `order`");
while ($mod = $db->fetch_array($mods))
{
$url = $vbseo_vars['bburl'].'/downloads.php?do=cat&id='.$mod['id'].'&name='.urlencode($mod['name']);

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

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

$mods = $db->query("SELECT ff.id as fid, ff.name as fname, fc.id as cid, fc.name as cname FROM " . TABLE_PREFIX . "dl_files ff LEFT JOIN dl_cats fc ON
ff.catid=fc.id");
while ($mod = $db->fetch_array($mods))
{
$url = $vbseo_vars['bburl'].'/downloads.php?do=file&id='.$mod['fid'].'&name='.urlencode($mod['fname']).'&cat='.urlencode($mod['cname']);

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

Error:

<!--
Database error in vBulletin 3.7.2:

Invalid SQL:
SELECT id,name FROM dl_cats ORDER BY `order`;

MySQL Error : Unknown column 'order' in 'order clause'
Error Number : 1054
Request Date : Saturday, July 12th 2008 @ 07:06:33 AM
Error Date : Saturday, July 12th 2008 @ 07:06:55 AM
Script : http://www.xxx.com/forum/vbseo_sitemap.php
Referrer : http://www.xxx.com/forum/index.php
IP Address : xxx
Username : Unregistered
Classname : vB_Database
MySQL Version :
-->


All times are GMT. The time now is 10:40 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.05818 seconds
  • Memory Usage 1,747KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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