• Hello!

    i am currently developping an agenda within WP for my own needs.

    i am enabling anybody to enter events in this agenda (like comments in posts).

    As for comments, i want to moderate those entries.

    I, of course, got largely inspired by the admin comments php files but I have a little issue.

    How can i have my emoderation.php form to go back to itself (the action attribute of the form html tag).
    Same issue for my event.php file (like post.php …)

    my emoderation.php and event.php are hosted in a plugin folder to ease future wordpress updates.

    Thank you for your answer.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter arena

    (@arena)

    I finally found a solution to this issue.

    When i work on my local WAMP, every thing is perfect.

    When i have it on my host, my first screen appears ok. when i want to Edit my event i have a strange screen, sort of shrinked admin menu with the following message, “are you sure you want to do this”.
    Does it have something to do with the functions around check_admin_referer ?

    Thread Starter arena

    (@arena)

    Apparently, yes.

    Can anybody tells me how it works ?

    Someone probably can help further with this, but you might need to provide more info regarding your host, whether this is windows or linux server online, is mod_security running, is this php-as-cgi, that sort of backend info. There’s sometimes a fair amount of difference between running this local and under a shared server online.

    Thread Starter arena

    (@arena)

    running a php info on the host would help ?

    https://andrerenaut.ovh.org/phpinfo.php

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘managing my events as comments’ is closed to new replies.