Rolling back to previous Wordpress Versions

Here is the procedure:

  • 1) download the previous version at Wordpress release archive
  • 2) make a backup of (i) home folder (ii) wp-admin  and (iii) wp-includes (*)
  • 3) replace, using FTP, the current version of the mentioned folders and files with the version that you just downloaded (*)
  • 4) long in WP and update the DB as requested
  • 5) have fun!

(*) Note: do not touch the wp-content folder

Bookmark and Share

Posted in: Quick Fix, Wordpress

Tags: , ,

Landing Page for Facebook

Interesting way for achieving 2 goals:

  • Suggest to your visitors to like your Facebook page
  • Give them a reward it they do that

Bookmark and Share

Posted in: Facebook, Wordpress

Tags: , ,

Tuning SEO and Jetpack for posting in your Facebook page

Using Jetpack in Wordpress is no pain for most of the procedure. Just need to be aware that:

  • The facebook plug-in creates some conflicts with Jetpack
  • This is a useful page for debugging the API of Facebook
  • All In One SEO can be used for adding the missing information if properly configured

For more information you can refer to this discussion in the Jetpack support page

Bookmark and Share

Posted in: Facebook, Wordpress

Tags: , , ,

Sourceforge and MediaWiki internal error. Exception caught inside exception handler.

Found a quick fix for the Google Analytics integration in mediawiki. At the following link there is the bug report:

http://www.mediawiki.org/wiki/Extension:Google_Analytics_Integration#Bugs

the solution was removing an $ at line 32 of the googleAnalytics.php file

and now the IE wiki is perfectly functional!

Bookmark and Share

Posted in: MediaWiki, Quick Fix

Tags: , ,

Remove Comments in Wordpress pages

There is a secret button for do this!

  1. click on pages
  2. chose a page and click quick edit
  3. the checkbook is on the right side
Bookmark and Share

Posted in: Quick Fix, Wordpress

Tags: , , ,

Backup Wordpress DB for Lazy People

This plug-in should help:

WP DB Plug-in

Installation:

  1. Extract the wp-db-backup/ folder file to /wp-content/plugins/
  2. Activate the plugin at your blog’s Admin -> Plugins screen
  3. The plugin will attempt to create a directory /wp-content/backup-*/ inside your WordPress directory.
  4. You may need to make /wp-content writable (at least temporarily) for it to create this directory. For example: $ cd /wordpress/ $ chgrp www-data wp-content (where “www-data” is the group your FTP client uses) $ chmod g+w wp-content
Bookmark and Share

Posted in: Wordpress

Tags: , ,

Script for “Resetting” your Screen in MAC

If for some reason your application always open outside your screen you can run the following script using appleScript Application:

-- Example list of processes to ignore: {"xGestures"} or {"xGestures", "OtherApp", ...}
property processesToIgnore : {}

-- Get the size of the Display(s), only useful if there is one display
-- otherwise it will grab the total size of both displays
tell application "Finder"
  set _b to bounds of window of desktop
  set screen_width to item 3 of _b
  set screen_height to item 4 of _b
end tell

tell application "System Events"
  set allProcesses to application processes
  set _results to ""
  repeat with i from 1 to count allProcesses
    set doIt to 1
    repeat with z from 1 to count processesToIgnore
      if process i = process (item z of processesToIgnore) then
        set doIt to 0
      end if
    end repeat

    if doIt = 1 then
      tell process i
        repeat with x from 1 to (count windows)
          set winPos to position of window x
          set _x to item 1 of winPos
          set _y to item 2 of winPos

          if (_x < 0 or _y < 0 or _x > screen_width or _y > screen_height) then

            set position of window x to {0, 22}

          end if
        end repeat

      end tell
    end if
  end repeat
end tell
Bookmark and Share

Posted in: Quick Fix

Tags: , , , ,

Gantt chart from Excel

How to build a Gantt using Excel, not trivial but doable.

Gantt from Excel

Bookmark and Share

Posted in: Quick Fix

Tags: ,

phpmyadmin and ISPconfig 3

if you have problems in configuring this tools and make them working together look at the following possibilities:

  • is remote access enabled in your DB?
  • do you have this symbolic link?

ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf

Bookmark and Share

Posted in: ISPConfig, phpmyadmin

Tags: , , , ,

Website name without a DNS record

It works only in your local machine:

Edit your /etc/hosts file by adding the following entry

1.1.1.1        www.mysexydomain.com

where 1.1.1.1 is your IP address and “www.mysexydomain.com” is the name of the website

Bookmark and Share

Posted in: Quick Fix

Tags: , , ,