Quantcast
Channel: Tamer Zoubi blogs
Browsing all 10 articles
Browse latest View live

Drupal 7 check if user is logged in from javascript

Drupal 7 comes with jquery cookie plugin which can be find under misc/jquery.cookie.js This plugin can be used to check if user is logged in or not directly from Jquery. We do that by checking if the...

View Article



VoIP Drupal and building SMS service using any local phone number

Last week I held a session in Drupal Balkan Summit about VoIP Drupal and building SMS service using any local phone number.In the video below you can see how to use Envaya SMS with VoIP Drupal in order...

View Article

Send SMS from VoIP Drupal

Considering you configured your VoIP Drupal with one of the providers, here is the sample code snippet that sends "Hello world" SMS:<?php$number = '+1234567890123'; //Number to send SMS to. Must be...

View Article

How to reset admin password in Drupal 7

Previously for Drupal 6 site, when you forgot or didn't know the admin password, you could easily change it via database by following query:UPDATE users SET pass = MD5('mynewpassword') WHERE uid =...

View Article

Drupal translate custom module

If you created your custom Drupal module and you wonder how to translate it in other language then you came to the right place!In few simple steps I ll show you how to export translatable strings from...

View Article


Customer Support via Twilio SMS with Zendesk v2

Recently I was challenged to integrate Twilio SMS channel via Zendesk. If you're not familiar with Zendesk, it's a helpdesk system that allows customers to create tickets by sending email which support...

View Article

Change admin password in Drupal using Drush

Today I wanted to share very handy tip, on how can I change a user's Drupal password from the command-line with Drush?Very easy using drush upwd command:drush upwd USERNAME...

View Article

Drupageddon - SA-CORE-2014-005 - Drupal 7 SQL injection exploit demo

Yesterday Drupal security team announced highly critical bug at https://www.drupal.org/SA-CORE-2014-005. Looking at the actual patch which is simply:<?php-      foreach ($data as $i => $value) {+...

View Article


Drupageddon - Updating to Drupal 7.32 is not enough, your site may already be...

Following up on the Drupageddon, I noticed something weird on one of my servers. While patching sites to Drupal 7.32, I noted that on some of the sites database.inc was already updated with todays...

View Article


"You don't have permission to access /phpMyAdmin on this server" after...

I upgraded my Mac to Mac OS X Yosemite. I had a LAMP stack installed and it worked fine.After upgrading to Yosemite, I got following problem:when trying to load phpMyAdmin at...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images