Viewing 15 replies - 1 through 15 (of 24 total)
  • Plugin Author Asgaros

    (@asgaros)

    Hello!

    I will check this and will try to find a workaround for this. ??

    Plugin Author Asgaros

    (@asgaros)

    Hello again!

    A fix for this is available here:
    https://github.com/Asgaros/asgaros-forum/commit/977adff63d2771f3a3fbc8f81be95a5413936e4a

    It will also be included in the upcoming v1.1.6 release. ??

    Thread Starter ranzarth

    (@ranzarth)

    thanks

    Thread Starter ranzarth

    (@ranzarth)

    Sadly its not fixing it as i can still spam submit and it still makes copies of the same topic even with the fix.

    Plugin Author Asgaros

    (@asgaros)

    Are you sure that the code of the changed JavaScript file has been applied correctly? Maybe there is an old one in your browser cache.

    Please reload the editor multiple-times with CTRL + F5 and try it again.

    Thread Starter ranzarth

    (@ranzarth)

    Yeah at first it wouldn’t save on my ftp client then i just edited it through the wordpress plugins editor and it still doesn’t fix the issue, it actually disables the button completely and just refreshes the page when you click submit after i just cleared the cache.

    Plugin Author Asgaros

    (@asgaros)

    In which browser have you tested it?

    Thread Starter ranzarth

    (@ranzarth)

    I have the latest version of the chrome browser, also i tried it on another computer and it had the same problem (which also uses the chrome browser).

    Plugin Author Asgaros

    (@asgaros)

    The patch disables the button when you press it one time. Are you sure that you applied it correctly?

    I cant submit multiple times with this. Can you give me some step-by-step instructions so I can reproduce this?

    Thread Starter ranzarth

    (@ranzarth)

    i definitely put the code in correctly but i do have this code that you had made to enable the wordpress editor for the forums post. I put this code in the theme’s functions.php and it works fine but it could be the reason, but im not sure

    function change_editor_settings($settings) {
    	$settings['teeny'] = false;
    	$settings['quicktags'] = true;
    	return $settings;
    }
    
    add_filter('asgarosforum_filter_editor_settings', 'change_editor_settings');

    I just tested to see if this was the problem and i still did not see any difference sadly

    Thread Starter ranzarth

    (@ranzarth)

    ok a friend of mine tried to post and he could but he could also still spam the submit button and make bunch of copies, but for me it just refresh the new post page for me which is interesting

    by the way he uses the opera broswer

    Thread Starter ranzarth

    (@ranzarth)

    ok when i deleted the code that you added to prevent submit spamming it fixed my issue with not being able to post.

    Plugin Author Asgaros

    (@asgaros)

    Okay, I added another implementation to prevent this.

    Please modify your code like this and try it again:
    https://github.com/Asgaros/asgaros-forum/commit/fe001a10ec2f3d19a203e2da8f9bc324d64f8953

    Thread Starter ranzarth

    (@ranzarth)

    now it just does this and doesn’t even show the submit button

    https://www.dropbox.com/s/4oo4j73sros90i8/forums%20bug.png?dl=0

    Plugin Author Asgaros

    (@asgaros)

    What version of WordPress are you using? Whats the name of your theme?

    Can you please give me a link to your site? Maybe there is some other JavaScript problem caused by the theme or another plugin which prevent this from working. This looks very, very strange.

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘Post Button Issue’ is closed to new replies.