MyBB Community Forums
[For 1.6] Google SEO 1.6.8 [EOL] - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Resources (https://community.mybb.com/forum-8.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Releases (https://community.mybb.com/forum-102.html)
+---- Thread: [For 1.6] Google SEO 1.6.8 [EOL] (/thread-101262.html)



RE: Google SEO 1.6.8 - MI-6 - 09-06-2014

(09-05-2014, 11:06 PM)Kowak Wrote: Can you update fast this important plugin?

Just change the compatibility line to "18*"


RE: Google SEO 1.6.8 - Whiteneo - 09-06-2014

Since 1.6.7 works i have this on my site and works perfect, if any i report here, but we did not find any truble with this plugin on MyBB 1.8


RE: Google SEO 1.6.8 - sujeet119 - 09-06-2014

To change the Compatibility mode of this plugin Go to "Plugin.php" file within folder ./inc/plugins/google_seo/

Then search for the word "compatibility" within file and change it to 18 from 16.

Now plugin should work.


RE: Google SEO 1.6.8 - Kowak - 09-06-2014

So just change compatibility? That's sound good but at the same time strange... btw thanks and I'll update to 1.8 now Smile


RE: Google SEO 1.6.8 - mpoeagjp - 09-07-2014

I noticed that after enable "URL length soft limit", URLs change only after when I visited this thread. Is possible to mass rebuilt URLs?


RE: Google SEO 1.6.8 - Come On Thru - 09-12-2014

Plugin works, but 1.8 Move post function don't recognize seo urls. What would be the solution to fix this?


RE: Google SEO 1.6.8 - doylecc - 09-12-2014

(09-12-2014, 09:07 AM)Come On Thru Wrote: Plugin works, but 1.8 Move post function don't recognize seo urls. What would be the solution to fix this?


You have to edit MyBB's moderation.php file.

Find:
PHP Code:
case "do_multimoveposts":
// Verify incoming POST request
verify_post_check($mybb->get_input('my_post_key')); 

Insert after:
PHP Code:
// Google SEO URL support
        
if($db->table_exists("google_seo"))
        {
            
// Build regexp to match URL.
            
$regexp "{$mybb->settings['bburl']}/{$mybb->settings['google_seo_url_threads']}";

            if(
$regexp)
            {
                
$regexp preg_quote($regexp'#');
                
$regexp str_replace('\\{\\$url\\}''([^./]+)'$regexp);
                
$regexp str_replace('\\{url\\}''([^./]+)'$regexp);
                
$regexp "#^{$regexp}$#u";
            }

            
// Fetch the (presumably) Google SEO URL:
            
$url $mybb->input['threadurl'];

            
// $url can be either 'http://host/Thread-foobar' or just 'foobar'.

            // Kill anchors and parameters.
            
$url preg_replace('/^([^#?]*)[#?].*$/u''\\1'$url);

            
// Extract the name part of the URL.
            
$url preg_replace($regexp'\\1'$url);

            
// Unquote the URL.
            
$url urldecode($url);

            
// If $url was 'http://host/Thread-foobar', it is just 'foobar' now.

            // Look up the ID for this item.
            
$query $db->simple_select("google_seo""id""idtype='4' AND url='".$db->escape_string($url)."'");
            
$newtid $db->fetch_field($query'id');
        } 



And find:
PHP Code:
$newtid 0

Replace with:
PHP Code:
if (empty($newtid))
{
 
   $newtid 0;




RE: Google SEO 1.6.8 - Come On Thru - 09-15-2014

(09-12-2014, 10:58 AM)doylecc Wrote:
(09-12-2014, 09:07 AM)Come On Thru Wrote: Plugin works, but 1.8 Move post function don't recognize seo urls. What would be the solution to fix this?


You have to edit MyBB's moderation.php file.

Find:

PHP Code:
case "do_multimoveposts":
// Verify incoming POST request
verify_post_check($mybb->get_input('my_post_key')); 

Insert after:

PHP Code:
// Google SEO URL support
        
if($db->table_exists("google_seo"))
        {
            
// Build regexp to match URL.
            
$regexp "{$mybb->settings['bburl']}/{$mybb->settings['google_seo_url_threads']}";

            if(
$regexp)
            {
                
$regexp preg_quote($regexp'#');
                
$regexp str_replace('\\{\\$url\\}''([^./]+)'$regexp);
                
$regexp str_replace('\\{url\\}''([^./]+)'$regexp);
                
$regexp "#^{$regexp}$#u";
            }

            
// Fetch the (presumably) Google SEO URL:
            
$url $mybb->input['threadurl'];

            
// $url can be either 'http://host/Thread-foobar' or just 'foobar'.

            // Kill anchors and parameters.
            
$url preg_replace('/^([^#?]*)[#?].*$/u''\\1'$url);

            
// Extract the name part of the URL.
            
$url preg_replace($regexp'\\1'$url);

            
// Unquote the URL.
            
$url urldecode($url);

            
// If $url was 'http://host/Thread-foobar', it is just 'foobar' now.

            // Look up the ID for this item.
            
$query $db->simple_select("google_seo""id""idtype='4' AND url='".$db->escape_string($url)."'");
            
$newtid $db->fetch_field($query'id');
        } 



And find:

PHP Code:
$newtid 0

Replace with:

PHP Code:
if (empty($newtid))
{
 
   $newtid 0;


Thanks, it worked!


RE: Google SEO 1.6.8 - Eldenroot - 09-19-2014

Do you planto upgrade this plugin for 1.8?


RE: Google SEO 1.6.8 - Nucky - 09-22-2014

hi not working for me this my sites http:**6yo[dot]in