eaglend
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Fanfiction and Writing Archive Basic] Book title with apostropheWell I did some debugging and I noticed a JavaScript error.
SyntaxError: missing) After argument list
and inspecting the code of part SELECT BOOK I saw this line
onclick = "radiobookname ('Il m'a fait rêver)"
suddenly I understood the need to escape the quote of ” m’a “
so I created these two functions in file fe-super-fiction-class.php :function escape_quote( $string ){ return str_replace("'", "\'", $string); }
function unescape_quote( $string ){ return str_replace("\'", "'", $string); }
then I made changes to the same file:
line 4008:
onclick="radiobookname('<?php echo escape_quote($term->name); ?>')"
– to escape the quotes
line 3877:
$postbooks = unescape_quote($_POST['book_name_input']);
– to cancel the change before insertion in the databaseAnd it works impeccably.
I hope the problem will be resolved in the next update.thank you
Forum: Plugins
In reply to: [WP Fanfiction and Writing Archive Basic] Book title with apostrophenormally i work in localhost.
but i guess you can’t reproduce this bug, so i’m gone online.
I realized the configuration everything works correctly, but the problem with the apostrophe does not solves.
I don’t know how to send you the access so i it post here.
website: seishin-japan.comyr.com
to add fiction: seishin-japan.comyr.com/add-fiction
User: FandomEnt / password: FandomEnt
I have already created three books:
I can add chapters to “Il m a fait rêver” but I can’t for “Il m’a fait rêver” and “Lyndsay’s Coffee”.I need to have an email address to send you administrative access if it is needed
thank you
Forum: Plugins
In reply to: [Facebook] Cannot save App IDok it works for me
I copied into the database, content field ‘facebook_application’ of an old instalation of another website.a:3:{s:6:”app_id”;s:15:”XXXXXXXXXXXXXX”;s:10:”app_secret”;s:32:”YYYYYYYYYY”;s:12:”access_token”;s:43:”XXXXXXXXXXXXXX|ZZZZZZZZZZZZZZZ”;}
and i paste it in the database of my new instalation
so it works for the moment. I hope soon a new update to fix bug of this pluginForum: Plugins
In reply to: [Facebook] Cannot save App IDI have the same probleme?
i saw in data base -> table wp_options
[ facebook_application ] [ a:0:{} ]
there is a way to put directly the App ID in data base?thank for any help.