markmidmo
Forum Replies Created
-
As a footnote I should say it does create the Subscriber – with a status of Unconfirmed. The user does NOT receive the email with the confirmation link.
I just loaded the plug-in and every user that tries to subscribe gets this error.
https://apaeducationandtraining.org/subscribe-to-apa-conversations/Thanks.
Oddly enough it was none of these. In the “Post Settings” on each quiz, the default when a new quiz is created is to allow comments, so it isn’t checking the global settings for the site. Now that I know where it is I can fix it going forward.
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Multiple extensions on one tableThank you! I had copied that example from somewhere and did not realize the example had the wrong type of quote marks. I replaced the “curved quotes” with the “upright quotes” and it worked perfect.
Again,
ThanksNo, the problem is definitely coming from this plug-in. It only happens on the QUIZ page that is generated by accessing the quiz shortcode. It does not happen anywhere else on the website.
I am still trying to resolve this issue and realized these are NOT the comments that are controlled by the “Options” these are Post Comments – which I have turned off globably on my website.
The comment entry screen is located below the Submit button.
How do I prevent your internal page from giving the users an option to leave comments, if you are not checking the global veriable?
Forum: Plugins
In reply to: [WordPress Simple Shopping Cart] Customer input area on a product?If I am understanding correctly how this works it is for the entire cart and if I mark it “Required” it would be required for all orders and not just those that require additional information.
Also being as some products require different types of information this could become quite cumbersome on the Cart page if not product specific.
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] A Display Option?That solved the problem with too many fields being displayed on a line.
Am I correct that I cannot size any of the other columns when using “auto”? For example Column 3 is a club name and now it is being wrapped.
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] A Display Option?I have downloaded the Responsive plug-in and that looks like it will solve the problem. However, the table display on the initial row is a mess. I’ve set the width on the first 3 columns trying to get it to look pretty but it just squeezes most of the remaining columns to the right side. There are a couple of columns displayed in the fold.
Is there something I should be doing to make the break from line 1 to the remaining items look better?
here is the shortcode I’ve used: [table id=17 responsive=collapse /]
in the plugin options I entered this:
.tablepress-id-17 .column-2 {
width: 100px;
}.tablepress-id-17 .column-1,
.tablepress-id-17 .column-3 {
width: 200px;
}Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Summary or Pivot style tableHere is a sample of the summary I’d like to see:
Name Total Points
DON OUELLETTE 2282
JAY STARLEY 2066
CLAY HOYLE 2003
RICK MEE 1978
TIM DECKER 1857
MIKE WOLDEN 1664Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Summary or Pivot style tableI failed to mention this, though it may have no bearing on the answer. When I am ready to upload the bulk of the raw data from the spreadsheet there will be several thousand rows inserted (I believe about 3,500) with a couple hundred unique “individuals” to summarize.
The pivot table function in Excel handles this nicely but I want to get away from the spreadsheet and use the database to track this information as it will be live “real time” as data is entered during the competitions.
EUREKA! It works!
To all those others looking for this solution but not proficient in php heed this warning…. You MUST use the correct quotes around fields. Here is my final result that does work. I was failing to put the double quotes around the field name in both places.
<?php // here is our code to set the field value
if ( $this->field->name === “phone” and $this->participant_values[“show_phone”] === “No” ) { $this->field->value = “Not Available” ; } ?>I like that solution but have not been able to get it to work. Breaking it apart, the first part of the “And” works but I cannot get the “participant_values” section to work. In an attempt to debug it, I have reduced it to the following and it is never executed:
<?php if ( $this->participant_values[‘show_phone’] === ‘No’ ) { echo “showphone No was found”; } ?>
I’ve verified the field ‘show_phone” is correct, and the value in the database is ‘No’ not all lower case. I’ve tried it with ” around No as well as single quotes. I’ve tried === as well as ==.
Any thoughts on what I have done wrong?
P.S. If you look at my live code it look OK but that is because I have moved back in a temp version of the pdb.single.custom template that has hard coded “Not Available” on the phone number.
- This reply was modified 5 years, 9 months ago by markmidmo.
I am almost there! I’ve created the custom template of the single record display. I copied the block that loops through the group & fields. At the very top I initialized a variable to show the phone number. In the block I copied I removed all the prints and did a test to see if the phone should print and updated the variable.
Then I exit to the original While blocks to do the print. I’ve added some temp echo statements to see if things are working OK.
I never enter the next WHILE block that does the print, even though it is the original code and I removed nothing.
I’m thinking it is a counter or pointer that needs reinitialized as I have just processed the blocks in the new loop I put at the top. I find the RESET function but can’t figure out the name of the array that needs reset.
Help???