| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
DaMysterious
Joined: 10 Mar 2008 Posts: 9 Location: The Netherlands
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
Posted: Mon Mar 31, 2008 8:53 am Post subject: Re: Topic evaluate mod in Portal XL 4.0 |
|
|
That's the odd habit within phpBB3 code, many times, append_sid is often not used to pass all variables.
Things like :
| Code: | | $viewtopic_url = append_sid(blabla); |
and later :
| Code: | | $some_action_url = $viewtopic_url . '&var=' . $val; |
Of course, doing this cas save some calls to append_sid, but IMHO, the code should still at least check if the url contains a question mark or not before using the &.
To fix these type of links, you can either use the full story again, eg :
| Code: | | $some_action_url = append_sid(blabla . '&var=' . $val); |
or just check the question mark :
| Code: | | $some_action_url = $viewtopic_url . (strpos($viewtopic_url, '?') !== false ? '&' : '?') . 'var=' . $val; |
You should be able to easily find the guilty link in the code looking for "evaluation=" within the php files involved.
++ |
_________________ 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 |
|
 |
angelus
Joined: 10 Nov 2007 Posts: 20
|
|
| Back to top |
|
 |
DaMysterious
Joined: 10 Mar 2008 Posts: 9 Location: The Netherlands
|
Posted: Sat Apr 05, 2008 6:43 am Post subject: Re: Topic evaluate mod in Portal XL 4.0 |
|
|
| Thanks both of you, problem could be solved. |
|
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |