riddergraniet
Forum Replies Created
-
I did a hacky solution for now with hooks and actions. Thanks for making the plugin so flexible :). It’s basically adding a conditional column to the bookings table if ticket_id exists in $_REQUEST. Then I get the ticket_booking_spaces based on booking_id and ticket_id from the database. For each row. A bit DB intensive but does the trick for now.
Ah, I see what I did wrong, it’s only counting the CONFIRMED spaces, not all reserved ones. But even with the option “Reserved unconfirmed spaces?” set to YES, the number still only shows confirmed booked spaces. The number left from it, Avail spaces, does display accurately, but then the number next to it seems a bit weird. Two different ways to calculate spaces are used?
No that’s just the total booked spaces of all the users for that ticket. What I want to see is how many tickets every individual has bought for a specific ticket.
So in the image above there should be a column extra or so that says for each user how many spaces he/she ordered for that ticket. So “Floor Reicher” has orderd 7 spaces in total for all tickets, but next to it should be “1” for ordering 1 space for “Ferries Route”. Some users might order more than 1 space for a ticket because they want to order more T-shirts, more bikes, more hours, etc. than just “1”. We need to know that.
OK then I’ll switch the names in the database or something ??
No wording is fine, just a newly submitted booking should automatically get the status “awaiting payment” instead of “pending”. I just can’t find that option to set the default status a booking gets upon creation…
Yes that’s because I programmed that myself, as a separate plugin, because I couldn’t find that feature in your plugin.
OK I updated the plugin manually. I put the setting off again and the issue is resolved. Thanks!
What about the question to auto-update the price total at the bottom so users can see what the total price will be?
I tried to update to the latest dev version but it can’t update because at the last few steps WP can’t delete the old plugin somehow. Might have to do with strict ftp rules that are on my account. Can you provide a direct download link to the zip so I can upload manually?
When do you think an update will be available? And is it possible to have an auto-updating total price text label at the bottom of the ticket table so users can see what happens with the price when adding more tickets to the booking?
Ok solved my own question once again. As I dived further into my own code I discovered that:
1. The permalink structure of NGG changed over time and thus my handcrafted URL’s for the carousel template were broken
2. My regular expression to check whether or not we were supposed to display a single image only checked on numerical values (that was how it was before) and not on all ASCII characters.After I fixed both of them the single images were showing up again. I think rebuilding the pretty links within NGG options also helped (the last bullet point in my previous post). Together with these changes in my scripts it all works again.
Please update the repository with this patch.
Forum: Plugins
In reply to: [Better WordPress Minify] [Plugin: Better WordPress Minify] PHP 5.4 upgradeC’mon, it’s been 6 months now, don’t you think it is time to update this version? I’m using 5.4.4 locally and it’s only a matter of time before our host is going to upgrade too. Please update the repository with this patch.
C’mon, it’s been 6 months now, don’t you think it is time to update this version? I’m using 5.4.4 locally and it’s only a matter of time before our host is going to upgrade too. Please update the repository with this patch.
Great you have added the feature. If I look in my WP asmin under plugins there is not yet listed a new version that I can upgrade to. Does it take a while for the repository to process and offer the update?
Forum: Plugins
In reply to: [Social] [Social] How to use Social on localhost?Oh thank you jaredkc1 ??
In the end I solved it kind of like Alex suggested: just get up a stage blog on a server somewhere and then style the tweets over there or see how it is made up and displayed.