Christopher Roberts
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress emails don't sendI use the Use the ‘PHP mail() function to send emails.’ function, so no SMTP required… still stuck
Forum: Fixing WordPress
In reply to: Redirect First CommentThanks to a post by Boutros AbiChedid I have found a way!
Add this code to functions.php – I added it right below
<?phpHere is the code – just replace YOUR URL with your first comment redirect page
/*START FIRST COMMENT*/ /************************************CODE-2******************************* * @Author: Boutros AbiChedid * @Date: May 14, 2012 * @Websites: bacsoftwareconsulting.com/ ; blueoliveonline.com/ * @Description: Redirect to a 'Thank You' page only after the FIRST * Post/Page Comment. * @Tested on: WordPress version 3.3.2 **************************************************************************/ function redirect_after_first_comment($url, $comment) { $comment_count = get_comments( array( 'author_email' => $comment->comment_author_email, 'count' => true ) ); //Check if this is the first Comment (based on the Commenter email) if ( $comment_count == 1 ) { //Redirect URL for first time Commenters. wp_redirect('YOUR URL'); /* MODIFY the Path Accordingly */ exit(); } //Else, return the current post for repeated commenters. return $url = get_comment_link(); } //Hook the 'first_comment_redirect' function to the 'comment_post_redirect' filter action. add_filter( 'comment_post_redirect', 'redirect_after_first_comment', 5, 2); /*END FIRST COMMENT*/Hope this helps someone.
Forum: Fixing WordPress
In reply to: Only allowed few active pluginsAhh… we have loads of plugins (and need them) and loads of users, uploading an updating all the time. Currently users can’t get in, the site isn’t coping, only admins can log in, and I can only get some pages :-/
Any way of hosting/straddling one site across two domains – therefore have 40MB limit?
Images and admin on one domain, static files on another?
Forum: Fixing WordPress
In reply to: Only allowed few active pluginsThat is the limit they have said, I don’t want to move, so what can I do?
Forum: Fixing WordPress
In reply to: Only allowed few active pluginsI have been told that the ‘maximum memory limit is 20MB on the shared platform’ is this enough? I would think it is…
Forum: Fixing WordPress
In reply to: Only allowed few active pluginsApparently WP was using all the resources on the shared server it was on, so has been moved to a probation server.
The WordPress site has been taking up a lot of CPU which suggests that the scripts not are in good order.
What can I do?
Forum: Fixing WordPress
In reply to: Only allowed few active pluginsTried the plugin, it did install and activate, but didn’t seem to work :-/
Is there anywhere that a cache of plugins is installed? I seem to be able to install and activate new plugins, but not ones which have been on the blog before.
Can I wipe the list, so I can install any plugin?
Thanks
ChristopherForum: Fixing WordPress
In reply to: Only allowed few active pluginsbasically can install new plugins, but can’t activate… err big problem!
Forum: Fixing WordPress
In reply to: Only allowed few active pluginsjust added AddThis plugin to the server and disabled Hello Dolly but admin console went down. Had to remove the plugin files from the server… back up now…
This is really weird, any suggestions?
Forum: Fixing WordPress
In reply to: Only allowed few active pluginsWell, had a few issues, site moved server along with 2 others running WP. Those sites came back up, and raw HTML/PHP etc. files on Technology Bloggers did too, however WP was completely down, all pages visible and admin console.
Reloaded wp-admin and wp-includes but no luck
Started removing plugins, and after removing a few, got it to work again.Hello Dolly was disabled but still installed, I can enable and disable that at will.
If I add a plugin back to the server via FTP (or via WP), it is fine, click enable and entire admin console goes down.
If I add a plugin back to the server via FTP (or via WP), it is fine, disable an existing plugin, click enable and it is fine. I can then enable the existing plugin again.Weird hu? Why is it doing that?
Do you understand, I think what I have written makes sense?
Forum: Fixing WordPress
In reply to: WordPress down!Okay update, moving to a new thread, as the nature of the problem has changed.
See: http://wordpress.org/support/topic/only-allowed-few-active-plugins?replies=1#post-2838072
Forum: Fixing WordPress
In reply to: WordPress down!When I try to install a new plugin also and the entire wp-admin console goes down when hit activate…
Forum: Fixing WordPress
In reply to: WordPress down!Okay, removed loads of plugins and it is working again okay, until I try to enable any plugin
Put them back on the server, say Akismet for e.g. click Activate takes me to http://www.technologybloggers.org/wp-admin/plugins.php?activate=true&plugin_status=all&paged=1&s= and entire wp-admin goes down… site still up though/
Forum: Fixing WordPress
In reply to: WordPress down!how would I do that, back up wp-content and then remove all plugins?
Forum: Fixing WordPress
In reply to: WordPress down!yeah
they say everything is working
does however say ‘misconfiguration error’