VAUHosting Posted November 25, 2016 Share Posted November 25, 2016 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 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted November 26, 2016 Share Posted November 26, 2016 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. 0 Quote Link to comment Share on other sites More sharing options...
VAUHosting Posted December 22, 2016 Author Share Posted December 22, 2016 Thanks Brian. I was hoping you would respond 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 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.