Project Page: https://www.drupal.org/sandbox/vilepickle/2114383
git clone --branch 7.x-1.x vilepickle@git.drupal.org:sandbox/vilepickle/2114383.git disqus_custom_identifier
cd disqus_custom_identifier

PAReview: http://pareview.sh/pareview/httpgitdrupalorgsandboxvilepickle2114383git

This module provides a way to have a custom Disqus identifier on nodes that have Disqus enabled. The most obvious use for this is to have the same Disqus comment thread on different websites. I searched around for modules with similar functionality and found nothing.

Comments

Anonymous’s picture

Title: Disqus Custom Identifier » [D6] Disqus Custom Identifier
PA robot’s picture

Status: Needs review » Needs work

There are some errors reported by automated review tools, did you already check them? See http://pareview.sh/pareview/httpgitdrupalorgsandboxvilepickle2114383git

We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)

Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).

I'm a robot and this is an automated message from Project Applications Scraper.

Anonymous’s picture

The module now passes the automated review tool:
http://pareview.sh/pareview/httpgitdrupalorgsandboxvilepickle2114383git

Anonymous’s picture

Status: Needs work » Needs review
auworks’s picture

Issue summary: View changes
auworks’s picture

Hi vilepickle,

I have corrected the GIT url in your application. It should be http://git.drupal.org/sandbox/vilepickle/2114383.git

Cheers,
Ash

auworks’s picture

Hi mate,

As per drupal guidelines your module should have a minimum of 120 lines of code or 5 functions before it could be reviewed.
Please refer to section 2.3 of this page https://drupal.org/node/1587704

Good luck

Cheers,
Ash

klausi’s picture

Wrong, of course we can review smaller modules, too. We just can't give the git vetted user role away on a short projects, but we can always promote it manually to a full projects and applicants can always come back to us when they have a new project for promotion.

I think I will just remove that paragraph from the review checklist, since that is by no means an application blocker.

Anonymous’s picture

Ah, interesting, I missed the part about a module being a certain length for the vetted role.

I'd still like this to be a real module since it is useful and passes standards testing.

auworks’s picture

Thanks for clearing that up klausi...

xqus’s picture

Status: Needs review » Reviewed & tested by the community

I have reviewed the module, and can't find anything wrong with it.
I think this project can be promoted to a full project.

xqus’s picture

Status: Reviewed & tested by the community » Needs work

On second thought:

Your module does not implement hook_uninstall().
You should implement hook_uninstall() to delete any variables your module creates like disqus_custom_identifier etc.

Anonymous’s picture

Issue summary: View changes
Anonymous’s picture

Status: Needs work » Needs review

I have added the uninstall hook to the module and it now removes the variables that get added.

xqus’s picture

Status: Needs review » Reviewed & tested by the community

Looks good.

Anonymous’s picture

Title: [D6] Disqus Custom Identifier » [D7] Disqus Custom Identifier
Issue summary: View changes
Status: Reviewed & tested by the community » Needs review

Module has been updated from D6 to D7 and needs re-review. It was never set to a full project even though it was RTBC...

heddn’s picture

Issue summary: View changes
heddn’s picture

Status: Needs review » Needs work

Automated Review

Best practice issues identified by pareview.sh / drupalcs / coder. There are findings at http://pareview.sh/pareview/httpgitdrupalorgsandboxvilepickle2114383git

Manual Review

Individual user account
Yes: Follows the guidelines for individual user accounts.
No duplication
(*) Maybe: Does not cause module duplication and fragmentation. Have you approached the maintainer(s) of https://www.drupal.org/project/disqus and suggested a patch to the main disqus module?
Master Branch
Yes: Follows the guidelines for master branch.
Licensing
Yes: Follows the licensing requirements
3rd party code
Yes: Follows the guidelines for 3rd party code.
README.txt/README.md
Yes: Follows the guidelines for in-project documentation and the README Template. However, the documentation is a little dated for the D7 branch as it still mentions CCK fields. Please updated the D7 branch's README.
Coding style & Drupal API usage
  1. (+) Why doesn't this module hook_form_alter the previous disqus admin settings form (disqus_admin_settings)? No need to create a new menu callbacks.
  2. (*) I receive a wall of warnings/errors when I visit the admin settings page.
    Notice: Undefined index: remove_normal_disqus in disqus_custom_identifier_admin_settings() (line 37 of sites/all/modules/disqus_custom_identifier/disqus_custom_identifier.admin.inc).
    Notice: Undefined index: blog in disqus_custom_identifier_admin_settings() (line 47 of sites/all/modules/disqus_custom_identifier/disqus_custom_identifier.admin.inc).
    Notice: Undefined index: blog in disqus_custom_identifier_admin_settings() (line 53 of sites/all/modules/disqus_custom_identifier/disqus_custom_identifier.admin.inc).
    Notice: Undefined index: poll in disqus_custom_identifier_admin_settings() (line 47 of sites/all/modules/disqus_custom_identifier/disqus_custom_identifier.admin.inc).
    Notice: Undefined index: poll in disqus_custom_identifier_admin_settings() (line 53 of sites/all/modules/disqus_custom_identifier/disqus_custom_identifier.admin.inc).
    Notice: Undefined index: forum in disqus_custom_identifier_admin_settings() (line 47 of sites/all/modules/disqus_custom_identifier/disqus_custom_identifier.admin.inc).
    Notice: Undefined index: forum in disqus_custom_identifier_admin_settings() (line 53 of sites/all/modules/disqus_custom_identifier/disqus_custom_identifier.admin.inc).
    Notice: Undefined index: panel in disqus_custom_identifier_admin_settings() (line 47 of sites/all/modules/disqus_custom_identifier/disqus_custom_identifier.admin.inc).
    Notice: Undefined index: panel in disqus_custom_identifier_admin_settings() (line 53 of sites/all/modules/disqus_custom_identifier/disqus_custom_identifier.admin.inc).
    Notice: Undefined index: article in disqus_custom_identifier_admin_settings() (line 47 of sites/all/modules/disqus_custom_identifier/disqus_custom_identifier.admin.inc).
    Notice: Undefined index: article in disqus_custom_identifier_admin_settings() (line 53 of sites/all/modules/disqus_custom_identifier/disqus_custom_identifier.admin.inc).
    Notice: Undefined index: book in disqus_custom_identifier_admin_settings() (line 47 of sites/all/modules/disqus_custom_identifier/disqus_custom_identifier.admin.inc).
    Notice: Undefined index: book in disqus_custom_identifier_admin_settings() (line 53 of sites/all/modules/disqus_custom_identifier/disqus_custom_identifier.admin.inc).
    Notice: Undefined index: page in disqus_custom_identifier_admin_settings() (line 47 of sites/all/modules/disqus_custom_identifier/disqus_custom_identifier.admin.inc).
    Notice: Undefined index: page in disqus_custom_identifier_admin_settings() (line 53 of sites/all/modules/disqus_custom_identifier/disqus_custom_identifier.admin.inc).
    Notice: Undefined index: webform in disqus_custom_identifier_admin_settings() (line 47 of sites/all/modules/disqus_custom_identifier/disqus_custom_identifier.admin.inc).
    Notice: Undefined index: webform in disqus_custom_identifier_admin_settings() (line 53 of sites/all/modules/disqus_custom_identifier/disqus_custom_identifier.admin.inc).
    
  3. (*) disqus_custom_identifier.info: Duplicate Key in Section (at line 6)

The starred items (*) are fairly big issues and warrant going back to Needs Work. Items marked with a plus sign (+) are important and should be addressed before a stable project release. The rest of the comments in the code walkthrough are recommendations.

If added, please don't remove the security tag, we keep that for statistics and to show examples of security problems.

heddn’s picture

Anonymous’s picture

All issues have been addressed.

As for "No Duplication", this functionality is niche enough for Disqus that it probably shouldn't be in the main Disqus module. As Disqus is meant to be standalone and this use case is for sharing comments between sites, it is a good candidate for a separate module.

Anonymous’s picture

Issue summary: View changes
Status: Needs work » Needs review
Anonymous’s picture

Issue summary: View changes
PA robot’s picture

Status: Needs review » Needs work

Git clone command for the sandbox is missing in the issue summary, please add it.

I'm a robot and this is an automated message from Project Applications Scraper.

Anonymous’s picture

Issue summary: View changes
Anonymous’s picture

Status: Needs work » Needs review
heddn’s picture

Status: Needs review » Needs work
Duplication
This sounds like a feature that should live in the existing disqus project. Module duplication and fragmentation is a huge problem on drupal.org and we prefer collaboration over competition. Please open an issue in the disqus issue queue to discuss what you need. You should also get in contact with the maintainer(s) to offer your help to move the project forward. If you cannot reach the maintainer(s) please follow the abandoned project process.

If that fails for whatever reason please get back to us and set this back to "needs review".

Anonymous’s picture

I don't agree that it belongs in the existing Disqus project for the reason I stated. Oh well, I'll continue using the module on my own!

Anonymous’s picture

Status: Needs work » Closed (won't fix)
heddn’s picture

If the maintainers of disqus module feel similarly, then there's no reason this can't be a separate module. But let's let them help us make that decision. However, if you wish to withdraw this request, that is your option.

adammalone’s picture

heddn’s picture

Cross-posting. Based on #1175668-38: Add an option to override disqus_identifier, this functionality should be placed in the parent module.