Latest Articles

Encrypt Any Password in Joomla Using MD5


We already have a tutorial on changing the password of a Joomla user to "admin". That tutorial allows you to reset any user password to "admin".
However, one of our students wanted to know how to create safer passwords. How could they create safer passwords that were also encrypted in the database. Here's how to do it ...

Step 1. Login to phpMyAdmin

img
On your local machine you can go to localhost/xampp or whatever is appropriate for your setup. Here's what it looks like on my computer.
Here's how the link will appear in the database section of your hosting control panel if you have CPanel:img

Step 2. Open the jos_users table

img
Find your database and look for the jos_users table on the left and click on it.
Click the Edit link next to the entry for the user you want to change. In this case, admin.

Step 3. Delete the existing password

img
On the next screen find the password field and delete the existing password.
imgType in a new password in plain language. It can be anything you want.

Step 4. From the Function Column choose the Function MD5

imgChoose MD5 from the Function field dropdown.

Step 5. Click Go

imgClick Go at the bottom of the section.
imgThe word "spaghetti" has now been magically transformed into a long, safe, encrypted string of letters and numbers.

Step 6. Login to your Joomla admin with your new password

img
We have successfully changed the password to "spaghetti".
That's how can you avoid using a password as basic as "admin". You just have to find jos_user in phpMyAdmin and use MD5 to do the translation for you. Then you can use any word you want.
read more

Joomla Language Override Tutorial


This tutorial will show how to modify and/or translate Joomla's language strings.
One of our students was wondering how to make the Terms of Service text into an active link when people registered on his site. So we created this tutorial for him and will use this Terms of Service example to show you how language overrides work in Joomla 1.7.
This tutorial was created in Joomla 1.7 but the same will apply for Joomla 2.5 (which has not been released at the time of this writing).

Get a context

img
Get a context of what you're translating so that you know where to look. In this example, we will be modifying the text "Terms of Service" and making it linkable. We can make an educated guess that it's either in a Registration language file or a Profile language file. In order to enable the "Terms of Service" to appear in the Front-end, we had to use the "User - Profile" plugin in plugin Manager so that's another hint of where it's likely located.

Find the Translatable String

img
Once you have a good context, the next step is to find the translatable string. Use your host's file manager (e.g. cPanel's or Plesk's File Manager) and the go to either your administrator/language/en-GB folder or your language/en-GB folder and open up the .ini file that you assume might hold your language string. If you make a wrong guess, don't worry, keep making educated guesses and you'll find it eventually.
For the "Terms of Service" text, I'm guessing that I'll find it in the en-GB.plg_user_profile.ini
  • Note 1: If you don't have a reliable file manager then you can use an FTP program to download the file to your computer and edit it with a text editor and then re-upload it.
  • Note 2: Also, if you have any special characters (e.g. such as those used in Cyrillic languages) then it would be best to download the file and use a text editor such as notepad++ that can save the files as UTF-8 without BOM to ensure that the special characters are translated properly.
  • Note 3: If your Joomla site is set to another language rather than Great Britain English (which is the default) then navigate to that language folder instead rather than the en-GB folder.
img
Select utf-8 and click edit. If utf-8 without BOM is given as an option select it.

img
Search for your string by holding ctrl (for Macs hold command) and then clicking f (f stands for find). Then enter your string and search for it within the file. If the string is especially long, then only search for a small part of it to make it easier to find an exact match.
In our example we will search for "Terms of Service".
Success! Next we need to create a language override.

Create an Override

img
We are going to create a language override so that when we upgrade Joomla in the future, we won't lose our translations. Copy the whole line.

img
Now navigate to the language/overrides folder within the language folder (rather than the en-GB folder as we did previously). Look for en-GB.override.ini and edit it.
Note: If you're editing a text that appear within the administrator then you'd use administrator/language/overrides instead.

imgPaste within the first empty line after the comments.

Modify the String Between the Double Quotes

imgFinally we can modify the string between the double quotes. In our case we're making it linkable.
Note if your translation needs to use Double Quotes: In the image above I've circled "_QQ_" (it has double quotes around it as well) which is used to represent double quotes. Since the language string is within double quotes if we were to add another set of double quotes it wouldn't be processed correctly, so instead we can use "_QQ_" or the HTML code " to represent double quotes to make sure Joomla knows we haven't reached the end of the language string. Don't use escaped double quotes (i.e. ") as that will break in PHP 5.2.x

Success!

img
Last step is to check your front-end to make sure everything worked as it should.
read more

OSDownloads - Joomla Downloads Plus MailChimp


OSDownloads is the Joomla downloads extensions designed to allow you to collect emails in exchange for the download.
This is useful if you want to notify users about updates or changes. This also means that you don't have to force someone to register simply to get the download. OSDownloads is designed to work with MailChimp.com.
Here's how to install and configure OSDownloads:

Step 1. Download

img
You can download the component by clicking here.

Step 2. Install

img
Go to Extensions > Extension Manager. Browse for the file you downloaded then click Upload & Install.

Step 3. Access the component

imgGo to Components > OSDownloads to access the controls for the component.

Step 4. Add categories for your downloads

img
You can arrive at this page by going to Components > OSDownloads > Categories Or if you are already in the control panel for OSDownloads click the Categories tab.
Click New to start adding Categories.
img
You will find the entry form to be exactly like the one used for content categories. Give your category a title and fill in the rest of the information required.
The categories you enter here will not be a part of the content categories, they only apply to your downloads.
Save each category you create.

Step 5. Add the files to your download archive

imgClick the Files tab, then the New button to start adding files.
img
Name - the name of your download
Alias - will be automatically created from the title unless you fill in a custom alias.
Upload the File - Browse your local computer to find the file and add it here.
Category - The categories you entered will be in this drop down box. Choose the correct one.
Description 1 - Appears in the short description in a list of downloads and above the email field on the page (sample below)
Description 2 - Appears below the email field on the page (sample below)
Require email - Check to require an email address before you allow the download
Require agreement - If you require a software agreement check this box and you will see required box on the page.
Download text - The text that appears on the download button
Download color - the color of the download button
Documentation link - Link to help documentation. You can use an internal link or if it's an external page use http:// when you create it.
Demo link - link to a working demo if applicable. Can be internal or external link.
Support link - link to help desk or forum
Published - Yes or No

Sample: The download list

img
If you make link to the list type menu, Description 1 shows up as the introduction. Description 2 and all the rest of your information will be available from the Read more link.

Sample: the download page

imgHere is what the page will look like on your site. If you leave Documentation, Demo and Support Links blank, you will not have the buttons at the top that you see here. This shows you what is included in a full display when you check all the boxes and fill in all the link fields.

Step 6. Create a link to the download page by creating a menu item.

imgGo to Menus > Main Menu > Add New Menu Item
You don't need to put it on the main menu. You could create a menu just for downloads or place it on any other menu you've created. The process will be the same.
img
Click Select to choose a Menu Item Type
img
You now have a new menu item type under OS Downloads. You can create a link to a list of all downloads or to a single download file.
Download list will be menu link to a page to every download available in a single category.
Download file will be a menu link to a single downloadable item.
For this tutorial we're going to choose a single file. The process is the same for a list view of the downloads. You might want to create a menu item for All Downloads and then have the individual files as sub menu items. The process is identical to creating categories and articles, except in this case, the articles are a unique type for downloads.
img
You'll be returned to the menu manager, at the right you will see the download options. Choose the correct file from the drop down menu. (Or correct category if you are creating a download list) Finish filling in any other fields you want and save your work.
img
At this point you will have added a menu item to your menu, that is linked to the page for downloading the file.

Step 7. Check to see who downloaded

img
Go to Components > OSDownload > Email from the main menu and you will see the list of emails from visitors that have downloaded your files under the Emails tab.

Step 8. Add these to your email list in MailChimp

