February 29th, 2012
marco
Feedburner is a well-known service that lets you know how many people have subscribed to your feed RSS. With this code we ensure that our default RSS feeds such as wordpress for this blog http://www.marcobruni.info/wordpress/rss/ be automatically redirected to my Feedburner http://feeds.feedburner.com/marcobruni.
Just paste these 4 lines of code in the file functions.php (Theme Functions) through the menu of wordpress Appearance-> Editor, Save the file and you're done!
1
2
3
4
5
6
7
8
9
| // Redirect RSS feeds to Feedburner
add_action('template_redirect', 'cwc_rss_redirect');
function cwc_rss_redirect() {
if ( is_feed() && !preg_match('/feedburner|feedvalidator/i', $_SERVER['HTTP_USER_AGENT'])){
header('Location: http://feeds.feedburner.com/marcobruni');
header('HTTP/1.1 302 Temporary Redirect');
}
} |
September 2nd, 2011
marco
Now wordpress is the most widely used personal publishing platform in the world, example is the platform CMS most used in the current U.S. primaries.
I will use for years for all my blogs including this and all the customers for whom I worked, and is a great tool for me, very powerful, versatile and changeable.
And’ a software Open Source then available to all for any changes, easy to use and ready-made graphic themes. That's the beauty of open source to modify the code to make it do what we want and we do not get used to the software. I put my hands on the code wordpress all my blogs because I wanted to experience its full potential.
For all these reasons hackertarget.com conducted a detailed analysis on the use of wordpress in the world that produced this interesting infographic:

Infographics on the use of WordPress in the world
The deadlines and assignments will be decided next week, but in the meantime, here is how it will be WordPress 3.2:
Read more…
December 29th, 2010
marco
Checking my blog that is made WordPress 3.0.3 I noticed that in some posts / articles there were no Internet addresses of wikipedia http:// This meant that if a reader clicks on the link was redirected to www.marcobruni.info / wordpress / address that does not exist, instead of going right on the link to wikipedia.
The “guilt” chrome that is comfortable for a shorter address that starts out on his bar eliminating http:// but this means that if a copy of the bar and paste for example in the post I'm writing I will create a broken link. To solve the problem of the link does not work, I logged into my area of Aruba, and through PhpMyAdmin (Aruba, which provides for the administration of MySQL database) I did a query to find all articles that have this problem:
SELECT * FROM `wp_posts`
WHERE `post_content` LIKE '%href="it.wikipedia.org%' AND `post_status` = 'publish'
The query sql basically look at the table of contents (table wp_posts) those whose content (the post_content field) has within the string href =”it.wikipedia.org (without notice http://) and that the articles are published (The `post_status` = ‘publish’).
Finally, through the means of adding PhpMyAdmin I modified the post http:// before it.wikipedia.org.
December 18th, 2010
marco
Yesterday I wrote an article on my blog WordPress: personalizing the quickpress Board when I realize that by publishing the direct link to not work and if any browser was trying to write in the address gave error 404 Page Not Found.
As a good programmer and systems analyst who daily fights with the software bugs, I begin to fathom google to find a solution. The only article that I find interesting is this http://wordpress.org/support/topic/permalinks-not-working-how-to-restore when it comes to issues of file htaccess and I start to get suspicious about Aruba. My htaccess file is as follows:
RewriteEngine On #created by aruba do not touch this file!
RewriteCond %{REQUEST_URI} !^/wordpress
RewriteRule ^(.*)$ wordpress/$1 [L]
Continue to inform writing a message on the forum www.wordpress-it.it and the only answer which I give is to try to change the settings for permalinks that type the address of the blog changing www.marcobruni.info / data / item name /, This is how it works but the problem remains of the old addresses of visitors that you would find a nice message address is not Horrible ... Also in the forum recommend me a list of plugins to redirect from an old structure permalinks to the new http://is.gd/iTpk6, but none of these works, and then I return to the old structure that I have currently in use with the link of the article is not always accessible.
I do not give up and open a ticket for assistance with this problem with Aruba since yesterday trying to figure it out but groping in the dark.
I continue to do tests on evidence from good debugger, and finally….UALAAA FOUND…I'VE GOT IT if the permalink article begins with the word wordpress address is not reachable, wordpress just put the word in the middle or end and everything works.
After the amazing discovery community in the world (Forum, Aruba, friendfeed etc..) my discovery and the only people I meet are friends http://friendfeed.com/lega-nerd and begin to discuss http://friendfeed.com/filter/discussions and consolidated more and more suspicious about Aruba and its automatic installation.
[UPGRADE 18/12/2010 10:35] RESOLVED
I solved it without too many complications and without touching htaccess, I forgot to put in the General Settings as site address (URL) = Http://www.marcobruni.info/wordpress , now everything works. Of course the old permalinks do not change them otherwise unattainable.
December 17th, 2010
marco
In my blog I use the plugin transposh for machine translation of the homepage, posts and pages. I was going to that side of the flags on the home page appeared the words Edit Translation I wanted to hide so I decided to put his hands directly in the php code of the plugin.
I modified the file that is transposh_widget.php / wordpress / wp-content / plugins / Transposh-translation-filter-for-wordpress / wp transposh_plugin_widget class and I changed the function transposh_widget($args) commenting on this piece of code:
// add the edit checkbox only for translators for languages marked as editable
// if ($this->transposh->is_editing_permitted()) {
// echo '<input type="checkbox" name="' . EDIT_PARAM . '" value="1" ' .
// ($this->transposh->edit_mode ? 'checked="checked"' : '') .
// ' onclick="this.form.submit();"/> Edit Translation';
//}
[UPDATE]
Speaking in the comments with the creator of the plugin Ofer Wald, I discovered that you could do it all without touching a line of code. Going into Settings-> Settings Transposh and setting in Transalation, l’opzione Who can translate ? Administrator and not only for Anonymous.
December 17th, 2010
marco
When I get ideas for new topics and post them to me for my blog just to save a draft through the area quickpress Board of wordpress.
Recently I happened by mistake instead of clicking the button Save Draft button cliccatto I shall make public an unfinished article that is only a draft. If someone was reading through my feed or directly on the blog I was a fool.
So I decided to change the area code php wordpress quickpress Board of Public to hide the button and avoid these mistakes in future.
I took the dashboard.php file that is located in the wp-admin includes and function wp_dashboard_quick_press_output() I commented out the code that added the button in this public way:
<!--<span id="publishing-action">
<input type="submit" name="publish" id="publish" accesskey="p" tabindex = "5" class="button-primary" value="<?php current_user_can('publish_posts') ? esc_attr_e('Publish') : esc_attr_e('Submit for Review'); ?>" />
<img class="waiting" src ="<?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?>" />
</span>-->
I just commented and deleted lines of code in the future so I can re-enable the Publish button. Now there is no danger of failure.
November 25th, 2009
marco
This blog is installed on’hosting Aruba and use of software WordPress.
Until a few weeks ago if you upgrade your WordPress automatically from the admin panel immediately after the domain becomes unreachable because the allowed space hosting ,do not know why, were sballati.
From some articles and posts on internet forums read that Aruba has only these problems with WordPress.
To fix everything I was forced to enter the administration panel of Aruba for my domain, and return all permits space hosting 755.
I noticed that since you can install some software like Wordpress or Joomla Panel Aruba automatic update of wordpress working properly.
What do you think?
Recent Comments