Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 04-07-2009, 11:56 AM
Dj Sagi Dj Sagi is offline
 
Join Date: Oct 2008
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 2 questions plz help is important! thx!

hellow all
1. how i do that in friday and saturday the forum with id=1 will be cloase and will be written a reason that i write?
2. how i do that eval(standard_error()); will not show me the navbar?
thx a lot!

--------------- Added [DATE]1239139970[/DATE] at [TIME]1239139970[/TIME] ---------------

someone?

--------------- Added [DATE]1239189103[/DATE] at [TIME]1239189103[/TIME] ---------------

somone???
i must help
Reply With Quote
  #2  
Old 04-10-2009, 12:07 AM
Dj Sagi Dj Sagi is offline
 
Join Date: Oct 2008
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Up Up
Reply With Quote
  #3  
Old 04-10-2009, 12:36 AM
R1lover's Avatar
R1lover R1lover is offline
 
Join Date: Apr 2006
Location: Northern Ca
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No habla

Please find a site in your language and try there or try to ask your question in english.
Reply With Quote
  #4  
Old 04-10-2009, 08:10 AM
^SuiCyde^ ^SuiCyde^ is offline
 
Join Date: Dec 2003
Location: Colorado Springs/CincyO
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i think i've deciphered what you're asking but i don't know the fix, so i'll just post my translation to english

1. You are trying to close forums on certain day of the week, and only by forum id number, and while forum is closed you would like to be able to post standard message such as, this forum is only open on weekends

2. you are trying to remove an error from your navbar

if you post your site so we can view we may be able to help further
Reply With Quote
  #5  
Old 04-10-2009, 09:20 AM
Dj Sagi Dj Sagi is offline
 
Join Date: Oct 2008
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1. how i do it??
2. i succes thx!
Reply With Quote
  #6  
Old 04-10-2009, 02:39 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1.) You will have to write a cron job to do that. If you are leaving several forums open, and only closing a couple, then you can just write a basic Scheduled Task. If you are closing the whole site, it will have to be an actual cron job your run on your server. I don't know the query to run, but I'm pretty sure this issue has been covered a few times here so you should do a search.
Reply With Quote
  #7  
Old 04-10-2009, 06:12 PM
^SuiCyde^ ^SuiCyde^ is offline
 
Join Date: Dec 2003
Location: Colorado Springs/CincyO
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lynne is the best, moments after i clarified what you were asking

thanks lynn i actually may use this myself as well so if i figure it out i'll let you know dj sagi
Reply With Quote
Reply

Thread Tools
Display Modes

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 07:37 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05056 seconds
  • Memory Usage 2,205KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete