Sunday, January 2, 2011

Follow Me Social Media Wordpress Plugin


The Follow Me widget allows you to display links to all your social media profiles in one, easy-to-access button or window.

Download the Follow Me plugin here.

How to Install:

  1. Upload the “Follow Me” folder with all contained files to your wp-content/plugins directory.
  2. Go to the Plug-ins page in the Wordpress Dashboard and click “Activate” on the Follow-Me plugin.
  3. Go to “Settings > Follow Me Options ” in the Dashboard and add links to your social media profiles (make sure to use ‘http://’ before ‘www’ or the link will not work)
  4. Select the appropriate size and design for the button: default(small), medium, large, or box.
  5. Finally, go to “Design > Widgets” in the Dashboard and add the Follow me widget to the sidebar.
** If you do not have a widget supported theme then simply drop in
[open php tag] FollowMeSocialMedia() [close php tag] anywhere you want the widget to show up.
.

Thursday, December 16, 2010

Wordpress: News Icon cannot appear in thumbnail size

After coming back from my long leave, I found all my icon news thumbnails not working as usual, only default icon for news appear for each of them...

Today I found the reason why this happen... its happen because the icon picture size that upload in media library smaller than image size in setting image. It suppose 170 x 56 px.... and the thumbnail function will reduce the image to thumnail size 162 x 56px...

Now all news icon appear again!... hehehe. :)

.

SSO - Tomcat Server

Important!

** After do any changes in SSO code file(deployerConfigContext.xml)
we should restart Tomcat service in CAS Server...

.

Tuesday, December 7, 2010

FreeBSD: How to check file/folder size in console

Use this command

## du -h (namefile/folder)

.

Wordpress- Nextgen Gallery Problem

Issue:

In Nextgen Gallery Plugins..

This error comes up when we want to upload pictures in gallery..
Upload failed! Failed to write file to disk

Upload Media also got Errors
Error saving media attachment.

I do:
Set all permission to all related folders to 777, still get the same errors.
Then I search the same problem in internet, and found this:
Have you exceeded your disk space quota?
http://bytes.com/topic/php/answers/820628-wordpress-image-upload-failed-write-disk-urgent

Then I inform server guy to check on the server space for this issue..


Solution:
Check /var/log/snmpd.log for www server.
Clear all log in the log file. Thats all.

Try back to upload the picture in gallery. See.. it works!
Thanks to all colleagues for helping me overcome this issue.

.

Sunday, November 14, 2010

How to Extract 7-Zip Files?

  1. Download and install 7Zip of course
  2. First of all download all 7zip compress files into the same folder.
  3. Make sure all file names match. in this case WA.7z.001 , WA.7z.002 , WA.7z.003 ...
  4. Right click the first file (WA.7z.001) and if you have the latest version you will see the 7 Zip menu(Pic 2), enter that menu
  5. Click "Extract files" option. A new window will pop up and you will choose where to extract the file.
  6. Then another window will pop up and ask you for the password(If require password).
  7. enter the password as its shown on the pic, which is http://snesorama.us in most cases.. Then sit back and wait for the extracting process to finish..
  8. When all ends, you are ready with your unpack file. Good Luck.

    .

Tuesday, August 31, 2010

Using Tar Command to backup system files in Unix Based Server

# tar -cjf file_aug10.tar.bz2 filename
In the above example command the system would create a tar.bz2 file named home.tar.bz2 in the directory you currently are in of the home directory.

To extract the compress file:

# tar -xjvf file_aug10.tar.bz2