Ben Kaminski
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: WP eCommerce] Remove Link to Your Downloads in My Account$profile_tabs = apply_filters( 'wpsc_user_profile_tabs', array( 'purchase_history' => __( 'Purchase History', 'wpsc' ), 'edit_profile' => __( 'Your Details', 'wpsc' ), /*'downloads' => __( 'Your Downloads', 'wpsc' ) ) );
Or you could just comment out the downloads rather than remove. Preserving plugin author architecture.
I wrote an article on this exact issue here:
benkaminski.comForum: Fixing WordPress
In reply to: Registration/Password Emails not being sentOk, so I revisited the class.phpmailer.php GitHub page and noticed that it had changed AGAIN only 4 days ago.
Two things wrong with the updated code, but after some trial and error, I was able to ascertain the culprit.
First mistake: No closing “?>” at the end of the file (class.phpmailer.php).
Second mistkae: Line 1020…
require_once $this->PluginDir . 'class.smtp.php';
Should be:
require_once $this->PluginDir . 'class-smtp.php';
class HYPHEN smtp
This was throwing a php error. Only caveat so far, when a new user registers… it hangs for a bit before the registration actually processes. It also sends the site admin email right away but you have to wait for the page to finish loading for the user email to send. Which takes a bit too long for me.
Forum: Fixing WordPress
In reply to: Registration/Password Emails not being sentupdate, this has stopped working for me. Investigating now.
Forum: Fixing WordPress
In reply to: Registration/Password Emails not being sentJaxWeather… Worked like a charm doing the class-phpmailer.php update. Makes total sense as to why this wasn’t working on 3.6. I am on 1and1 hosting and was having the same issue until I read this.
Great work and thank you!
Forum: Fixing WordPress
In reply to: Turn off Comments selectively (per post)I found this rather easy to accomplish. In your theme folder find “comments.php” and open it in a text editor.
Find this code:
<?php else : // comments are closed ?> <!-- If comments are closed. --> <div class="Post"> <div class="Post-tl"></div> <div class="Post-tr"><div></div></div> <div class="Post-bl"><div></div></div> <div class="Post-br"><div></div></div> <div class="Post-tc"><div></div></div> <div class="Post-bc"><div></div></div> <div class="Post-cl"><div></div></div> <div class="Post-cr"><div></div></div> <div class="Post-cc"></div> <div class="Post-body"> <div class="Post-inner article"> <div class="PostContent"> <p class="nocomments"><?php _e('Comments are closed.', 'kubrick'); ?></p> </div> <div class="cleared"></div> </div> </div>
From “div class post” on down, delete everything and save. This will remove the message about comments being closed as well as the box that it shows up in.
… of course, not everyone’s comments.php file will look the same, but hopefully you get the gist of it.