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.
Same here. Running plugin Version 0.1.0
WP Version 3.4.2
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.
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.
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.
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.
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?
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.
Well, there is the problem. It doesn’t look like the db tables were created upon installation.
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?
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.
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) );
So, it’s just a matter of the tables not being created automatically.
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.
- The topic ‘Not getting prayer request listing’ is closed to new replies.