Jump to content

External Network Issues Printing


VAUHosting

Recommended Posts

Hello All!

 

im hoping someone can help me with this.

 

I have created a page on my website where i would like to add the Network Issues Block onto it so it displays the current network issues.

This is what i am wanting to grab: https://gyazo.com/22ee6698383ba84793cc930266032ffb and im wanting to place it where it states "No Issues Detected" Dummy text: https://gyazo.com/b10f355ba0c0466b3553cd8ca00758db

 

Relistically i would also like to have a plugin or something more advanced that we can update to show the clients/visitors exactly what stage we are at in the investigation i.e network updates like this: https://gyazo.com/78bf2f3b7f7a4a051482047e1d858c5b

 

The latter isn't immediately important but i would like to include it at some point.

 

My difficulty is HOW to collect the data from the network issues page and display it on the external webpage?

 

Thank you in advance!

 

Chris

Link to comment
Share on other sites

Chris,

 

I have created a page on my website where i would like to add the Network Issues Block onto it so it displays the current network issues.

This is what i am wanting to grab: https://gyazo.com/22ee6698383ba84793cc930266032ffb and im wanting to place it where it states "No Issues Detected" Dummy text: https://gyazo.com/b10f355ba0c0466b3553cd8ca00758db

Realisticallyi would also like to have a plugin or something more advanced that we can update to show the clients/visitors exactly what stage we are at in the investigation i.e network updates like this: https://gyazo.com/78bf2f3b7f7a4a051482047e1d858c5b

The latter isn't immediately important but i would like to include it at some point.

My difficulty is HOW to collect the data from the network issues page and display it on the external webpage?

how you do it will depend on exactly what you mean by external page, e.g is it a custom page within WHMCS or a page fully outside of WHMCS (e.g a Wordpress page) ?

 

if it's within WHMCS, you should be able to use an action hook to query the database and get the information you need... some code examples are shown in the threads below...

 

https://forum.whmcs.com/showthread.php?117106-Hooks-to-display-Announcements-and-Network-Issues&p=473026#post473026

https://forum.whmcs.com/showthread.php?119254-Network-Announcement-on-Client-Area

https://forum.whmcs.com/showthread.php?119498-Server-Status-Show-only-server-belonging-to-client

 

if it's totally outside of WHMCS, then I suspect you're looking at using a Data Feed - the database query for either hook or feed should be the same...

 

you'll first need to figure out what information you want from the database, and then work out how you want to display it - you can then embed the feed script link in your external page and it will display the latest information from the database. :idea:

Link to comment
Share on other sites

  • 4 weeks later...

Thanks Brian.

 

I was hoping you would respond :D i seen one of your other articles about client area display.

 

This page is on the main directory outside of the whmcs directory im litterally just wanting to pull the Network Issues data thats it and display it on the external page.

 

do you have an example as to how i could do this? as its hurting my brain...

 

Regards

Chris

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated