SEO URL phpBB Gallery V1.1.6

Support for the phpBB3 SEO mods released in the phpBB3 SEO Toolikt forum.

Moderator: Moderators

SEO URL phpBB Gallery V1.1.6

Postby Alien_Time » Sun Dec 09, 2012 10:02 am

Hi

Is there an SEO URL MOD for phpBB Gallery v1.1.6 and for phpbb v3.0.11?

I tried searching this board for this mod and I was only able to find this mod for older version here.

So is there one for phpbb gallery 1.1.6?
Alien_Time
 
Posts: 18
Joined: Thu Jul 07, 2011 2:36 am

Advertisement

Re: SEO URL phpBB Gallery V1.1.6

Postby Alien_Time » Tue Dec 11, 2012 1:40 pm

Anyone? I know all of you are busy, but its just a polite reminder...
Alien_Time
 
Posts: 18
Joined: Thu Jul 07, 2011 2:36 am

Re: SEO URL phpBB Gallery V1.1.6

Postby Pawwwle » Wed May 29, 2013 11:06 am

Hello, I have phpBB3 v3.0.11 SEO URL Premod
I have mod phpBB Gallery v1.1.6 and added SEO URL phpBB Gallery v1.1.4 (adapted to v1.1.6)
I have this error:
[phpBB Debug] PHP Notice: in file [ROOT]/includes/gallery/image/image.php on line 330: Undefined offset: 0
[phpBB Debug] PHP Notice: in file [ROOT]/includes/gallery/image/image.php on line 330: Undefined offset: 0
[phpBB Debug] PHP Notice: in file [ROOT]/includes/gallery/image/image.php on line 330: Undefined offset: 0

My line 330 is:
Code: Select all
328      // www.phpBB-SEO.com SEO TOOLKIT BEGIN
329      global $phpbb_seo;
330      $phpbb_seo->prepare_url('pic', $image_name, $image_id, $phpbb_seo->seo_url['album'][$album_id]);
331      // www.phpBB-SEO.com SEO TOOLKIT END

Please help :)
Pawwwle
 
Posts: 6
Joined: Sat Apr 06, 2013 8:10 am

Re: SEO URL phpBB Gallery V1.1.6

Postby Pawwwle » Thu May 30, 2013 11:59 am

Helped edit the file: includes/gallery/image/image.php

Find:
Code: Select all
$phpbb_seo->prepare_url('pic', $image_name, $image_id, $phpbb_seo->seo_url['album'][$album_id]);

Add before:
Code: Select all
$phpbb_seo->set_url($image_name, $album_id, 'album');

Source: http://www.phpbb-seo.com/en/phpbb-seo-mods/article7904-15.html#p40664
Pawwwle
 
Posts: 6
Joined: Sat Apr 06, 2013 8:10 am

Re: SEO URL phpBB Gallery V1.1.6

Postby Pawwwle » Tue Dec 31, 2013 4:18 pm

This is a fix for "Image URL" and "Image BBCode" when SEO is off.

Open gallery\image_page.php and find:
Code: Select all
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$phpbb_seo->prepare_url('pic', $image_data['image_name'], $image_id, $phpbb_seo->seo_url['album'][$album_id]);
$image_flat_url = phpbb_gallery_url::append_sid('image_page', "album_id=$album_id&image_id=$image_id", true, '');
$image_flat_src = phpbb_gallery_url::append_sid('image', "album_id=$album_id&image_id=$image_id", true, '');
$image_flat_src_thumb = phpbb_gallery_url::append_sid('image', "album_id=$album_id&image_id=$image_id&mode=thumbnail", true, '');
$image_bbcode_src = "[url=$image_flat_url][img]{$image_flat_src_thumb}[/img][/url]";
// www.phpBB-SEO.com SEO TOOLKIT END

Replace:
Code: Select all
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$phpbb_seo->prepare_url('pic', $image_data['image_name'], $image_id, $phpbb_seo->seo_url['album'][$album_id]);
$image_flat_url = phpbb_gallery_url::append_sid('full', 'image_page', "album_id=$album_id&image_id=$image_id", true, '');
$image_flat_src = phpbb_gallery_url::append_sid('full', 'image', "album_id=$album_id&image_id=$image_id", true, '');
$image_flat_src_thumb = phpbb_gallery_url::append_sid('full', 'image', "album_id=$album_id&image_id=$image_id&mode=thumbnail", true, '');
$image_bbcode_src = "[url=$image_flat_url][img]{$image_flat_src_thumb}[/img][/url]";
// www.phpBB-SEO.com SEO TOOLKIT END
Pawwwle
 
Posts: 6
Joined: Sat Apr 06, 2013 8:10 am

Re: SEO URL phpBB Gallery V1.1.6

Postby JoeRod » Thu Feb 13, 2014 12:15 am

Alien_Time wrote:Hi

Is there an SEO URL MOD for phpBB Gallery v1.1.6 and for phpbb v3.0.11?

I tried searching this board for this mod and I was only able to find this mod for older version here.

So is there one for phpbb gallery 1.1.6?



Can some one pleez tell me why SEO URL v.1.0.5. asks to open & edit: gallery/includes/common.php"

PHP Gallery 1.1.6, doesn't have a folder named *includes*. Am I using the wrong version?

Thanx

Peace
JoeRod
 
Posts: 5
Joined: Sat Jul 09, 2011 4:29 pm

Re: SEO URL phpBB Gallery V1.1.6

Postby Pawwwle » Thu Feb 13, 2014 11:22 am

Try to install SEO URL MOD for phpBB Gallery v1.1.4 with above two fix.
http://phpbb-seo.coda-cola.net/projects/phpbb_gallery/repository/revisions/39/show/trunk
Pawwwle
 
Posts: 6
Joined: Sat Apr 06, 2013 8:10 am

Re: SEO URL phpBB Gallery V1.1.6

Postby Moisey » Sat Feb 15, 2014 5:53 pm

Pawwwle wrote:Try to install SEO URL MOD for phpBB Gallery v1.1.4 with above two fix.
http://phpbb-seo.coda-cola.net/projects/phpbb_gallery/repository/revisions/39/show/trunk


Hi all,

How to download this MOD SEO URL MOD for phpBB Gallery v1.1.4 ?
Moisey
 
Posts: 8
Joined: Sat Feb 15, 2014 9:06 am

Re: SEO URL phpBB Gallery V1.1.6

Postby Moisey » Sun Feb 16, 2014 7:16 pm

Dear all,

I installed SEO for Gallary 1.1.6 but when user push to image in personal gallery when he see
skyfort.me/gallery//site-logo-p8.html

It should be
=> skyfort.me/gallery/site-logo-p8.html
or
=> skyfort.me/gallery/album-id/site-logo-p8.html
Moisey
 
Posts: 8
Joined: Sat Feb 15, 2014 9:06 am

Re: SEO URL phpBB Gallery V1.1.6

Postby Pawwwle » Mon Feb 17, 2014 11:36 am

Do you have generated a new .htaccess after installing SEO URL phpBB Gallery?
Pawwwle
 
Posts: 6
Joined: Sat Apr 06, 2013 8:10 am


Return to phpBB SEO MODS

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests