| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
GoBieN PR0

Joined: 10 Mar 2008 Posts: 53 Location: Belgium
|
Posted: Mon Mar 24, 2008 10:36 pm Post subject: More Smilies link in advanced Quick Reply (+fix) |
|
|
As my saerch yielded nothing i think this problem only happend to me.
A user of my board reported the following.
A 404 not found when clicking on the "More Smilies" link from the advanced quick reply box.
What is very strange considering that the quick reply just calls the code from functions_posting for generating the smilies table.
In Firefox i had no trouble at all, a pop-up would open with all the smilies in it. This both from quick reply and normal reply.
In Internet Explorer the more smilies from quickreply linked to ./posting.php?mode=smilies and thus resulted in a the following link when IE tries to open it:
-www.domain.tld/forum-name/posting.php?mode=smilies (with the virtual folder option etc ..)
Very strange.
But i changed this in the code functions_posting.php:
FIND:
| Code: | | 'U_MORE_SMILIES' => append_sid("{$phpbb_root_path}posting.$phpEx", 'mode=smilies&f=' . $forum_id)) |
REPLACE WITH:
| Code: | // 'U_MORE_SMILIES' => append_sid("{$phpbb_root_path}posting.$phpEx", 'mode=smilies&f=' . $forum_id))
'U_MORE_SMILIES' => append_sid(generate_board_url() . "/posting.$phpEx", 'mode=smilies&f=' . $forum_id)) |
And gave me a absolute URL instead of the relative one.
But i still don't understand why the original was relative since it clearly states phpbb_root_path in the original code. |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

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