DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Portal Expiry

Sort:
You are not authorized to post a reply.
Page 1 of 212 > >>





Veteran Member





    Does DNN 9.x have a UI to set a portal's ExpiryDate?

    If so, where is it?

    Joe Craig
    DNN MVP
    Patapsco Research Group





    Veteran Member





      No. And there is no column in the table for portalsettings either (which would be the most logical place imho) so I don't think it can be done.
      Tjep's digital agencyRegards,
      Tycho de Waard

      Tjep's digital agency
      We just love DNN
      https://www.tjeps.com





      Veteran Member





        Posted By Joe Craig on 23 Mar 2021 09:53 PM

        Does DNN 9.x have a UI to set a portal's ExpiryDate?

        If so, where is it?

        AFAIK, this was not implemented in the DNN9 CP.
        IMO it would be good if this would be (re)added to DNN 9.

         

         






        Veteran Member





          It is ExpiryDate in the Portals table. And it works, ruthlessly!
          Joe Craig
          DNN MVP
          Patapsco Research Group





          Veteran Member





            LOL... Thanks for the heads up.
            Another hidden feature. And agreed with Timo: adding it as a setting in the UI would be a good one to revive.

            Tjep's digital agencyRegards,
            Tycho de Waard

            Tjep's digital agency
            We just love DNN
            https://www.tjeps.com





            Veteran Member





              I added an issue for this.
              Joe Craig
              DNN MVP
              Patapsco Research Group





              New Around Here





                Greetings,

                Where can I go to Portals table?

                Best regards,
                José Nobre






                Veteran Member





                  José,

                  either use SQL Server Management Studio (if you have remote desktop access to the server).

                  Or use the "SQL Console" in the Persona Bar:

                  SELECT *
                  FROM {databaseOwner}{objectQualifier}Portals

                  should do the trick there. You should find the PortalID, and can do

                  UPDATE {databaseOwner}{objectQualifier}Portals
                  SET ExpiryDate = '2023-01-01'
                  WHERE PortalID = x

                  And - as always after changing values directly in the database - restart the application pool or clear the server cache (under "Server" in the Persona Bar).

                  Happy DNNing!
                  Michael

                   

                  Michael Tobisch
                  DNN★MVP

                  dnnWerk Austria
                  DNN Connect





                  New Around Here





                    Thank you for your response.

                    I followed you intructions and both restarted the application  and cleared the cache but site is still visible even though the contents were removed.

                    clipis_temp.PNG (1920×771) (ulusiada.pt)

                    Best regards,
                    José Nobre






                    Veteran Member





                      It seems that is what it does (showing the site, but not any module). The modules are not removed, but not rendered. When you set the expiry date back to NULL or a future date, everything will be back on the site again.

                      But: there should be a message saying that the hosting contract expired on every page. Something like "The hosting contract for Your Website expired on 1-January-2023. Please contact [email protected] for further information." This could be an issue with your skin, please try it with the standard skin (Xcillion). Or use the newest DNN version (9.11.0), maybe that feature was removed and brought back.

                      Happy DNNing!
                      Michael

                      Michael Tobisch
                      DNN★MVP

                      dnnWerk Austria
                      DNN Connect
                      You are not authorized to post a reply.
                      Page 1 of 212 > >>

                      These Forums are dedicated to the discussion of DNN Platform.

                      For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

                      1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
                      2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
                      3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
                      4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
                      5. No Flaming or Trolling.
                      6. No Profanity, Racism, or Prejudice.
                      7. Site Moderators have the final word on approving / removing a thread or post or comment.
                      8. English language posting only, please.

                      Would you like to help us?

                      Awesome! Simply post in the forums using the link below and we'll get you started.

                      Get Involved