Calcetines Extreme

Calcetines Extreme
Take care of you using the best socks

Saturday, August 25, 2012

osCommerce Password Reset Using phpMyAdmin

Sometimes you need to get in there and reset the password for oscommerce using phpMyAdmin.
In these instances, you do not just paste in a new password but you have to properly encode it first.
Here is a really handy tool to create a password hash for you, ready to be pasted into phpMyAdmin

for the admin side, you will need to edit the admin table and paste this into the password field for the account you need to set the password for.

Check out this easy oscommerce password generator

Friday, August 24, 2012

How To Make A Custom Twitter Feed For Your Website


Twitter has become very popular and has turned into a tool that a lot of websites have used to connect with their customers and promote themselves.  A great, and now popular, way to show those who visit your website that you have an active Twitter account is to add a Twitter feed to it.  In this post I will show you how to add a custom Twitter feed to your website, providing you with code and styling tips (don’t worry… it is actually very easy).


1.- Styling The CSS

  width: 445px;
  height: 34px;
  background-image:url("your top image");
#twitter_m {
  width: 415px;
  padding: 0 15px;
  background:url("your middle image")  0 0 repeat-y;
  #twitter_container {
      height:auto !important;

      #twitter_update_list {
          width: 415px;
          padding: 0;
          overflow: hidden;
          font-family: Georgia;
          font-size: 14px;
          font-style: italic;
          color: #31353d;
          line-height: 16px;
      #twitter_update_list li {
          width: 415px;
          list-style: none;
      #twitter_update_list li a {
          color: #5f6d76;
          border-bottom: dotted 1px;
          text-decoration: none;
      #twitter_update_list li a:hover {
          color: #31353d;
          background: #d3f1f9;
#twitter_b {
  width: 445px;
  height: 29px;
  background-image:url("your bottom image");
2.- Inserting JavaScript

<script src="" type="text/javascript"></script>
<script src="" type="text/javascript"></script>

In the code above, swap the word “REPLACE” with your account name. An example would be if your account name was “,” you would just place “ChrisKirkman” in there instead of the word “REPLACE.” If you do decide to display multiple tweets, instead of the one that I suggested, then all you will have to do is change where it says “count=1” to whatever number of tweets you would like to display.  Where it links to “blogger.js,” you can have your own file on your server that you link to that has the same information with some minor tweaks, if you like.

3.-  Insert the HTML on your website

<div id="twitter_t"></div>
<div id="twitter_m">
<div id="twitter_container">
<ul id="twitter_update_list"></ul>
<div id="twitter_b">

4.- just done

Monday, August 20, 2012

Creating custom Joomla Access Level

Someone need allow to display individual items to a new customer authorization profiles not standard, the goal is to allow different customer to get access to a selected content exclusive for each customer, like have a friend at [1d34m0d4#@.


1.- create 2 joomla "Acces level"
   - custo 1, custo 2, custo 3
   - each acces level have flaged: "manager", "author", "custo x"
      (where x is the item selected)
2.- define "access groups"
  - create 3 new groups with parent item "registed"
  - "G.custo 1", "G.custo 2" and "G.custo 3"
3.- create 3 users
  - "Custo 1" with group "G.custo1"
  - "Custo 2" with group "G.custo2"
  - "Custo 3" with group "G.custo3"

just done, now to enable content to a especifi ""custo" you have to
select level acces "G.custo1" to selected item/s.