Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Results 31 to 40 of 73

Thread: Sitemap Generator integration

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11

    Thumbs down readme bad, bad translation = bad plugin

    Text automatically translated from: German to: English
    Translated text
    I've really tried to follow the readme and instructions, but because of poor English I have found is obviously something wrong, I have my vbseo_sitemap_functions.php well-edited wrong.

    Please help me change the file to correctly deal ...
    Original text

    Code:
       
    if($vboptions['vbseo_sm_freq_tsmart'])
       		    	{
       		    		$dpassed = (time() - $threadrow['lastpost'])/86400;
       		    		if($dpassed<3)$freq = 'daily';
       		    		else if($dpassed<10)$freq = 'weekly';
       		    		else if($dpassed<100)$freq = 'monthly';
       		    		else $freq = 'yearly';
       		    	}else
        		    	$freq = $vboptions['vbseo_sm_freq_t'];
        		    	     
                	vbseo_log_entry("[showthread] forum_id: $forumid, thread_id: $threadrow[threadid], total posts: $totalposts, pages: $totalpages, views: $threadrow[views] $prior");
    //additional code  
    $alanguages = array ('af','sq','ar','be','bg','ca','zh-CN','hr','cs','da','nl','en','pl','et','tl','fi','fr','gl','el','iw','hi','hu','is','id','ga','it','ja','ko','lv','lt','mk','ms','mt','no','fa','pt','ro','ru','sr','sk','sl','es','sw','sv','zh-TW','th','tr','uk','vi','cy','yi');  
    if(!$archived) {  
      $strlenhost = strlen($vbseo_vars['bburl']."/");  
      $currentthreadurl = vbseo_url_thread($threadrow, $p, $archived); 
      $currentthreadurl_before = substr($currentthreadurl,0,$strlenhost); 
      $currentthreadurl_after = "/".substr($currentthreadurl,$strlenhost); 
      $lastpost =& $threadrow['lastpost']; 
      $vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls($alanguages); 
      foreach($alanguages as $language) {  
        vbseo_add_url($currentthreadurl_before.$language.$currentthreadurl_after, $prior, $lastpost, $freq);  
      }  
    }    
    //end additional code 
    
        			for($p=1; $p<=$totalpages; $p++)
        			{
        			$vbseo_stat[$archived?'at':'t'] += vbseo_add_2urls(
        				vbseo_url_thread($threadrow, $p, $archived),
        				vbseo_url_thread($threadrow, $p, $archived, true),
        				$prior,
        				$threadrow['lastpost'],
    					$freq
        			);
    				
    				}
    
        			if($showpost)
        			{
    
     ...
    Text automatically translated from: German to: English
    Translated text

    This is the error that occurs when my Google Sitemap.xml's opens:

    Status Details
    Invalid URL
    This is not a valid URL. Correct the URL and submit the data again.
    URL:
    http://array
    Parent tag: url
    Tag: loc
    Problem identified on: 19/06/2010


    Thank you!
    Original text
    Last edited by wowglider.de; 19-06-10 at 14:32.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •