Jump to content
WebFlake
  • 0

<if> to check if board is online


Guest thomash131

Question

Guest thomash131

Is it possible to use an <if> statement to display a piece of HTML if my IPB forum has been turned offline by an admin?

 

Thanks

 

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0
Guest thomash131

It's really complicated. I've got a IP.Content block that pulls the latest news on a blank page of my forums.

 

I then use javascript to pull the div and display it on the homepage, external to the forums. 

 

Problem is, if the forum is offline, the javascript just constantly loads. Instead, I want the news to be replaced by an error using an if statement that checks if the board is offline before displaying it.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...