Check if a given uid has a given permission (a query to avoid user_load)
a good D7 query for determining if a user has a specific permission via agentrickardwhat's wrong with user_access('permission', $account) ?it requires a user_load_multiple() (a user_load to get the...
View ArticleManually replace the body of an Activitystream node
Manually updated twitter feed post:http://anjaliforberpratt.com/node/1270/editafter that they should properly have the twitter name in the title, but not in the body.and by manually updated, i mean...
View ArticleRemoving double spaces in usernames directly in the SQL
A client using the Bulk invite module (by Agaric's David Valdez) had invited hundreds of users with slightly malformed usernames— two spaces between first and last name when there should only be...
View Article
More Pages to Explore .....