1,218 reputation
1310
bio website
location
age
visits member for 2 years, 2 months
seen Oct 31 '13 at 10:55

Feb
9
awarded  Yearling
Oct
31
comment How to do a wp_query using “BETWEEN” with two meta_values?
@kaiser Thanks, but as the data type is casted to DATE, I am not sure if WP will format it properly while constructing the meta_query, so it is safer to directly use the MySQL date format in this case.
Oct
31
answered Shortcode inserts paragraphs before and after executing shortcode
Oct
30
answered How to do a wp_query using “BETWEEN” with two meta_values?
Jun
19
comment How to programatically change username (user_login)?
@pogoking One thing you might want to consider is that user or author permalinks might be broken after enabling users to change their usernames if pretty permalinks are enabled, so you might need to make measures to compensate for that.
Jun
7
answered How to create a theme specific translation of buddypress?
Feb
25
answered Conditional based on the User Role of the Current Profile the user is viewing - BuddyPress
Feb
24
comment How to carry over existing wp users to a new buddypress installation
When you copy the code to the new file you create, make sure there is no spaces before the opening php tag <?php. Any character or single space or new line between the opening <?php and the top of the page might caused that error, you need to put the <?php at the very beginning of the page.
Feb
21
comment How to carry over existing wp users to a new buddypress installation
How exactly it broke the website? What messages/debug information it shows you? This code simply will get all your WP users, loop through them to update each last_activity field to the current date, and I have tested it with no issues. You also can hook add_users_to_bp() function above to init action in functions.php and visit your website once to trigger this update and after that delete the code from functions.php so it wont be triggered on each request (add_action('init', 'add_users_to_bp');).
Feb
19
awarded  Analytical
Feb
19
answered How to carry over existing wp users to a new buddypress installation
Feb
19
awarded  Informed
Feb
19
answered Adding short codes from a page's content on header and hiding the same from page's content
Feb
17
awarded  Organizer
Feb
17
comment transfer from english page to arabic page
@sarah That might not be an easy task to accomplish, the important question is where do you want that link to appear? Do you want to append it to a WP navigation menu? Or it is part of WP categories or pages list? Please edit your question posting some more details.
Feb
16
comment transfer from english page to arabic page
@sarah you mean you want that link to be automatically added to header.php file without you editing that file?
Feb
16
answered transfer from english page to arabic page
Feb
15
comment Wordpress translation loading english file
are you building a child theme of twentyeleven?
Feb
15
comment How to: get_user_meta - BuddyPress
There is nothing wrong with the code you posted, do you mean you want a dynamic way to get the user id? maybe the displayed member id?
Feb
15
answered Pulling Featured Images in to a WordPress Menu