| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
Stokerpiller PR0

Joined: 24 May 2007 Posts: 56
|
Posted: Thu Apr 24, 2008 7:04 am Post subject: Change Zero Dublicate link |
|
|
Hello
I have just installed the SEO premod 3.0.1 by overwriting existing files.
I works just fine.
I have one question, I think it is about the Zero Dublicate.
In forumlist_body.html I have this code: | Code: | | <!-- IF forumrow.LAST_POST_LINK --><i>{forumrow.LAST_POST_LINK}</i><br/><!-- ENDIF --> |
Is it possible to have it to lead to the last post instead?
Like this: | Code: | | {forumrow.U_LAST_POST} |
I know this will break the Zero Dublicate mod, but if it is made for registered user only? | Code: | | <!-- IF S_REGISTERED_USER -->content google and guests doesn't need to see<!-- ENDIF --> |
|
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

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

Joined: 24 May 2007 Posts: 56
|
Posted: Thu Apr 24, 2008 8:52 am Post subject: Re: Change Zero Dublicate link |
|
|
Sorry if I didn't explain my selv good enough.
| Quote: | | Have you noticed that the original last post link is kept and does lead to the last page ? |
Yes, that one is added.
In the top there is the link to the latest topic in the forum - That is the one added by the Zero Dublicate.
Next line shows the last posters username AND a small image which links to the last post.
I want the toplink to redirect to the latest post and not the start of the latest topic. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
Posted: Thu Apr 24, 2008 9:05 am Post subject: Re: Change Zero Dublicate link |
|
|
All right, so in includes/functions_display.php, replace :
| Code: | | $last_post_link = '<a href="' . append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id_last_post'] . '&t=' . $row['topic_id']) . '" title="' . $phpbb_seo->seo_censored[$row['topic_id']] . ' : ' . $phpbb_seo->seo_opt['topic_forum_name'][$row['topic_id']] . '">' . $topic_text_lilnk . '</a>'; |
With :
| Code: | | $last_post_link = '<a href="' . $last_post_url . '" title="' . $phpbb_seo->seo_censored[$row['topic_id']] . ' : ' . $phpbb_seo->seo_opt['topic_forum_name'][$row['topic_id']] . '">' . $topic_text_lilnk . '</a>'; |
 |
_________________ 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 |
|
 |
Stokerpiller PR0

Joined: 24 May 2007 Posts: 56
|
Posted: Thu Apr 24, 2008 9:17 am Post subject: Re: Change Zero Dublicate link |
|
|
Very nice dcz
Thank You very mucho  |
|
|
| Back to top |
|
 |
|
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |