brittanie
Forum Replies Created
-
Forum: Plugins
In reply to: Which 1.5.2 file contains the comment notification function?Mickael, you have just made my day! It totally works, and was exactly what I was looking for, so far (I just posted a test comment). I’m getting notified, e-mail is still required to post a comment, and the poster’s e-mail addy is included in the comment notification, although not “from.”
You, my friend, are the cat’s meow.
Forum: Plugins
In reply to: Which 1.5.2 file contains the comment notification function?I thought that was for outgoing comments only, as in reader notification of new posts, etc. When someone posts a comment and fills in their e-mail addy (which I currently have set as a requirement) then the notifcation email that is (supposed) to be sent to my inbox shows up as having come from the commenter’s e-mail. That is why I am only notified when I comment – the sender’s addy is part of my domain.
I think perhaps what I should be looking for instead of mail() is the notify author function? I have no freakin’ idea…
Forum: Fixing WordPress
In reply to: Email notification isnt workingJust curious, what server are you guys using? I’m having the same problem but feel I am getting close to working it out. Try logging in as ADMIN and posting a test comment. Are you notified then?
For more info, look at this thread.
Forum: Installing WordPress
In reply to: I’m only notified when I post a comment (not anyone else)Okay, Michael, I tok you suggestion and Googled the above. The very first result was in regards to my host, Yahoo Small Business.
According to Yahoo’s help page:
“When you send email with a Perl or PHP script, you will need to make sure that the “From:” address in your email header is set to an address within your domain name. If the address is set to an external email address, then you will see an error in your /tmp/mailError.log file. For example:
2003 Jun 18 21:18:15 Result: 9
2003 Jun 18 21:18:15 From address not in member domain. Message not sent.With the Perl/PHP mail feature, you will be limited to 250 emails per day. This means that once you have reached this limit, the email generated by your scripts will not be sent until this limit has been reset.
Please note that these emails will not be held for delivery, so you may later need to regenerate the emails if your script has reached the 250/day email limit.”
I have followed Yahoo’s instructions for “automatically” setting the “From” in my mail script, (filling out a form on my server) but that hasn’t worked. I have also found some threads in this forum that reference the same error, but in regards to posting via e-mail, which would equal sending email via PHP, not receiveing it.
When I’m logged in and post a comment, the notification shows it as having come from my e-mail address, not from WordPress or whatever. I’m assuming the same thing happens when other user post comments, since I have “Comment author must fill out name and e-mail” selected in Discussion Options.
This would mean that the “From” field in any comment notification would always be from an e-mail address that is NOT on my domain, unless I am posting a comment as administrator (which explains why I’m only getting notified for my own comments). If I turn off that option and post a “test” comment as an anonymous user, it is e-mailed to me immediately.
In the threads regarding posting via email, some people have found that their scripts allow you to specify either the TO or FROM field, but according to Yahoo you must specify the FROM field. Changing this Yahoo’s way didn’t work, so now I’m wondering if I can change it manually in one of the WP files. But I’m not sure which file in 1.5.2 contains this function. I’ve found this info for 1.5 and 1.5.1, but when I check those files on my latest install, I don’t find the same code the previous threads reference.
Forum: Installing WordPress
In reply to: I’m only notified when I post a comment (not anyone else)Wow, Michael, you just swept the forum with answers, huh!
Anyway, that’s how I understood it as well. But, there is only one author on my site, me, and I am also the admin.
After posting this question I noticed a new subdirectory on my server called TMP, which contained a file called mailError.log. The text of the file says this:
“2005 Oct 01 04:27:39 Result: 9
2005 Oct 01 04:27:39 From address not in member domain. Message not sent.”Because I am getting virtually instant notification of my own comments when I am signed in as the admin, I do not think this is a WP-side issue (since it seems WP is not having trouble talking to my web server). I have e-mailed my host but have not received a response yet. Any ideas what this error message means?
Forum: Installing WordPress
In reply to: I’m only notified when I post a comment (not anyone else)That wasn’t meant to be snarky. I just wanted to make it clear that I have searched the forums and tried to fix this on my own before posting the question.
Forum: Installing WordPress
In reply to: I’m only notified when I post a comment (not anyone else)Of course, and my admin (aka me, the only author) has an e-mail assigned to it. As I said, email notification is working, but only when I MYSELF post a comment, not when anyone else does.
Forum: Installing WordPress
In reply to: Installation fails on Yahoo webhosting …Yes, we who use Yahoo Hosting are the 1 percent who do need to change that value.
Forum: Requests and Feedback
In reply to: Please help to track down errorsOne thing that helps me keep my site valid during a redesign is Firefox. If you install Firefox (free!) and use it as a browser, you can also install another free program called Tidy (also on the Mozilla web site). When you look at your site in FF, Tidy shows a little notation in the bottom right corner showing how many errors and warnings you have. If you then VIEW YOUR SOURCE, a window opens explaining IN DETAIL each of those errors. I find this very helpful, since sometimes the W3 Validator using techie mumbo jumbo that I don’t understand. Tidy uses laymen’s terms and even pinpoints the exact spot in your code where the error is occuring and explains how to fix it. I find using this in conjuntion with the Validator makes a big difference.
Forum: Fixing WordPress
In reply to: Categories display main link instead of actual postMost templates, such as the standard-issue Kubrick, already come with an archive.php template. Look into your template files. If there is not one, then you can create one, but it is much easier to edit one that already exists then to start from scratch. Also, a link to your site would be helpful in the future if you need further assistance.
Forum: Fixing WordPress
In reply to: Categories display main link instead of actual postThis is easy. All you have to do is edit the archives template so that only the post title (aka the permalink) and the post meta data (the date posted) are visible. If you want, you can also use php_the excerpt to post the first few lines of the post or a summary. Try something like this:
<?php while (have_posts()) : the_post(); ?>
<div class="post">
<h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<small><?php the_time('l, F jS, Y') ?></small></div>
<div class="entry">
<?php the_excerpt() ?>
</div><?php endwhile; ?>
If you want to exclude this option only for certain categories, then you need to look into the Codex documentation of using The Loop, which basically allows you to make arguments based on what the reader is clicking on. For example, in the above code, at the very top you’ll see the line
<?php while (have_posts()) : the_post(); ?>. This starts the loop, and basically says, "If there are posts in this selection, then show this information." The Loop ends with: <?php endwhile; ?>
You can set these “Ifs” to look for anything. Take a look around the forums to find out how to set them for certain categories – there is lots of documentation.
Forum: Fixing WordPress
In reply to: Set Home categoryWhat you really want to do is exclude ALL categories except for one from the index page. There are several posts on the forum and in the codex about how to exclude categories from the index, I suggest you search for that.
Forum: Fixing WordPress
In reply to: 1.5.2 Comment notification not workingThe only change I made to my core files was to move them from a subdirectory to the index. All the other changes were to the custom template only. Do you have any more-specific ideas? As I said, I searched the boards for this problem, which seems common, but the fixes apparently don’t apply to 1.5.2, as I do not have the line they all say to change in my functions.php file.
Forum: Fixing WordPress
In reply to: Javascript in the sidebar – Codex didn’t workHowever I have to find out what to do with the rest of my old js . Is this a matter of javascript compatibility with wordpress?
If the js works, why not just use the other two scripts and then use the plug-in for quote of the day?
Forum: Fixing WordPress
In reply to: Javascript in the sidebar – Codex didn’t workGanzua-
What types of code are you trying to input. I mean, what does the JS do. Is it a counter or a Flickr badge or what?
The reasono I ask is because I just went through the same thing last week trying to integrate TWO JSs to my site – a Flickr Badge in the sidebar and an invisible statcounter in the footer. I followed the instructions on the Codex and the bits of info I could piece together from the forums and nothing worked for me, even after several tried using the recommended method (i.e. “calling” the JS in using PHP). Eventually I just decided to put the raw JS into my sidebar, and tinkered with it, putting it into a list then a p class then a div class until finally it was XHTML valid (in a list). Same with the code in my footer.
My site is here, if you want to view source to see what I did:
https://abroad-abroad.orgIf you specify what type of JS your are trying to acheive, and include your url, maybe I can help.