Help screen does not work in 1.3.13
Moderator: Thorsten
Help screen does not work in 1.3.13
Did I mess something up while customizing it or does the Help screen not work in 1.3.13 ?
I upgraded from 1.3.9 to 1.3.13
It looks like the Index.php file was changed and the code says that "Help" is valid. But my action is "Hilfe"
I just changed index.php to say "hilfe" => 1 and now it works again.
I upgraded from 1.3.9 to 1.3.13
It looks like the Index.php file was changed and the code says that "Help" is valid. But my action is "Hilfe"
I just changed index.php to say "hilfe" => 1 and now it works again.
Hi,
this is a bug in 1.3.13, a new 1.3.14 will be available soon. And a 1.4.0 beta1
bye
Thorsten
this is a bug in 1.3.13, a new 1.3.14 will be available soon. And a 1.4.0 beta1

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
This is a primary problem of the current BBCode implementation. Due to the fact that I dropped the whole BBCode support in 1.4.0 I won't write a complete new BBCode parser for 1.3.x. anymore. The new WYSIWYG editor is doing that better.
bye
Thorsten
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Really?AndrewB wrote:it was working fine in all previous versions I used. maybe I will look at the code to see what changed..
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Yes!
Here is my test FAQ from 1.3.9
http://www.myie2info.com/testfaq/index. ... 16&lang=en
here is the current one from 1.3.13
http://www.myie2info.com/faq/index.php? ... 16&lang=en
It seems that the current one translates the "less than" "<" and "greater than" ">" characters to "<" and ">" but the 1.3.9 version did not do that.
Here is my test FAQ from 1.3.9
http://www.myie2info.com/testfaq/index. ... 16&lang=en
here is the current one from 1.3.13
http://www.myie2info.com/faq/index.php? ... 16&lang=en
It seems that the current one translates the "less than" "<" and "greater than" ">" characters to "<" and ">" but the 1.3.9 version did not do that.
Hi,
I'd make a diff of both versions. There was a change inside the function code_syntax(), which affects your problem. Please change the 1.3.13 version of the function and use this version:
bye
Thorsten
I'd make a diff of both versions. There was a change inside the function code_syntax(), which affects your problem. Please change the 1.3.13 version of the function and use this version:
Code: Select all
/*
* Funktion für BB-Code | @@ Meikel Katzengreis, 2003-07-23
* Last Update: @@ Thorsten, 2004-01-20
*/
function code_syntax($output)
{
$ret = $output[1];
$ret = wordwrap($ret, 120, "\n", 0);
$ret = htmlspecialchars($ret);
return "<pre>".$ret."</pre>";
}
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
thanks for looking into this Thorsten 
The code you posted was from the 1.3.13 version. Here is the code from the 1.3.9 version. I made the change and it works again

The code you posted was from the 1.3.13 version. Here is the code from the 1.3.9 version. I made the change and it works again

Code: Select all
/*
* Funktion für BB-Code | @@ Meikel Katzengreis, 2003-07-23
* Last Update: @@ Thorsten, 2003-07-23
*/
function code_syntax($output)
{
$ret = $output[1];
$ret = wordwrap($ret, 120, "\n", 0);
$ret = unhtmlentities($ret);
return "<pre>".$ret."</pre>";
}