Hi,
I have a problem with the Ask a Question page in combination with WPML.
The page in the default language works correctly.
But if I go to the translation, it only shows the forum file. It shows the same erroneous page both with login and without login.
https://www.fundacioictus.com/comunitat/forum/nou-tema/
https://www.fundacioictus.com/es/comunidad/foro/nuevo-tema/
Can you help me?
Q&A no longer appears in BuddyPress Group menus.
It does appear in Profile menus
Anspress: 4.4.4, BuddyPress: 12.5.1, Theme: Twenty Twenty Four, PHP: 8.0.0, MySQL: 8.0.16
I can’t use backend for posting answer it’s pretty difficult to do from frontend editor, I had to update the post-content in database directly
Is it possible to disable the reputation feature?
Can you please advise how to add custom fields (e.g. Address look-up) to the question page?
the voting AJAX request is not updating on the ui while it is updating on the browser network and the console. Pls how can i fix it
function upVote( id) {
$.ajax({
type: "POST",
// url: "/wp-content/plugins/anspress-question-answer/templates/votesystem/scripts.php",
url: "/scripts.php",
data: {
// action: 'my_custom_action',
up: id,
user: <?php echo $userid; ?>,
question_id:<?php echo $question_id;?>
},
beforeSend: function(){
$('#links-'+id+' .btn-vote').html("<img src='loaderIcon.gif' height='16px'>");
},
success: function(data){
// $('#data').html(data);
console.log(data);
console.log(data.data);
$('#up_count'+id).html(data.data.up_count);
$('#down_count'+id).html(data.data.down_count);
// alert(data.message);
// Reload the page after the OK alert
// location.reload();
// return false; //This is commented for reload (PPE)
},
error: function(error) {
// Handle errors
console.log(error);
alert(error.message);
// showSnackbar(error.message);
}
});
}