Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 01 Sep 2006, 19:25
Follie Folli's Avatar
Follie Folli Follie Folli is offline
 
Join Date: Jul 2006
forums open only in some hour of the day

I need a mod for my Vbullettin 3.6.0 forum to create a forum open only in some hours of the day.
For example: the forum automatically opens at 11.00PM and automatically closes at 5.00AM everyday.

Does this mod exists? If it doesn't, can you create this mod?
Reply With Quote
  #2  
Old 09 Sep 2006, 22:56
Follie Folli's Avatar
Follie Folli Follie Folli is offline
 
Join Date: Jul 2006
can you help me?
Reply With Quote
  #3  
Old 10 Sep 2006, 00:18
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Something like this (in global_start plugin) would work:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This is your server time, let me know if you want it user time instead (though, they could technically keep altering the time before their time is up...)


a big nevermind if you mean an actual forum and not your site, though the same method can be applied...
Reply With Quote
  #4  
Old 30 Sep 2006, 16:51
Follie Folli's Avatar
Follie Folli Follie Folli is offline
 
Join Date: Jul 2006
Hello,
You didn't understand what I want.
You didn't understand what i want. I don't need the entire board to open and close, but only one forum. I need that this forum automatically opens at 11.00PM and automatically closes at 5.00 AM, while all the other forums in my board have to stay open all the day.

Reply With Quote
  #5  
Old 03 Oct 2006, 07:02
Bodwin Bodwin is offline
 
Join Date: Apr 2004
Is anyone able to help with this? I've been trying to find a solution for a long time!
Reply With Quote
  #6  
Old 06 Oct 2006, 08:52
Follie Folli's Avatar
Follie Folli Follie Folli is offline
 
Join Date: Jul 2006
Is there a coder can help me and create this modification for my community ?
Reply With Quote
  #7  
Old 06 Oct 2006, 11:39
Masiello's Avatar
Masiello Masiello is offline
 
Join Date: Jul 2005
Real name: Antonio
Post it here: http://www.vbulletin.org/forum/forumdisplay.php?f=30
and surely you have your mod's
Have Fun
Reply With Quote
  #8  
Old 06 Oct 2006, 15:18
LLcoolMP's Avatar
LLcoolMP LLcoolMP is offline
 
Join Date: Oct 2006
I need this modification too... anyone have got some ideas?
Reply With Quote
  #9  
Old 06 Oct 2006, 16:22
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
You do realize what you ask for is complicated if you want it so that the forum (forumdisplay) as well as any threads and posts inside that forum will give this error, right?

Or, do you only need this for the forum view itself (not impact threads or posts inside the forum)?

If you only care about the forum itself...

Just open the forumdisplay.php file and hardcode:

FIND:


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

ABOVE ADD


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

Now, I think this issue has potential to be an interesting hack...

It would not be too hard to add to the forum table rows for "OPEN" and "CLOSE" and then modify the Forum Options to allow for an OPEN and CLOSE time for each forum. Then use conditionals so that if ($foruminfo['open'] AND $foruminfo['close']) exist, then we know if ($foruminfo['open'] < NOW < $foruminfo['close']) that the forum is open (ASSUMING OPEN < CLOSE) if not then we would use ($foruminfo['close'] < NOW < $foruminfo['open']) to see the forum is open.

I have all the projects I can handle and I don't need this myself but it would be interesting especually if it could work with the pluggin system so no file edits!

Now, I tried to figure out how to do this with a pluggin but I couldn't get it to work...

Perhaps if nobody else codes this I may try...

Last edited by Quarterbore : 12 Oct 2006 at 01:15.
Reply With Quote
  #10  
Old 11 Oct 2006, 16:12
LLcoolMP's Avatar
LLcoolMP LLcoolMP is offline
 
Join Date: Oct 2006
Thank you for your interest
It would be a very interesting and useful hack to develop, i hope that you will realize it soon!

Let us know how the work goes on!
Reply With Quote
  #11  
Old 26 Jan 2007, 12:39
LLcoolMP's Avatar
LLcoolMP LLcoolMP is offline
 
Join Date: Oct 2006
News?
Reply With Quote
Reply


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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 02:11.

Layout Options | Width: Wide Color: