Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

suspend page using (i)frame to include original site??

Discussion in 'General Discussion' started by simonpearce, Oct 22, 2009.

  1. simonpearce

    simonpearce Well-Known Member

    Joined:
    Jun 20, 2003
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    156
    Hi,

    Does anyone know if it's possible to have a suspend page that uses a frame/iframe to show a suspend message at the top and then the rest of the site below? Rather than just doing a redirect?

    Cheers

    Simon
     
  2. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,554
    Likes Received:
    9
    Trophy Points:
    168
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Would it be the suspended site that is desired to show in an iframe?

    If the site is still accessible or usable, such as in an iframe, this may negate the usefulness of having the account suspended. Is there a specific need to have an account suspended but still allow access to the site?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. simonpearce

    simonpearce Well-Known Member

    Joined:
    Jun 20, 2003
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    156
    Hi Donald,

    We're bulk moving a large number of sites from dead servers taken over from another company and need to 'mop up' those left over that haven't contacted us.

    We were going to suspend all remaining accounts and put up a message in the suspended page file saying 'get in touch' - but it would be niced to use a frame and keep the original site.
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I'm not sure that's possible as when you suspend the account, as you know it creates a redirect which bypasses the suspended account. In WHM there is a new Web Template Editor you can use to manage pages for a few things like Suspended, Account moves and so on. That's listed under the Account Functions section of WHM's left menu (cPanel 11.25).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,554
    Likes Received:
    9
    Trophy Points:
    168
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    I would try implementing a modified suspension page via the Web Template Editor; this should make it easier to convey a customized message to suspended account holders.

    If more immediate attention is needed, I would also consider using the e-mail function in WHM to contact users (assuming the users have a contact e-mail address defined in cPanel, as seen via List Accounts in WHM):
    WHM: Main >> Account Functions >> Email all Users

    Related documentation:
    EmailUsers < AllDocumentation/WHMDocs < TWiki
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. maderite

    maderite Registered

    Joined:
    Nov 4, 2009
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    actually you should be able to just use a htacess redirect on it nad hold frame that will keep all navigation inside the frame.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice