Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-27-2011, 05:14 PM
chrisbjax's Avatar
chrisbjax chrisbjax is offline
 
Join Date: Oct 2010
Location: Shakopee, MN
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How do I relocate the Forum disabled warning?

Attachment 134100


When I disable the forums for maintenance, the Alert shows at the very top of the page. I would like to relocate the warning to below the navbar, however, I cannot seem to find a value for the board_inactive_warning template?

Could someone help show me how I can move this element.:erm:

Thank you all for your help!
Chris
Reply With Quote
  #2  
Old 10-28-2011, 03:50 PM
chrisbjax's Avatar
chrisbjax chrisbjax is offline
 
Join Date: Oct 2010
Location: Shakopee, MN
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

crickets? anyone? bueler? bueler??
Reply With Quote
  #3  
Old 10-28-2011, 04:29 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You know the only person who sees that is you right?
Everyone else sees a gaint closed message, nothing more.
Reply With Quote
  #4  
Old 11-01-2011, 11:58 AM
chrisbjax's Avatar
chrisbjax chrisbjax is offline
 
Join Date: Oct 2010
Location: Shakopee, MN
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, since I never received a reply, I would say it doesn't make much of a difference..
Did I ask the question wrong? or put it in the wrong forum?

Quote:
Originally Posted by Zachery View Post
You know the only person who sees that is you right?
Everyone else sees a gaint closed message, nothing more.
Reply With Quote
  #5  
Old 11-01-2011, 12:57 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Enjoy the crickets.
Reply With Quote
  #6  
Old 11-01-2011, 01:24 PM
chrisbjax's Avatar
chrisbjax chrisbjax is offline
 
Join Date: Oct 2010
Location: Shakopee, MN
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you know, I would have expected to have been trolled by a member, telling me how I screwed up, but not by support staff or a designer.. I am a little disappointed.
I thought I was concise in my explanation, I posted a picture of my issue, with an arrow, as outlined by by Paul's sticky. I tried to explain my objective.
I understand I probably shouldn't have bumped my thread, but Zachery, could come have come and said, "heh - this is a busy forum, be a little more patient", instead of the answer I received, which was a little rude, and condescending..

what rule did I break? other then being impatient, that has earned me this harsh response? if I was wrong, or violated a rule, please tell me where, so that I may correct myself, and I offer my sincere apology.
Reply With Quote
  #7  
Old 11-01-2011, 03:33 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think there may be a failure to communicate here. Zachery was simply asking if you are aware only Admins see the message- regular users don't see that so it is a very unusual request for someone to ask how to move something the users don't see.

Also Designers/Coders/Contributors are not forum staff, they are regular users like you who have contributed styles, mods, or other content in the past. I cannot speculate on what blind-eddie meant.

As for your original question since this is such a low-level function it is controlled in the php files, not the templates.
Reply With Quote
  #8  
Old 11-01-2011, 04:32 PM
chrisbjax's Avatar
chrisbjax chrisbjax is offline
 
Join Date: Oct 2010
Location: Shakopee, MN
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Bird,
I would agree there was a misunderstanding. I didn't read his post like that, and thought he was referring to my post being done incorrectly or poorly, or that I had bumped it..

Things posted here are not always conveyed very well. I do apologize for the "pot stirring"

I am aware of it, and I do understand it may be unusual, however it does bother my fine sensibilities.
Would there be a way for my to simply adjust the float, so it just goes over the top, or can I move it down below the banner? What php file should I look at? Simply a nudge in the right direction would be sufficient. or is this something I really shouldn't modify?

It's somewhat a learning thing - I'm trying to teach myself some of the finer ascetic tweaking items related to Vb, and this seemed like a good start.. Something that other people don't really notice, but drive me mad, and I can tinker with

Thank you for your time and help!
Reply With Quote
  #9  
Old 11-01-2011, 08:12 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can try adjusting the float in the board_inactive_warning template... Now that I think about it you may be able to move it if you add an "absolute" position to the <div> in that template... Styling issues aren't my strong point but you can google "absolute positioning css" for some info on it.

As for the php files I really don't know, I'd imagine it's probably in global... You should get a text editor like Notepad++ that lets you search whole directories for text. Look for the text:
$vbulletin->options['bbactive']

That would be near the code dealing with this.
Reply With Quote
  #10  
Old 11-01-2011, 11:45 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The board offline messages are directly injected into the header/footer, around line 540 of includes/class_bootstrap.php

PHP Code:
  if (!$vbulletin->options['bbactive'] AND
   (
$vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel']))
  {
   
// show the board disabled warning message so that admins don't leave the board turned off by accident
   
$warning vB_Template::create('board_inactive_warning')->render();
   
$header $warning $header;
   
$footer .= $warning;
  } 
You might be able to get tricky and change:
PHP Code:
 $header $warning $header
to
PHP Code:
  $navbar .= $warning
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 12:33 AM.


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.04379 seconds
  • Memory Usage 2,284KB
  • Queries Executed 12 (?)
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
  • (3)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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