| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15129
|
Posted: Mon Nov 27, 2006 9:02 pm Post subject: Re: Migrating from webmedic to Advanced re-write |
|
|
If you kept the commentaries in the code, the part to search for is in between :
| Code: | | //-- MOD BEGIN: Last Topic Title on Index ------------------- |
and :
| Code: | | //-- MOD END: Last Topic Title on Index ------------------- |
You'll as well find :
| Code: | | // append first 25 characters of topic title to last topic data |
In the middle of it.
As it's code coming from the install file, tabulations may have changed a bit, try searching for parts of the code.
++ |
_________________ 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 |
|
 |
|
 |
arch stanton PR1

Joined: 04 Oct 2006 Posts: 121
|
Posted: Mon Nov 27, 2006 10:11 pm Post subject: Re: Migrating from webmedic to Advanced re-write |
|
|
| *edited* |
Last edited by arch stanton on Mon Nov 27, 2006 10:25 pm; edited 1 time in total |
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15129
|
|
| Back to top |
|
 |
zinnerz PR0

Joined: 08 Jun 2006 Posts: 75
|
Posted: Fri Jan 26, 2007 5:32 pm Post subject: Re: Migrating from webmedic to Advanced re-write |
|
|
| mreider wrote: | One thing I forgot to mention about the topic on index. I'm using the Last Topic Title on Index mod (you can find it on phpbb.com).
I managed to fix the code to work with the advanced mod re-write. It isn't pretty, but it works.
If you're using the Last Topic Title on Index mod then do the following.
| Code: | in index.php find:
$last_post .= $lang_in . ' ' . '<a title="' . $altlttitle . '" alt="' . $altlttitle . '" href="' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$ltid") . '">' . $lttitle . '</a><br />';
Replace with:
$last_post .= $lang_in . ' ' . '<a title="' . $altlttitle . '" alt="' . $altlttitle . '" href="' . append_sid(format_url($lttitle) . '-vt' . $ltid . '.html') . '">' . $lttitle . '</a><br />'; |
And that'll give you the title of the last posted topic on your index page, re-written using the phpbbseo code.
I'm going to try the same thing on my post re-direct page to see if I can get that working properly too. | this code is doesnt works with v0.2.0, please update. thanks |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15129
|
|
| Back to top |
|
 |
|
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |