Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Hassan Akhtar

    (@khaxan)

    From what I can gather from the screenshot, the stylesheet and the main javascript file isn’t being loaded. Have you tried to disable all the other plugins? Also try reverting to the default WordPress theme. Let me know if that doesn’t solve the problem.

    Thread Starter jbrewski85

    (@jbrewski85)

    I haven’t disabled any other plugins yet because this is an active site, however I we were using a box shortcode which we put this script inside and that may of been causing the ajax-loading.gif to display right away.

    I tried the shortcode on a blank page and all looks to be good at first glance.
    However the submit button does not work, I am getting this error now:
    http://i.imgur.com/cdvaaYT.png

    thank you!

    Thread Starter jbrewski85

    (@jbrewski85)

    javascript it is referring to:

    “/wp-content/plugins/front-end-publishing/static/js/scripts.js?ver=3.9.1”

    Plugin Author Hassan Akhtar

    (@khaxan)

    Is the editor loading properly. Are you able to see all its buttons?

    Thread Starter jbrewski85

    (@jbrewski85)

    yes, I can see everything fine. Just the button does nothing once clicked.

    Plugin Author Hassan Akhtar

    (@khaxan)

    Do you have WordPress installed on your local machine where you could recreate the problem? Another plugin might be interfering with something.

    Thread Starter jbrewski85

    (@jbrewski85)

    I do not, trying to figure it out now.

    Thread Starter jbrewski85

    (@jbrewski85)

    I noticed under the edit plugins these are “(inactive)”:
    front-end-publishing/inc/ajax.php (inactive)
    front-end-publishing/inc/shortcodes.php (inactive)
    front-end-publishing/inc/options-panel.php (inactive)
    front-end-publishing/views/submission-form.php (inactive)
    front-end-publishing/views/post-tabs.php (inactive)

    however this is active:
    front-end-publishing/fepublishing.php (active)

    are those 5 files supposed to say active beside them in the plugin editor?

    Thread Starter jbrewski85

    (@jbrewski85)

    So I was playing around with it more.
    I commented out the tinyMCE.triggerSave(); on line 119 and when I hit submit it actually tries to save but getting this message:

    Your submission has errors. Please try again!
    You missed one or more required fields
    There are too many links in the article body

    Thread Starter jbrewski85

    (@jbrewski85)

    I believe I got it!
    Just had to tweak the FEP settings… so in our situation commenting out line 119 in /wp-content/plugins/front-end-publishing/static/js/scripts.js fixed it.

    Thread Starter jbrewski85

    (@jbrewski85)

    I got everything modified and it’s working like a champ now!

    screenshot: http://i.imgur.com/X1JUjGN.png

    I modified the script to match our layout, and added some title text on the view, edit, delete so someone doesn’t accidentally click the wrong one and added some spaces in there.

    Also made it so that when the user wants to edit a post it opens on another page (which worked best in our situation)

    http://ratevape.com is our site

    thanks for the quick support and trying to help out.

    Plugin Author Hassan Akhtar

    (@khaxan)

    Looks great! I’m glad it worked out.

    However commenting out the tinyMCE.triggerSave(); might have some undesirable side-effects. This line takes all the data from the visual editor and saves it in the textarea before submission. Without this, only a part of each submission will make it to the database. Please make sure this problem doesn’t occur on your site.

    Thread Starter jbrewski85

    (@jbrewski85)

    ok, I’ll do some testing and let you know.

    I may play around with showing more fields also.

    Plugin Author Hassan Akhtar

    (@khaxan)

    Okay. Let me know how it works out.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘View Edit RotatingGif Delete’ is closed to new replies.