Tracking the sharing of articles/blogs

I want to know how to track the names of the users who share the blogs or articles or any content on the site.

scenario1: if i have a report pdf uploaded to the site. and allow users to share the link of the pdf for download. now i want to know the names of the users who shared the link

scenario:2 : 

on the list of users, if i click on the user name i must know list of the articles/blogs/files shared by that particular user.

Is there any modules available for these kind of tracking?

Thanks in advance for helping.

FAPI textfield with autocomplete NID

Hi everyone,
in my custom module I have a textfield with autocomplete. I search within node titles to get the nid. It works but when clicking on the row i want to select it, the text of the result switches to the nid value.

I want that the behavior were like entityreference field that it shows the text and nid between squares but saving only the nid value.
i.e. text on node title [444]

I need to save the nid but i want to show the title in the texfield.

I found the #value_callback but i cannot understand how to use it.

thanks guys

Upgrade from 7.14 to 7.67

I am working on a site that has not been updated since Drupal 7.14.  There are also about 75 add on modules which have not been updated.  What is the most efficient way to bring the site up to the current level 7.67?

Thanks,

Dave

Drupal Quiz high scores

I am using Drupal 7 quiz module.

I need to display the high scores table in the quiz node.

I want to sort results with scores and if the scores is equal then the one who finished test quicker will be in the lead.

Do I have to write some custom logic to display high scores or the module has it?

Theme randomly uses system module templates instead of my own

Hello all!

I have an issue that I don't quite understand.

Sometimes, very very randomly (like maybe once or twice a week), the theme from my production site switch by itself from my theme to the templates used by the system module. But not all of the templates : only the html.tpl.php and the page.tpl.php. The node.tpl.pph for example would be the one from my theme. And it only takes a cache flush to make it back to normal.

Did anyone have this problem at some point? Does someone know when the system module template files are used?

Thanks!

Issue while creating patch for drupal.org contrib modules

Hi,

I am creating patches for drupal.org contributed modules.

I am using this git command for creating patch file

git diff module_file_name.module > patch_file_name.patch

Its creating patch file successfully, but its creating patch file with full path in my patch file like below:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x