Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Hide the forum by time Details »»
Hide the forum by time
Version: 1.00, by mem mem is offline
Developer Last Online: Nov 2004 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 04-21-2002 Last Update: Never Installs: 16
 
No support by the author.

Hack description:
1.Allow you to setup whitch forum can be hide by time, ex: 8:00 am ~ 14:00pm ,Something like you had a adult sex-photo forum,you can set it open in the night,and hide during day time.

Install Steps:
1.Upload install_autoswitch.php to your admin folder
2.Backup your Vbulletine database before you install this hack.
3.Complete all the steps as follow.

PS:
you must set forum permissions to become private's forum,then option can view.


for example the following figure

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 04-28-2002, 10:37 AM
Scott MacVicar Scott MacVicar is offline
 
Join Date: Oct 2001
Location: Glasgow, Scotland
Posts: 1,199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Chen why don't you tell them about our adult forum, it has some real good stuff
Reply With Quote
  #33  
Old 04-30-2002, 06:12 AM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by PPN
Chen why don't you tell them about our adult forum, it has some real good stuff
ah ha! i knew it exsisted!
Reply With Quote
  #34  
Old 04-30-2002, 06:36 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by PPN
Chen why don't you tell them about our adult forum, it has some real good stuff
Shh, we don't everyone to come!
Reply With Quote
  #35  
Old 04-30-2002, 07:06 AM
mem mem is offline
 
Join Date: Oct 2001
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by FireFly

Shh, we don't everyone to come!

oh, i know

but,can i go to it ??
Reply With Quote
  #36  
Old 05-21-2002, 11:01 PM
aidler aidler is offline
 
Join Date: Apr 2002
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After installing the hack, when I try to chance forumpermissions of any non private forum which doesn't have the hide by time attributes in forumpermissions, I get the following error:

Quote:
Invalid SQL: INSERT INTO forumpermission
(forumpermissionid,usergroupid,forumid,canview,can search,canemail,canpostnew,canmove,canopenclose,ca ndeletethread,canreplyown,canreplyothers,canviewot hers,caneditpost,candeletepost,autoclose,autoopen, canpostpoll,canvote,canpostattachment,cangetattach ment)
VALUES
(NULL,4,7,1,0,0,0,0,0,0,0,0,0,0,0,,,0,0,0,0)
mysql error: You have an error in your SQL syntax near ',0,0,0,0)' at line 4

mysql error number: 1064
Obviously non private forums do also carry the autoclose and autoopen attributes but as I'm unable to put any numbers into the corresponding fields (they are not there if the forum is non private) they are empty. This leads to the above error. Does anyone have any solution??
Reply With Quote
  #37  
Old 06-27-2002, 04:05 PM
hypedave's Avatar
hypedave hypedave is offline
 
Join Date: Nov 2001
Location: Dallas, Tx
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okay mem i have got this gack installed on vb 2.2.6
now how do I get this wot work, I have try everything you suggested, either you are leaving instructions or it just isnt working right now, please can you give us more detail as to how to get this to work, thanks
Reply With Quote
  #38  
Old 09-04-2002, 03:41 PM
hypedave's Avatar
hypedave hypedave is offline
 
Join Date: Nov 2001
Location: Dallas, Tx
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*sigh* 3months down the road, has anybody got this to work at all????
Reply With Quote
  #39  
Old 01-13-2003, 01:52 PM
Prankster Prankster is offline
 
Join Date: Sep 2002
Location: Berlin
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the same error how aidler. it is possible that we interpreted the instruction from the installation guidance "place this to the top". Please legend nevertheless times which exact you mean since. I only set the lines over it

the error arose, when I entered the clock times
Reply With Quote
  #40  
Old 03-10-2003, 12:31 AM
TheComputerGuy's Avatar
TheComputerGuy TheComputerGuy is offline
 
Join Date: Oct 2001
Location: TX
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I never seemed to get this to work properly...does anyone have it figured out?
Reply With Quote
  #41  
Old 11-07-2003, 01:04 AM
Bison's Avatar
Bison Bison is offline
 
Join Date: Jun 2002
Location: Virginia Beach, Virginia
Posts: 522
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by aidler
After installing the hack, when I try to chance forumpermissions of any non private forum which doesn't have the hide by time attributes in forumpermissions, I get the following error:



Obviously non private forums do also carry the autoclose and autoopen attributes but as I'm unable to put any numbers into the corresponding fields (they are not there if the forum is non private) they are empty. This leads to the above error. Does anyone have any solution??
I figured out a temp fix for this ... open up the formpermission.php, make a backup and remove these lines:

autoclose,autoopen

$autoclose,$autoopen

autoclose=$autoclose,autoopen=$autoopen

Save/upload "formpermission.php" and make any changes to your permissions. Add the lines back in the same place they were (or upload the backup you made) and everything works fine.

I hope that someone try to fix this so that it will work without having to remove these variables!
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 11:34 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07930 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete