| :: |
| Author |
Message |
tweety PR0

Joined: 24 Jan 2007 Posts: 93
|
Posted: Mon Jul 09, 2007 5:05 pm Post subject: [dupe fap] thumbnails not seo |
|
|
there is a feature in fap that allows you to post thumbnails inside posts. these can be clicked and linked to the album automatic.
but problem all works it seems except these thumbnails. these are still
url like | Code: | | /album_thumbnail.php?pic_id=1 | the redirect works ok but url is not seo.
is this possible to fix? where would i look, maybe bbcode tpl? |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
tweety PR0

Joined: 24 Jan 2007 Posts: 93
|
Posted: Wed Jul 11, 2007 10:27 pm Post subject: Re: [dupe fap] thumbnails not seo |
|
|
dcz
do you mean the zero dupes redirect takes care of this? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
tweety PR0

Joined: 24 Jan 2007 Posts: 93
|
Posted: Sun Jul 15, 2007 11:22 pm Post subject: Re: [dupe fap] thumbnails not seo |
|
|
| yes thank you |
|
|
| Back to top |
|
 |
tweety PR0

Joined: 24 Jan 2007 Posts: 93
|
Posted: Tue Jul 17, 2007 3:48 pm Post subject: Re: [dupe fap] thumbnails not seo |
|
|
| dcz wrote: | Well, the problem here is we would need extra SQL (up to one per link) to url rewrite with title injection.
That's why the mod rewrite for FAP is bypassing the extra bbcode in the picture view, and proposes a rewritten link instead with the regular img tag.
++ |
I am not concerned about this, i do need thumbnail
s
dcz,
please could you tell me how to have the bbcode as thumbnail pointing to the album with seo url.
if you can do this for me, i will do much work with some other resource and provide better album linking and bring the code here |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
Posted: Thu Jul 19, 2007 10:24 am Post subject: Re: [dupe fap] thumbnails not seo |
|
|
The code is again provided under each picture in the album view
For a thumbnails url, take a look at the url outputted in the album :
| Code: | | pic-title-thumbxx.jpg |
where xx is the pic id.
I'm not sure the bbcode used originally would be wise to use for these, really, since user still have to browse the album to get the picture id, they can as well directly use the bbcode (using the regular img bbcode) proposed IMHO.
We could though propose three different bbcode tags, to allow users to select between large, mid and thumbnail view.
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
tweety PR0

Joined: 24 Jan 2007 Posts: 93
|
Posted: Fri Jul 20, 2007 12:02 am Post subject: Re: [dupe fap] thumbnails not seo |
|
|
dcz sorry i am confusing here.
it does work with old thumb images. zero dupes redirects to seo album
but this will not be good seo to have this as a constant redirect in main site. and problem for me now is - images will be used many, many times.
i do need to have album interact with the phpbb and phpbb to album on this website i am now tasked to complete.
this site will have user post 2 or 3 thumb images inside of their post- all images should have direct links to their album. so viewer can then see all their work and other albums.
so ?? is there a way i can show up thumbs on viewtopc that will have seo link to main album.
this is the old bbcodetpl code -maybe i can hard code it dcz?
| Code: | <!-- BEGIN albumimg --><a href="album_showpage.php?pic_id={IMG_NUM}" class="postlink"><img src="album_thumbnail.php?pic_id={IMG_NUM}" alt="Image {IMG_NUM}" title="Image {IMG_NUM}" border="0" /></a><!-- END albumimg -->
|
any help or ideas please
in bbcode.php
this is parts relating to album
| Code: |
1. $bbcode_tpl['albumimg'] = str_replace('{IMG_NUM}', '\\1', $bbcode_tpl['albumimg']);
2. // [albumimg]image number here[/albumimg]
$album_img_patterns[1] = "#\[albumimg:$uid\]([0-9]+)\[/albumimg:$uid\]#si";
$album_img_replacements[1] = $bbcode_tpl['albumimg'];
3. $text = preg_replace("#\[albumimg\]([0-9]+)\[/albumimg\]#sie", "'[albumimg:$uid]\\1[/albumimg:$uid]'", $text);
|
|
|
|
| Back to top |
|
 |
