Tagged Questions
0
votes
0answers
10 views
Creating a newest comment block
So my site works like so:
An user of type 'Operator' creates new content of type 'Data' in which users of type 'Patient' are reference via a field User ID (machine name 'field_user_id') as well as ...
1
vote
1answer
17 views
What variable will let me access user profile info?
I'm using prepopulate to prepopulate a feild of a node/add/content. I'm trying to generate a URL using some PHP code that willl generate a URL like:
...
1
vote
2answers
53 views
How to show “New” if the node author is registered within 4 weeks.
I would like to print "New" if the node author is registered within 4 weeks in a field of "node View" by using custom php with Views Custom Field. I tried the code below but didn't work. Am I missing ...
1
vote
1answer
26 views
How to retrieve “profile_” only filelds?
Now I load user profile fields of a $uid by:
$thisuser = user_load(array('uid' => $uid));
profile_load_profile($thisuser);
drupal_json($thisuser);
Is there a quick way to filter only fields ...
1
vote
3answers
136 views
Limit account applicants with certain email addresses
Hi I am working on a website for a student organization of my college.
In order to prevent spams, I have been looking for ways to limit account applicants only with email addresses from the college ...