Forum Replies Created

Viewing 15 replies - 16 through 30 (of 40 total)
  • Create a template override

    1. Copy /wp-content/plugins/events-manager/templates/templates/events-search.php to /wp-content/themes/<your theme name>/plugins/events-manager/templates/events-search.php
    2. Open the new file and go to line 55 where you will see:

      <input type="text" name="em_search" class="em-events-search-text" value="<?php echo $s; ?>" onfocus="if(this.value=='<?php echo $s_default; ?>')this.value=''" onblur="if(this.value=='')this.value='<?php echo $s_default; ?>'" />
    3. Tweak the part that says onfocus and onblur
    4. Save the file

    You first have to create a menu if you don’t have one, because it sounds like WordPress is creating a menu based on the page structure.

    As promised, here’s the changes you have to make to hide the stars. All I’m doing is commenting out stuff because I didn’t want to deal with any inter-dependencies. Please make back ups of your files first!

    wp-customers-reviews.js – Lines 87-89
    This is to disable the JavaScript checking of the field.

    /*if (frating < 1 || frating > 5) {
            err.push("Please select a star rating from 1 to 5.");
        }*/

    wp-customer-reviews.php
    Lines 752-757
    Be careful here as this is part of a larger PHP string

    <!--<div class="wpcr_fl wpcr_sc">
                                    <abbr class="rating" title="' . $review->review_rating . '"></abbr>
                                    <div class="wpcr_rating">
                                        ' . $this->output_rating($review->review_rating, false) . '
                                    </div>
                                </div>-->

    Lines 770-775
    Same warning as above.

    <!--<div class="wpcr_fl wpcr_sc">
                                    <abbr class="rating" title="' . $review->review_rating . '"></abbr>
                                    <div class="wpcr_rating">
                                        ' . $this->output_rating($review->review_rating, false) . '
                                    </div>
                                </div>-->

    Line 1037
    Purely HTML. Both a comment out and adding of the value, so the field always defaults to zero stars.

    <!--<input type="hidden" id="frating" name="frating" value="0" />-->

    Lines 1044-1047
    Another PHP string.

    <!--<tr>
                    <td><label class="comment-field">Rating:</label></td>
                    <td><div class="wpcr_rating">' . $this->output_rating(0, true) . '</div></td>
                </tr>-->

    Lines 1155-1157
    This disables the PHP checking of the field.

    /*if ($this->p->frating < 1 || $this->p->frating > 5) {
                $errors .= 'You have triggered our anti-spam system. Please try again. Code 003<br />';
            }*/

    I second that notion so I will be modifying the code to see if I can’t get around this. Will post a solution once I have it.

    Sidebar.php only works on existing side bars that you register in your theme’s function file. Problem is that you register your custom post types in the same place. I’m trying to figure out how to register the custom post types first and then register the sidebars. That is the only way it will work.

    Go to Appearance->Themes and change to Twenty Ten if you are using WordPress 3.0. or Kubrik if you are using a different version.

    Have you tried using the default theme and see what happens there? It sounds like something is going on with the theme that you are using.

    No problem. I am willing to help you privately. As my profile says, I’ve been working with WordPress on and off for the last five years. I just recently started tinkering with WordPress 3.0. However, I’m only a stranger that you know in a public forum.

    If you can get to your WordPress backend at all, I would try the export feature, under by going to https://www.yoursite.com/wp-admin/export.php. However this will only be able to grab the posts and any native WordPress content. It won’t grab any content stored in other tables.

    Whoever you get needs to know WordPress from a programmers point of view, so they’ll need to understand PHP and MySQL besides HTML and CSS. Whoever you get to help you is going to need access to your file system and database so they can compare what’s been done to a standard installation. Your web host isn’t going to be able to help beyond the backups, because they will consider this a software issue and not a failure of the operating system or system software.

    You said this is not your expertise. Sounds like there was some custom work done that is making the content types not behave like WordPress 3.0 likes. The content is probably not gone, just being misunderstood. The best solution would be to get you back to the files and data before the upgrade. Do you know if your web host makes backups? If they do, how much would it cost to retrieve them? Also, what’s the URL of your website?

    You are probably going to have to hire another developer to look at this for you because any suggestions given here would require some technical knowledge of the file and database system.

    Why do you need a widget? Why not create a custom menu in the sidebar that just deals with category you have in mind?

    Go to wp-admin/export.php . . . It will allow you to export custom post types as well. And then just re-import by going to /wp-admin/import.php

    Your wp-config looks typical, so you are fine there. Tell me if you find D: in your wp-settings.php file. Basically I’m trying to track down where the D: is coming from.

    Check your wp-config.php file. I think it’s your ABSPATH variable.

    What kind of errors are you getting? I suspect it has to do with the <?php if(have_posts()) : while(have_posts()) : the_post('exclude=3'); ?> and the endwhile, else: and endif; that happens later in the code.

    D:? That sounds like a drive letter. Also, you are using Windows nomenclature for what should be a GoDaddy file path of /Hosting/3122371/html/wp-content/uploads/2010/07.

    It sounds like a file / folder permissions issue.

    This really needs to be in how to and troubleshooting.

Viewing 15 replies - 16 through 30 (of 40 total)