tweety PR0

Joined: 24 Jan 2007 Posts: 93
|
Posted: Tue Jul 24, 2007 1:36 pm Post subject: Re: [dupe fap] thumbnails not seo |
|
|
if this is too involved
maybe there is a way I can just add a link back to the pic in the album with your seo url |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
Posted: Fri Jul 27, 2007 5:33 pm Post subject: Re: [dupe fap] thumbnails not seo |
|
|
| tweety wrote: | if this is too involved
maybe there is a way I can just add a link back to the pic in the album with your seo url |
This is what I'm trying to explain to you, the album mod provides direct links to the images.
You could only add an extra box to propose the thumbnail link there too.
About the zero duplicate to redirect the old thumbs, that's not really an issue SEO wise, as long as you do use the suggested link from now-on.
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
tweety PR0

Joined: 24 Jan 2007 Posts: 93
|
Posted: Sat Jul 28, 2007 7:19 pm Post subject: Re: [dupe fap] thumbnails not seo |
|
|
dcz yes i know this you misunderstanding me
the link given by fap seo is not a inter link back to album - like it was with old thumbnail.
the link for posting image by fap seo now, just posts the image - the image itself has no linking back to album, the point of the album is inter-action.
it should work that viewer can click picture and be taken to members pic in the album section it was in.
do you know if this can be achieved, if so tell me how and i will try and then post up fix for all.
thanks dcz |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
Posted: Fri Aug 03, 2007 2:47 pm Post subject: Re: [dupe fap] thumbnails not seo |
|
|
All right, so open album_showpage.php and find :
| Code: | // www.phpBB-SEO.com SEO TOOLKIT BEGIN
//'PIC_BBCODE' => '[albumimg]' . $pic_id . '[/albumimg]',
'PIC_BBCODE' => '[img]' . $phpbb_seo->seo_path['smrt_url'] . $phpbb_seo->seo_url['smrtpic'][$pic_id] . $phpbb_seo->seo_delim['smrtfull'] . $pic_id . $phpbb_seo->seo_ext['smrtpicext'] . '[/img]',
// www.phpBB-SEO.com SEO TOOLKIT END |
Replace with :
| Code: | // www.phpBB-SEO.com SEO TOOLKIT BEGIN
//'PIC_BBCODE' => '[albumimg]' . $pic_id . '[/albumimg]',
'PIC_BBCODE' => '[url=' . $phpbb_seo->seo_path['smrt_url'] . $phpbb_seo->seo_url['smrtpic'][$pic_id] . $phpbb_seo->seo_delim['smrtpic'] . $pic_id . $phpbb_seo->seo_ext['smrtpic'] . '][img]' . $phpbb_seo->seo_path['smrt_url'] . $phpbb_seo->seo_url['smrtpic'][$pic_id] . $phpbb_seo->seo_delim['smrthumb'] . $pic_id . $phpbb_seo->seo_ext['smrtpicext'] . '[/img][/url]',
// www.phpBB-SEO.com SEO TOOLKIT END |
This most likely means you'll go over the maxlength set in the album_showpage_body.tpl template, but I find it safer to include the full URL.
So in the template find :
| Code: | <input name="BBCode" size="50" maxlength="100" value="{PIC_BBCODE}" type="text" readonly="1"
|
Replace the
maxlength="100" with maxlength="255"
For example. Should be all ok
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
tweety PR0

Joined: 24 Jan 2007 Posts: 93
|
Posted: Wed Aug 08, 2007 1:09 pm Post subject: Re: [dupe fap] thumbnails not seo |
|
|
| yes works, thank you dcz. |
|
|
| Back to top |
|
 |
tweety PR0

Joined: 24 Jan 2007 Posts: 93
|
Posted: Wed Aug 08, 2007 8:57 pm Post subject: Re: [dupe fap] thumbnails not seo |
|
|
i have 1 last problem . this could be same for all
the thumbnail links on album index and in bbcode are same.
/testimage-sp1.html
but both are redirecting to a different page url with /testimage-sp1-full.html added
is this my fault, did i do something wrong in fap seo |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
|
|