Resolved Can't Delete Story

TheTrinary

Hi, I'm Stephen
Joined
Nov 23, 2020
Messages
1,009
Points
153
Title

Trying to remove my story Reaper's Game and can't. I get told I spelled it wrong every time but I'm pretty sure I didn't. Any help appreciated.
 

Zirrboy

Fueled by anger
Joined
Jan 25, 2021
Messages
1,192
Points
153
Last time this happened, pasting the title did the trick

Otherwise check for spaces at the beginning/end?
 

Motsu

REROCK: Change The World
Joined
Jun 24, 2020
Messages
1,108
Points
153
I don't know I think you spelled it wrong.
 

Mihou

Firefly—
Joined
Mar 18, 2020
Messages
297
Points
103
I don't know I think you spelled it wrong.
It's an odd bug in SH. I've experienced it many times with test series and it exists. I have no idea what is making it see wrong even when retyped key by key, letter by letter. It only works when copied.
 

Ruriha

Well-known Procrastinator
Joined
Mar 25, 2020
Messages
220
Points
103
If it returns that error, copy-pasting the red highlighted title on the pop-up window should do the trick.
1640865277360.png
 

Attachments

  • 1640865229886.png
    1640865229886.png
    40.5 KB · Views: 99
D

Deleted member 57675

Guest
Could be because of apostrophe in your title. Reaper's Game. Ik in previous works, if there was a ? or . it may prevent me deleting it and I had to change the title to remove those before I can delete it.
 

TheTrinary

Hi, I'm Stephen
Joined
Nov 23, 2020
Messages
1,009
Points
153
Copy Paste worked. The only difference I saw was the ' looked different in the paste version. No idea what was going on there.
 

AliceShiki

Magical Girl of Love and Justice
Joined
Dec 23, 2018
Messages
3,529
Points
183
Copy Paste worked. The only difference I saw was the ' looked different in the paste version. No idea what was going on there.
I tried doing a quick test copy pasting the title of a random story I saw on trending that happened to have an apostrophe in its title and...

This is the symbol used on Scribblehub's titles, apparently: ’

The ones I can type with my keyboard are ' ` and ´ ... None of those match with the symbol used on Scribblehub.

I dunno why, but it seems like Scribblehub automatically coverts ' into ’ , so the only thing you can do to get the symbol right when deleting a story, is to copy paste the title.
 

Zirrboy

Fueled by anger
Joined
Jan 25, 2021
Messages
1,192
Points
153
The same character is used for the titles themselves, so unless the function that does this conversion is readily available, this is probably a pain to fix.
(This character, by whoever's standard, is preferred to the apostrophe, so my guess is that some database functionality is so kind as to replace them automatically)
JavaScript:
function slug(text) {
    return text.normalize('NFD').replace(/[^a-zA-Z0-9]/, '-');
}

function dash_delete_series() {
    var t = $("#delete_seriesid").val()
      , e = $(".dash_title_delete").text()
      , a = $("#dash_deletetitle").val();
    $(".edit_saveerror").hide(),
    slug(e) == slug(a) ? ($("#dash_deletetitle").addClass("isdisabled"),
    $(".dash_deleteseries_btn").addClass("isdisabled"),
    $(".my_popupdelete_close").addClass("isdisabled"),
    $(".fa.fa-times.p_default").addClass("isdisabled"),
    $(".dash_deleteseries_btn").text("Deleting..."),
    $.ajax({
        type: "POST",
        url: "https://www.scribblehub.com/wp-admin/admin-ajax.php",
        data: {
            action: "wi_deleteseries",
            strPostID: t
        },
        success: function(e) {
            e = e.slice(0, -1),
            $(".search_main_box.dash." + t).remove(),
            $("#my_popupdelete").popup("hide"),
            $("#dash_deletetitle").removeClass("isdisabled"),
            $(".dash_deleteseries_btn").removeClass("isdisabled"),
            $(".my_popupdelete_close").removeClass("isdisabled"),
            $(".fa.fa-times.p_default").removeClass("isdisabled")
        }
    })) : $(".edit_saveerror").show()
}
 
Last edited:
Top