Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I can assist with installation and customisation , including themeing. If you are a charity organisation I may sometimes be able to contribute free time towards developing or improving your site ? Contact me by phone or email me.
This is a great opportunity for a high-profile ecommerce implementation. The client is a woman who crafts handmade goods and has a unique, eccentric style. She's often inspired by retro designs and has a particular affinity for 1950s Americana.
We need to create a scalable site for travel reviews in different categories, that also has community features and a video-upload/embedding feature. There will be multiple cities that will all share the same content structure and taxanomies, but will have different content that is not shared between cities.
Some of the major features (many derived from Drupal and existing modules):
- A customized design for the site (a Drupal template based on a photoshop design)
- Creation and management of user profiles in three access levels
- Posting of items with attributes such as geo-data, timestamps, categories, tags, ownership, content type
- Posted items placed on Map based on geo-data
- Posted items added to calendar feed based on timestamp
- Display of content in sections defined flexibly, possibly via inter-site feeds (i.e. in a featured posts -section, we can switch between showing the 5 latest or the 5 most viewed posts)
- Rating of items by users
- Commenting and discussing items by users
- Full changelog for admins
I've been told by several people that this part of the user.module is coded poorly, illogically, if not totally wrong.
/**
* Verify the syntax of the given name.
*/
function user_validate_name($name) {
if (!strlen($name)) return t('You must enter a username.');
if (substr($name, 0, 1) == ' ') return t('The username cannot begin with a space.');
if (substr($name, -1) == ' ') return t('The username cannot end with a space.');
if (strpos($name, ' ') !== FALSE) return t('The username cannot contain multiple spaces in a row.');
if (ereg("[^\x80-\xF7 [:alnum:]@_.-]", $name)) return t('The username contains an illegal character.');
if (preg_match('/[\x{80}-\x{A0}'. // Non-printable ISO-8859-1 + NBSP
'\x{AD}'. // Soft-hyphen
'\x{2000}-\x{200F}'. // Various space characters
'\x{2028}-\x{202F}'. // Bidirectional text overrides
'\x{205F}-\x{206F}'. // Various text hinting characters
'\x{FEFF}'. // Byte order mark
'\x{FF01}-\x{FF60}'. // Full-width latin
'\x{FFF9}-\x{FFFD}'. // Replacement characters
'\x{0}]/u', // NULL byte
$name)) {
return t('The username contains an illegal character.');
}