CVS edit link for Yaremchuk

I have 3 years experience in site development on Drupal.
During my work I wrote a few useful and interesting modules that want to share with other developers.

First of all I would like to commit a module, that provide the possibility to check ICQ status of different ICQ numbers that are included in pages and block content. You can find this module in work, for example, on http://ohrsys.com.ua/node/444

In addition I have several solutions of using GMap in Drupal, for example,
http://vailchamber.org/business_directory

I have an experience of using several themes in public part of the site. For example,
on http://theparentshandbook.com the county and theme switcher was implemented in the template of the site.

In addition I have extensive experience working with Ubercart module and its customization and extension. See for example, http://hanuman.ru and https://www.petes.org/store.html (store.html is alias).

You can ask me any questions by e-mail: vaso@loreto.ru, by ICQ 248830218 or by Skype: vasilyyaremchuk

CommentFileSizeAuthor
#1 icqfilter.zip3.95 KBYaremchuk
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Yaremchuk’s picture

Status: Postponed (maintainer needs more info) » Needs review
FileSize
3.95 KB

This module add an additional filter into Input formats section.
If this filter is anable in some input format,
you can include in your nodes and blocks ICQ numbers and
module will add the picture that displays the status of ICQ account.

If you want to include ICQ number with online status, please write
{icq}XXXXXX{/icq} in node or block body. XXXXXX is your ICQ number.

Status ICQ account is checked every 20 seconds,
so users will see change in status, even without refreshing the page.

apaderno’s picture

Issue tags: +Module review
apaderno’s picture

Status: Needs review » Needs work
  1. function icqfilter_menu() {
      $items = array();
    
      $items['icq'] = array(
        'page callback' => 'icq_status',
    	'page arguments' => array(1),
        'access arguments' => array('access content'),
        'type' => MENU_CALLBACK,
      );
    
      return $items;
    }
    

    The menu callback declaration is not correct.

  2.        case 'process':
    			$parts_text = explode("{icq}", $text);
    			$return_text = $parts_text[0];
    			for($i = 1; $i < count($parts_text); $i++){
    				$account = explode("{/icq}", $parts_text[$i], 2);
    				$return_text .= icq_test_status(trim($account[0])).$account[1];
    			}
              return $return_text;
    

    Why isn't the code simply using a regular expression to find the text to replace?

  3. See coding standards to understand how the code should be written; in particular see the indentation.
apaderno’s picture

Status: Needs work » Closed (won't fix)

There have not been replies in the last week. I am marking this application as won't fix.