List of users who visited a specific node

Hello all,

A view/list of users who visited a specific node (nid).

Any ideas?

Thanks

Error: Call to undefined function spyc_load() in yaml_parser_parse_string() (line 62

I did a deploy to my site and got this error when i try to run a drush command

Error: Call to undefined function spyc_load() in yaml_parser_parse_string() (line 62 

this is the part of the code where the error is

Fatal error: Cannot redeclare uc_order_views_data()

After clicking Continue @ /update.php, we receive:

Fatal error: Cannot redeclare uc_order_views_data() (previously declared in /home/user/public_html/sites/all/modules/ubercart/uc_order/views/uc_order.views.inc:13) in /home/user/public_html/sites/all/modules/contrib/ubercart/uc_order/views/uc_order.views.inc on line 708

I am no Drupal professional, so do not understand what to do in this case.

Help appreciated.

Can I validate user comments prior to their acceptance?

I have a Drupal 7 site where we encourage users to add comments about content. With a D7 site out of the box, if a user tries to submit a blank comment they will get an error message "Comment field is required". However, I have added default text to the comment box which reads 'what I have learned from this content is...'. The problem is, users can successfully submit comments with only this default text. What I would like to do is run a check on the comments field during the submission process and reject when the field is blank or contains only the default text.

Block created using views not rendering iframe added in nodes body field

I have created a block for article nodes listing(only those which have a certain taxonomy tags). However, when I am adding a iframe in the node's body field, it is not getting rendered on the listing block while it is rendering on the node full view.

Please suggest what to do.

Thanks!

Creating an API

I have created a API endpoint in drupal which validates the session and redirects to particluar page. I need to consume this API from another application. But my drupal app has MFA protected, which genertes an unique cookie for every session after successfull authentication.
So Everytime if I try to consume my API, got MFA login page as respone with http code 303 redirect. If generated unique Cookie is sent in header, I got the actual response.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x