(PHP) Drupal 6 - Custom \"Who\'s Online\" block with private message links. -...
Customises the \"who\'s online\" block to show what role type the user has + the links now point to private message instead of profiles.
View Article(PHP) Drupal 6 - Show default "Who's online" block from a template. - daipratt
Embed the "Who's online" block from within a template file.
View Article(Other) Close the mysql port (3306) from external access. - daipratt
The command you need to close the mysql port 3306 from external access. You need to use the 2 lines in the snippet below once you have connected to the server via SSH.
View Article(MySQL) MySQL UNIX timestamp to readable date - daipratt
Convert a Drupal time stamp field into a readable format. The Drupal time stamp field is in the UNIX format.
View Article(PHP) PHP regex - Remove special characters from a string - daipratt
This will remove all non-ascii characters / special characters from a string.
View Article(Other) 301 redirect one domain to another using .htaccess - daipratt
This will redirect all pages from one domain, to the homepage of another domain.
View Article(Other) Install PECL uploadprogress via SSH - daipratt
This script can be used to install the PECL upload progress PHP extension. You'll know this extension from the Drupal status report page which encourages you to install it.
View Article(MySQL) Increase the max_allowed_packet in MySQL - daipratt
If you every get hit by ERROR 1153 (08S01): Got a packet bigger than 'max_allowed_packet' bytes, then this might help. You also need to make sure that the user that you log in with has SUPER privileges...
View Article(Bash) Install Apache, Mysql & PHP via the command line in Ubuntu - daipratt
Run through this lot line by line and you should be good. Make sure you select Apache when you are installing PHPMyAdmin. If you mess up installing PHPMyAdmin, use the following command to...
View Article(Other) .htaccess - allow access only from certain IP's and IP ranges - daipratt
See here for Amazon EC2 range https://forums.aws.amazon.com/ann.jspa?annID=877
View Article
More Pages to Explore .....