imgReturn to the Files tab and click on the Options button.
img Choose the MailChimp tag and select Yes for Connect to mailchimp.Enter the MailChimp information required
Click Save or Save and Close at the upper right hand corner of the screen.

Step 9. Adjust the labels and language

imgYou can change the labels on the the buttons, the link to the terms, and other language specific to this component by going to the Languages tab when you are in the dashboard for OS Downloads.

Step 10. Create a Thank You page

imgClick the options button at the top of the File or Category tab.

img











read more

Content Managment System - a New Category on WDL


Hello, guys!
We are glad to announce the launch of a new category at Web Design Library. New content managment system (CMS) category includes three subcategories: Drupal, Wordpres and Joomla. These three are open source, written in PHP and offer thousands of plugins. Now you can find quality and useful tutorials by this topic on our site.
CMS is a software system that allows users with a small knowledge base of web programming or markup languages to create and manage website content with a relative ease. CMS will be of a great use for your future work giving you a chance to collect in a whole unity all the informative resources and to present them in an easy-to-use manner thus simplifying your working procedure and the fulfillment of the laborious part of the task. The CMS category will help you to find the information you are looking for in the shortest period, making the most of your time and simultaneously being the best tool for a productive cooperation. The CMS section will become your constant and irreplaceable assistant in all the spheres of your work.

img

In our new category you will find some advices about content management systems, new hacks, plugins and so on - everything that you will need to work with Wordpress, Joomla and Drupal. We will help you to choose CMS for your own blog or business site.
It is a difficult question what CMS to choose. Each of them have its advantages and disadvantages. We can give you some statistical data:
img

WordPress is Easy

WordPress is an open source blog tool and publishing platform with a database of thousands of plugins and a web template system that will be of a great help in the working procedure, making it a productive and a successful one.
There are many reasons why to choose WP: easy to setup, low learning curve, +12,000 plugins, big developer community, support and training.
WordPress is an awesome tool for managing your different kinds of sites as a CMS. Don't believe? Here you go!
Icondock
img
Typographica
img
Ugsmag
img
TeplateMonster.com want to make your blogging life easy! It provides quality WordPress Themes. WP theme is a skin (theme or template) for one of the WordPress.
Sources Available: .PSD;.PHP;This theme is widgetized
Author: Mercury
img
Sources Available: .PSD;.PHP;This theme is widgetized
Author: Hugo
img
Sources Available: .PSD;.PHP;This theme is widgetized
Author: Elza
img

Joomla is Cool

Joomla- is an easy for usage, free and open source content management system (CMS) for publishing content on the World Wide Web that will be able to simplify your working process, using object-oriented programming techniques and software design patterns
The benefits of Joomla are:relatively easy-to-use, +6,000 extensions, fairly scalable, strong tech community. Joomla adds greater flexibility, extensibility and scalability.
Below is a list of websites which use Joomla as a CMS
Midwife in Mannheim
img
Compagnie Antares
img
Duirwaigh Studios
img
Joomla Themes are a real gift from Template Monster for anyone who values ease of usage. And these Joomla Themes are made for installation onto the Joomla CMS platform.
Author: Delta
Sources Available: .PSD;.PHP
img
Author: Astra
Sources Available: .PSD;.PHP
img
Author: MariArti
Sources Available: .PSD;.PHP
img

Drupal: A Developers dream!

The Drupal category will be of a huge help during your working process, being a free and open-source content management system and content management framework and, in the same time, being easy for use, including user account registration and maintenanc
Drupal is a most technical CMS. The advantages of Drupal are: powerful, +7,000 modules, developers den, best performance.
En examples of websites on Drupal:

img

img
The Drupal templates presented by TemplateMonster.com are a perfect solution for those of you seeking beautiful design and brilliant functionality.
Author: Astra
Sources Available: .PSD;.PHP
img
Author: Delta
Sources Available: .PSD;.PHP
img
Author: Astra
Sources Available:.SWF; .PSD;.FLA;.PHP
img
read more
Blogger Template by Clairvo