PayBas
Forum Replies Created
-
Forum: Plugins
In reply to: [Participants Database] Call for Beta TestersPHP Fatal error: Access to undeclared static property: Participants_Db::$css_prefix in /public_html/wp-content/themes/newstyle/templates/pdb-single-default.php on line 31
When trying to use templates, even just copy-pasting your default templates to the styles dir.
And check your e-mail for my updated translation ??
Forum: Plugins
In reply to: [Participants Database] Frontend translation and templates optionsThe best way to do this is to edit/add language files
Copy/duplicate one of the existing language .PO files such as:
wp-content/plugins/participants-database/languages/participants-database-fr_FR.poRename the end part it to your language code (such as de_DE)
Open it with POEdit ( https://www.poedit.net/download.php ) and change what you need.
Forum: Plugins
In reply to: [Participants Database] single record header titleForum: Plugins
In reply to: [Participants Database] Multiple Dropdown FiltersAre you talking about the admin panel or the front-end (template)?
Forum: Plugins
In reply to: [Participants Database] CSV Field orderIn the mean time, you could try this:
You can just run this script every thing you need to export a CSV
Forum: Plugins
In reply to: [Participants Database] Help with signup templateHmmmm… I don’t actually know. I’m just used to putting these kinds of scripts in the header.
But I think you can put it anywhere you want, as long as it’s after <?php wp_head(); ?> because jQuery needs to be loaded.
Maybe if you put the code at the very bottom of the signup template, you won’t even need to use
jQuery(document).ready(function(){
Forum: Plugins
In reply to: [Participants Database] Help with signup templateAs long as you include the code AFTER <?php wp_head(); ?>, jQuery should be already loaded.
Forum: Plugins
In reply to: [Participants Database] Help with signup templateThis is a possible javascript/jQuery solution. Seems to work well. Include this in your header.
<?php wp_head(); ?> <script type="text/javascript"> jQuery(document).ready(function(){ jQuery('input[name="email2"]').parentsUntil('tbody').hide(); jQuery('input[name="email1"]').change(function () { jQuery('input[name="email2"]').parentsUntil('tbody').show(); }) }) </script> </head>
Forum: Plugins
In reply to: [Participants Database] Responsive CSS FormattingWhy are you using (max-width: 480px) ?
If you want some CSS to show on larger displays, you should use a min-width, like:
@media screen and (min-width: 960px) {
Forum: Plugins
In reply to: [Participants Database] Search ProblemCare to post the solution?
Forum: Plugins
In reply to: [Participants Database] Search ProblemI think you are the first to notice because I think most of us don’t use multiple different [pdb-list] shortcodes.
On my website for instance, I just use [pdb-list], with no attributes at all. I configure which columns to display by using the admin panel.
So many of us will not see this problem/bug until we start using multiple list shortcodes with different field displays.
Forum: Plugins
In reply to: [Participants Database] Search ProblemIt could be a bug introduced after 1.3.7 due to code changes.
What is the field type of “city”? Text line?
There are basically 2 ways to fix this:
1) Only display search fields in the dropdown that are specifically passed/requested as shortcode attributes
2) Fix the search for non-display fieldsThe second one obviously would be better, but both will require code changes. Wish I could help ??
Forum: Plugins
In reply to: [Participants Database] Search ProblemI think it’s a bug in the plugin, but you could do this:
If you set the “display column” to 0 for “city” in the “manage database fields” admin page, it should disappear from the search field dropdown.
Forum: Plugins
In reply to: [Participants Database] database groupCan’t you simply use the checkboxes in the “signup” column on the “manage database fields” admin page?
Forum: Plugins
In reply to: [Participants Database] How to: create a search widget?For future reference, and other people that might be interested in this:
You can simply use the standard text widget which is available in WordPress by default. It accepts HTML code.
Using this code should work. It creates a search form inside a widget, so your visitors can search your participants database from any page/post on your website (provided the widget is visible):
<form action="https://mywebsite.com/page/pdb-list-page/" method="post"> <input type="hidden" name="search_field" value="last_name"> <input type="hidden" name="sortstring" value="birth_date"> <input type="hidden" name="orderstring" value="desc"> <input type="hidden" name="operator" value="LIKE"> <input type="text" name="value" value=""> <input type="submit" name="submit" value="Search"> <!--<input type="image" name="submit" alt="submit" src="https://mywebsite.com/button.jpg">--> </form>
I included an option to have the submit button as an image, but it doesn’t seem to work. I’ll update this as soon as I figure out what’s going on.