Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 13 Jan 2002, 06:31
eva2000's Avatar
eva2000 eva2000 is offline
 
Join Date: Oct 2001
online.php non-vB page closed forum message

i got this code for adding online.php to non-vB pages but the problem is when you close the forum the included calls to this file online.php result in gibberish... can someone help add some code into the file below so that when i close the forum it gives a 'forum undergoing maintenance' message instead ?

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Reply With Quote
  #2  
Old 13 Jan 2002, 11:41
Scott MacVicar Scott MacVicar is offline
 
Join Date: Oct 2001
Re: online.php non-vB page closed forum message

Its becase vBulletin checks to see if the board is closed in the global.php file, and as i don't think you want to edit global.php, as its always in use.

try this script, it connects to the database and checks the bbactive variable itself not letting the global file load the variables.

Tested this on my forums worked fine.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Scott MacVicar
vBulletin Developer
Reply With Quote
  #3  
Old 14 Jan 2002, 18:07
eva2000's Avatar
eva2000 eva2000 is offline
 
Join Date: Oct 2001
thanks will be testing it out today
__________________
Reply With Quote
  #4  
Old 14 Jan 2002, 18:18
eva2000's Avatar
eva2000 eva2000 is offline
 
Join Date: Oct 2001
perfect mate!
__________________
Reply With Quote
  #5  
Old 07 Feb 2006, 05:11
mchaos mchaos is offline
 
Join Date: Feb 2006
any one got anything like this that works in 3.5.0 and ^
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Who's online on non-vB page (with usernames, same rules as Who's Online on forumhome) Gary King vBulletin 3.0 Full Releases 79 13 Jan 2008 21:01



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 04:16.

Layout Options | Width: Wide Color: