Forum Replies Created

Viewing 15 replies - 1 through 15 (of 20 total)
  • Thread Starter tyr

    (@tyr)

    Perfect! Thanks so much!

    Thread Starter tyr

    (@tyr)

    Nope… never did find a solution… Instead I just took down the call to get_avatar(). not ideal, but at least the site doesn’t look broken.

    Thread Starter tyr

    (@tyr)

    It’s probably also worth noting that I did test out the problem using the default theme (not the theme I modified) and I got the same issue.

    Stickel, I was having the same problem on my MT site, and I JUST figured it out!

    When you move to Google Apps for your email, there’s a place in the admin panel to let the servers know that you’re not using MT for your email.

    Within your admin panel, click on the “enable/disable mail” button.

    There you get the option:

    Choose ‘YES’ if the MX record for the domain is pointed at your (mt) Grid-Service. Choose ‘NO’ if you are hosting your email on a different server.

    You’ll need to select no.

    Similar to BloggerDesign, my comment on the author’s blog from 4 days ago) is still sitting in moderation.

    One head’s up: I started a new thread and got one response that might help others: https://www.ads-software.com/support/topic/172415?replies=1

    Thread Starter tyr

    (@tyr)

    stevenvu:

    Thanks so much for stopping by!!! However, I’m not sure we’re trying to solve the same problem…

    I’m not a database guy at all, but I think I can parse what you’ve got above well enough to get the idea that it will look through the table with content for the phrase “?pp_album=1&pp_image=” and replace it with: “wp-content/oldphotos/”. (please let me know if I’m wrong in this assumption!!!)

    Assuming this is true, then my issue is that a had photopress store photos in a different configuration. For example, each photos is stored in this format:
    [photopress:newyear.jpg,full,alignright]

    However, can I assume that I can use a similar “replace” function in SQL to update my configuration?

    The issue I see with this is that I have six different configurations (i.e. combos of “thumb” or “full” and “alignright”, “centered”, “alignleft”)… But it seems like it would be possible to set something up that would replace the PhotoPress code I have in my posts with HTML code using the replace function you used. If this is the case, then you’ve gotten me well on my way!

    Welsberr:

    I’ve got the same problem and I’ve narrowed it down to the permalink structure. If you turn off the permalink structure option, then new posts will work just fine. However old posts (created using the “HTML” option of PhotoPress) will still go to an error page.

    I’m not one to know what I’m doing when hacking around a .htaccess file.

    Any ideas?

    After hacking away for a while longer, I was able to get the avatar to work. Here’s what I did… I added the following text above ‘the_content();’ (in two places!)

    if (function_exists(‘gravatar’)) {
    echo “<img src='”;
    echo gravatar(get_the_author_email());
    echo “‘ alt=” class=’gravatar’ />”;}

    I must have tried 10 different ways to call the author email, before I found ‘get_the_author_email’ worked!

    Since this worked, I’m going to go ahead and implement this solution on my site, but if anyone has a better way to code this, I’d be interested in hearing about it!

    Similarly, I’d like to post an avatar at the beginning of each post based on the author of the post.

    I’ve downloaded and installed Skippy’s gravatar plugin and at this point I can get an avatar to show up in posts by using this code: <gravatar [email protected]>.

    However, what I’d like to do is to automate this process to show an avatar based on an author, and I’m not sure how to code this.

    I’ve read through the documentation and the support wiki (https://codex.www.ads-software.com/Using_Gravatars), but I’m not finding clear instructions on how to do this.

    When I added the code ‘gravatar();’ to what I think is the appropriate place within the “index.php” of the theme (above ‘the_content():’), I get a text that refers to the location of the avatar in the appropriate place. When I try to incorporate this code in an image:

    ‘<img src=”<?php gravatar(); ?>” />’

    the page fails to load. In addition, the code is referring to the location of the generic avatar and not the author’s avatar. Here are my two questions that would really help (and I’d be happy to fill in the wiki documentation if someone can first let me know the answer!)

    1) What is the appropriate code, and where should I place this code to get it to show up at the beginning of each post?

    2) What code do I need to use to call the correct author of the post?

    Thanks in advance! And a Happy New Year to anyone reading this today!

    Thread Starter tyr

    (@tyr)

    Thread Starter tyr

    (@tyr)

    Thanks for helping me look into this!

    Some of the extra code is a carryover from the theme that I began with (Landzilla). My hope in using the “simple-vanilla” theme was simply to use (and appearently abuse) the navigation code from this particular theme, but that has obviously been problematic.

    As I mentioned before, the only reason the extra bracket is there is that it seems to make the page look like the design I was hoping for. All my efforts to keep the “title” and “navigation” bar inline without the stray bracket were fruitless.

    Essentially, if someone had some ideas on where I could fix my code (preferable without the extra bracket so that the title and navigation bar end up “inline”, that would definitely make my day!

    I’m not sure what you mean by CDATA stuff… Any ideas on cleaning things up would definitely be appreciated!

    BTW, the validation site I’m using is:
    https://validator.w3.org/check?uri=http%3A%2F%2Fwww.raincityguide.com%2F
    And I just checked that the pages all validate (at least using this service!).

    Thread Starter tyr

    (@tyr)

    Perfect…

    I honestly tried searching the message board first, but I missed that post!

    Thanks again!

    Thread Starter tyr

    (@tyr)

    I kept playing with the style.css file after posting my comment… and the bug seems to have gone away… Thanks for offering the help!

    Thread Starter tyr

    (@tyr)

    I found the answer to my question in the second paragraph with a simple google search!

    Thread Starter tyr

    (@tyr)

    Sorry about the bad coding! I think it between me trying to troubleshoot the issue (which is where I got into the “<center>” tag issue) and the fact that I borrowed a theme that a non-native english speaker put together: https://www.vlad-design.de/, means that my code quality took a nose-dive.

    But you bring up a couple of issues for a novice like myself… What the best way to check my site against W3C validation? I have no problem doing so, but I’m not sure how to do it… Is there a W3C validation process that will suggest solutions to my bad coding?

    Thanks!

Viewing 15 replies - 1 through 15 (of 20 total)