Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author totalsoft

    (@totalsoft)

    Hello, dear tolgasozer.

    Thank you for contacting us and for reporting your problem.

    To solve your problem, edit our Total-Soft-Gallery-Video-New.php file. Find code in line 120.

    $wpdb->query($wpdb->prepare("DELETE FROM $table_name3 WHERE GalleryV_ID = %s", $Total_SoftGallery_Video_Update));

    Please edit the code and write like this.

    $TotalSoftGalleryVideos = $wpdb->get_results($wpdb->prepare("SELECT * FROM $table_name3 WHERE GalleryV_ID = %s", $Total_SoftGallery_Video_Update));
                    $Value_explodet_ids = explode(',', $TotalSoftGVDelVal);
                    if ($Value_explodet_ids>0){
                        $k=0;
                        for ($i = 0; $i<count($TotalSoftGalleryVideos);$i++) {
                            if ($TotalSoftGalleryVideos[$i + 1]->id == $Value_explodet_ids[$k]) {
                                echo $Value_explodet_ids[$k] . "<br>";
                                $k++;
                            $wpdb->query($wpdb->prepare("DELETE FROM $table_name3 WHERE id = %d", $TotalSoftGalleryVideos[$i+1]->id));
                            }
                        }
    Plugin Author totalsoft

    (@totalsoft)

    Edit our Total-Soft-Gallery-Video-Admin.js file. Find code in line 667.

    Total_Soft_GVideo_Del_Vd_Yes(TotalSoftGV_Video_Li_ID) {

    Please edit the code and write like this.

    var arr_Id = [];
    var arr_Id_Sorted = '';
    function Total_Soft_GVideo_Del_Vid_Yes(TotalSoftGV_Video_Li_ID, TotalSoftGV_Video_DEL_ID) {
      arr_Id.push(TotalSoftGV_Video_DEL_ID);
      arr_Id_Sorted = arr_Id.sort();
      jQuery("#TotalSoftGVDelVal").val(arr_Id_Sorted);

    Thank You.

    Hi, it would be much better if you release a version with those fixes. I have the same problem, but the code that you indicate does not match the version that I have in the post. You indicate write or add or replace this line or what exactly I have to do: Total_Soft_GVideo_Del_Vd_Yes (TotalSoftGV_Video_Li_ID) {
    It is also located on line 1321 and no 667

    and the code $ wpdb-> query ($ wpdb-> prepare (“DELETE FROM $ table_name3 WHERE GalleryV_ID =% s”, $ Total_SoftGallery_Video_Update));

    It is located on line: 239, in the same way I see that it does not match what it indicates. I’m going to stop using this plugin, because I see that it shows how little you care about the problems that users have with your plugin and you answer whatever it is without caring.

    Thanks anyway

    • This reply was modified 4 years, 1 month ago by TecnoMax.
    Plugin Author totalsoft

    (@totalsoft)

    Hello, dear tecnomax.

    Our team has solved the problem. The problem will be solved in the next version.

    Thank You.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘So slow’ is closed to new replies.