WordPress.org

Ready to get started?Download WordPress

Forums

Amen
[resolved] Not getting prayer request listing (28 posts)

  1. mstenson
    Member
    Posted 1 year ago #

    I am getting the form for submitting prayer requests, but the [amen] short code is not displaying the submitted requests.

    http://wordpress.org/extend/plugins/amen/

  2. UaMV
    Member
    Plugin Author

    Posted 1 year ago #

    What version of the plugin are you running? i recently made some changes after realizing earlier version of PHP were not properly rendering some of the code. Try updating and see if that helps.

  3. dambacher
    Member
    Posted 1 year ago #

    Same here. Running plugin Version 0.1.0

    WP Version 3.4.2

  4. UaMV
    Member
    Plugin Author

    Posted 1 year ago #

    Interesting. i'll try and give a closer look at it tomorrow. Do the prayers do show up with the [amen_manage] shortcode? Just not the [amen] one? Anyone else encountering this? Thanks for the heads up.

  5. dambacher
    Member
    Posted 1 year ago #

    For me they don't on the front end or the admin end. The form shows fine, but the entries do not show on the front or back end.

  6. dambacher
    Member
    Posted 1 year ago #

    Also, the post privatization setting doesn't seem to be functioning. Even if the checkbox is unchecked, the option to make private or public still shows on the front end.

    Thanks

  7. UaMV
    Member
    Plugin Author

    Posted 1 year ago #

    Try 0.1.1 to fix the display of the prayer list. No guarantees, as i haven't been able to recreate your issue ... but, may have found the problem. Let me know.

    @dambacher: As to the prayer privatization. This option should enable/disable the privatization option for all users except admins. Admins will retain the ability to privatize prayers either way.

  8. dambacher
    Member
    Posted 1 year ago #

    Sorry, no go on the displaying. I don't think it's a theme issue, as I've tried it with 3 themes, including twentyten and eleven, to no avail.

    Thanks for the clarification on the privatize issue.

    What is your setup UaMV?

    Thanks

  9. UaMV
    Member
    Plugin Author

    Posted 1 year ago #

    Recently developed the plugin on WP 3.4.2. Tested it through the various release candidates and currently have it running with WP 3.5.

    Developed on a localhost with PHP 5.3.15 and currently running on OS X Server 10.5.8 with PHP 5.2.15.

    Currently using a child theme of twentytwelve.

    i've had no problems displaying the lists from inserting the shortcode or calling it with do_shortcode.

    Are the requests writing to the database? Upon installation or upgrade, a sample request should be written to the amen_requests table. Also, are you are using a custom database prefix? i wonder if i may not be querying the table properly.

  10. dambacher
    Member
    Posted 1 year ago #

    Well, there is the problem. It doesn't look like the db tables were created upon installation.

  11. UaMV
    Member
    Plugin Author

    Posted 1 year ago #

    Interesting. Any thoughts on why that might be? It should, of course, create/update. You can find code in setup.php and i think create them manually in the database. Could it be a database permissions thing?

  12. dambacher
    Member
    Posted 1 year ago #

    I can take a look at the code in a bit and see if I can find an issue. Pretty sure it's not a db permissions thing as the user I'm running as is granted all.

  13. dambacher
    Member
    Posted 1 year ago #

    Didn't look much through the code yet, but I was able to manually create the tables using by running the sql:

    CREATE TABLE wp_amen_requests (
    			id mediumint(11) NOT NULL AUTO_INCREMENT,
    			prayer_item varchar(255) NOT NULL,
    			prayer_updated varchar(255) NOT NULL,
    			urgency TINYINT(1) UNSIGNED DEFAULT 0 NOT NULL,
    			active TINYINT(1) UNSIGNED DEFAULT 1 NOT NULL,
    			privacy TINYINT(1) UNSIGNED DEFAULT 0 NULL,
    			created_at datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
    			created_by int(10) NOT NULL,
    			praying_tag varchar(255) NOT NULL,
    			updated_at datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
    			PRIMARY KEY id (id)
    			);# MySQL returned an empty result set (i.e. zero rows).
    
    			CREATE TABLE wp_amen_prayers (
    			id mediumint(11) NOT NULL AUTO_INCREMENT,
    			session_id varchar(255) NOT NULL,
    			request_id mediumint(11) NOT NULL,
    			PRIMARY KEY id (id),
    			UNIQUE KEY prayer_id (request_id, session_id)
    		);
  14. dambacher
    Member
    Posted 1 year ago #

    So, it's just a matter of the tables not being created automatically.

  15. UaMV
    Member
    Plugin Author

    Posted 1 year ago #

    i made another small edit 0.1.2 ... give it a try. i inherited some of the code from a previous plugin ... still working out a few bugs it seems. Of course, it may be my coding, too. Thanks for your patience.

  16. dambacher
    Member
    Posted 1 year ago #

    Sorry, still not creating the tables with 0.1.2

  17. UaMV
    Member
    Plugin Author

    Posted 1 year ago #

    Grrr ... :)

  18. UaMV
    Member
    Plugin Author

    Posted 1 year ago #

    Glad you were able to get them created manually. Sorry abou that. Will have to take another look after the holidays.

  19. dambacher
    Member
    Posted 1 year ago #

    I'll take a better look at the code when I get home too.

    Thanks

  20. Kreacher12
    Member
    Posted 1 year ago #

    I am looking forward to an update. This looks like it will be a very nice plugin once it is working properly.

  21. UaMV
    Member
    Plugin Author

    Posted 1 year ago #

    Hope to fix this soon, but first must release a new website for our organization. i'll post back when updates have been made.

  22. chryton
    Member
    Posted 1 year ago #

    I would like to confirm that upon activation that it did not create the tables either. After I manually created the tables, it seemed to work fine though the shorcodes aren't working off the template file (known tinyMCE issue I believe).

  23. UaMV
    Member
    Plugin Author

    Posted 1 year ago #

    Okay, finally able to spend a little time with this issue tonight. i rewrote the install/update functions and think i may have it working. Will test a bit more and likely post an update tomorrow. Thanks for your patience!

  24. UaMV
    Member
    Plugin Author

    Posted 1 year ago #

    Hello! 0.2.1 is available. It worked for me on a fresh WordPress 3.5 install. Database tables were created. I also updated my current version and database tables updated properly. Let me know if you are still encountering issues or whether we can mark this one resolved. Thanks!

  25. Kreacher12
    Member
    Posted 1 year ago #

    I set up the database per dambacher's suggestion. The new version worked and showed the new version number as well as the test prayer on upgrade so it seems to work now. I haven't tested it with a fresh install.

  26. UaMV
    Member
    Plugin Author

    Posted 1 year ago #

    Anyone else with positive feedback for 0.2.2? Hoping we've resolved this.

  27. UaMV
    Member
    Plugin Author

    Posted 1 year ago #

    Marking as resolved, let me know if you find this to not be the case.

  28. mstenson
    Member
    Posted 1 year ago #

    Thanks! Up and running.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.