WordPress.org

Ready to get started?Download WordPress

Forums

Participants Database
[resolved] participants-database.php error (6 posts)

  1. justinoreilly
    Member
    Posted 1 year ago #

    i have this error when i go into the plugin
    path censored

    Warning: include(database.php) [function.include]: failed to open stream: No such file or directory in /home/content/xx/xxxxxxx/html/wp-content/plugins/participants-database/participants-database.php on line 441

    Warning: include() [function.include]: Failed opening 'database.php' for inclusion (include_path='.:/usr/local/php5_3/lib/php') in /home/content/xx/xxxxxxx/html/wp-content/plugins/participants-database/participants-database.php on line 441

    how can i fix this

    http://wordpress.org/extend/plugins/participants-database/

  2. xnau
    Member
    Plugin Author

    Posted 1 year ago #

    Are you using multisite? On a regular WP install, the top menu item is an unclickable header...for some reason it's clickable in multisite, but there's no page for that link to go to, hence the error. All I can say is just don't use that link. You have access to all the pages of the plugin with the menu items below it, right? I haven't figured out how to stop Multisite from doing that.

  3. justinoreilly
    Member
    Posted 1 year ago #

    Thank you for the quick response.
    i also posted this on your website.
    Yes i am using multisite
    do you have any plans in the future to be able to have multiple lists
    also what is the max this can handle i fully intend it to have 30000 signups at some point

    we will also be making a donation to you in the coming days since this is the plugin that is primarily our whole website.

  4. xnau
    Member
    Plugin Author

    Posted 1 year ago #

    justinoreilly,

    Multiple lists...maybe. But you may find it's not necessary if you include a field that 'labels' a record as belonging to one list or another. Then, you can use shortcode filtering to use a shortcode to display each list.

    If you tell me a bit more what you're trying to accomplish, I can get more detailed on how you might do it with one database.

  5. justinoreilly
    Member
    Posted 1 year ago #

    I managed to get it working like you said is there any way to style the input like have the text boxes say what info is required instead of labels

    id like to do something like this

    First Name Last Name
    City
    State
    Email

    Centered Submit Button in form

  6. xnau
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, you can do this, but you'll have to use a custom template.

    For instance, in the pdb-single-default.php template, replace $this->field->print_element(); with the element in explicit form:

    if ( $this->field->form_element == 'text-line' ) {
    echo '<input type="text" value="" class="required-field regular-text" name="'.$this->field->name.'" placeholder="'.$this->field->help_text.'">';
    } else $this->field->print_element();

    Remove the places where the title and help text are printed, then put the placeholder text you want into the help text field of each field.

    Be sure to read this section on templates for instructions on how to create an use your own templates: participants-database templates

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic