#1800 Skip ad calls for certain projects

v1.0.0
closed
sf-2 (994)
General
nobody
2015-08-20
2011-03-23
No

Along the same lines of [#1795] but for a list of specified projects, omit all ad calls on all their pages.

No UI needed to maintain projects. Can be in global_settings collection, and updated by hand.

Discussion

  • Kyle Adams - 2011-03-24

    sfpy:ka/1800

    To QA...

    1. $ mongo gutenberg
    2. > db.global_settings.update({}, { $set: {'no_ads_projects':['project3']}})
    3. Browse to /projects/project3
    4. Confirm the summary page, the files page, and the download page for project 3 have no ads - you'll have to view source to verify no ad JS is present. The files and summary pages would normally have ads inside the #sidebar div. The downloads page's entire content is ads so it should just be the header and footer.
    5. Browse to /projects/project1
    6. Confirm the same three pages for this project do have ad calls.
     
  • Kyle Adams - 2011-03-24
    • assigned_to: Kyle Adams
     
  • Kyle Adams - 2011-03-24

    Also verify that no 'COMSCORE is not defined' JS errors occur on any of the pages.

    • assigned_to: Kyle Adams --> John Hoffmann
     
  • John Hoffman - 2011-03-24
    • status: open --> closed
    • assigned_to: John Hoffmann --> Kyle Adams
     

Log in to post a comment.