| :: |
| Author |
Message |
drsyntax
Joined: 25 Oct 2006 Posts: 9
|
Posted: Wed Oct 25, 2006 3:21 pm Post subject: hierarchie problem in phpbb-seo-advanced mod rewrite |
|
|
i have installed phpbb-seo-advanced mod rewrite and every thing is ok except hierarchie in the topics view
for example :
if iam watching a topic on the "Community, Music / Media" section
this is hierarchie link up in the topic view :
Board Index
-> Community, Music / Media
when i click on -> Community, Music / Media i return to the same topic
plz help :S |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15129
|
|
| Back to top |
|
 |
drsyntax
Joined: 25 Oct 2006 Posts: 9
|
Posted: Wed Oct 25, 2006 4:51 pm Post subject: Re: hierarchie problem in phpbb-seo-advanced mod rewrite |
|
|
i checked it and i think that every thing is right
this is a link to my viewtopic.php file if you want to check it
http://qarasena.com/viewtopic.txt
i hope that you find where is the error very soon  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15129
|
Posted: Thu Oct 26, 2006 8:49 am Post subject: Re: hierarchie problem in phpbb-seo-advanced mod rewrite |
|
|
Oh I get it, you're using UTF-8, Persian or Arabic, sorry I cannot tell
So the title injection will not work as is.
I worked on an UTF-8 trick which is nicely working, but you'll need some extra steps.
For your viewtopic file (heavily modded), try these additional steps:
Find :
| Code: | $title = (strlen($similar['topic_title']) > 40) ? (substr($similar['topic_title'], 0, 37) . '...') : $similar['topic_title'];
$topic_url = '<a href="'. append_sid('viewtopic.'.$phpEx.'?'. POST_TOPIC_URL . '=' . $similar['topic_id']) . '" class="topictitle">' . $title . '</a>'; |
Before add :
| Code: | // www.phpBB-SEO.com SEO TOOLKIT BEGIN
$seo_topic_name = $similar['topic_title'];
$seo_forum_name_save = $seo_forum_name;
$seo_forum_name = $similar['forum_name'];
// www.phpBB-SEO.com SEO TOOLKIT END |
Find :
| Code: | | $forum = '<a href="' . append_sid('viewforum.'.$phpEx.'?' . POST_FORUM_URL . '=' . $similar['forum_id']) .'" class="forumlink">' . $similar['forum_name'] . '</a>'; |
after add :
It should be enough, but you'll have to test
Then for UTF-8, please read this thread and we talk about the additional changes there  |
_________________ 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 |
|
 |
drsyntax
Joined: 25 Oct 2006 Posts: 9
|
Posted: Thu Oct 26, 2006 10:13 am Post subject: Re: hierarchie problem in phpbb-seo-advanced mod rewrite |
|
|
the problem still exists , when i click on "Community , Introduction" i have to go to the forum section that contain this topic but as you see when i click on it i return to the same topic again :S |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15129
|
|
| Back to top |
|
 |
drsyntax
Joined: 25 Oct 2006 Posts: 9
|
Posted: Thu Oct 26, 2006 3:26 pm Post subject: Re: hierarchie problem in phpbb-seo-advanced mod rewrite |
|
|
| Thx it is working now , thank you very much for your help. |
|
|
| Back to top |
|
 |
drsyntax
Joined: 25 Oct 2006 Posts: 9
|
Posted: Mon Oct 30, 2006 5:46 pm Post subject: Re: hierarchie problem in phpbb-seo-advanced mod rewrite |
|
|
i have another problem , i have a phpbb fully moded that have a lite mod
after installing phpbb mod rewrite , there is a problem on the lite board , i get this error :Fatal error: Call to undefined function if_query() in /home/******/public_html/forums/includes/sessions.php on line 698
and this is my sessions.php file : http://www.qarasena.com/sessions.txt
i hope that you can tell me where is the error , i know this problem because of the lite board attached with phpbb fully modded , but i hope that someone here can tell me how to fix this problem. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15129
|
|
| Back to top |
|
 |
drsyntax
Joined: 25 Oct 2006 Posts: 9
|
Posted: Tue Oct 31, 2006 1:16 pm Post subject: Re: hierarchie problem in phpbb-seo-advanced mod rewrite |
|
|
Oh , tge lite board has its functions.php
Thx for your help , it is working fine now  |
|
|
| Back to top |
|
 |
|
|