vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=263)
-   -   Can't get the Code :c (https://vborg.vbsupport.ru/showthread.php?t=311025)

MajorKokosnuss 05-03-2014 05:32 PM

Can't get the Code :c
 
Can someone give me the code for the Turn on and off Forum code ? sadly i deleted it i just know that there was something with <div class="forum-off restore">

somehow i deleted it but i don't want to set up my vbulletin completly new

https://vborg.vbsupport.ru/external/2014/05/66.png

Lynne 05-03-2014 08:00 PM

Here it is (but you can do your own, you don't need to use the default vbulletin one):

Code:

<div class="forum-off warning restore">Sorry, the board is unavailable at the moment while we are testing some functionality. We will be back soon...</div>

MajorKokosnuss 05-03-2014 08:45 PM

i tryed it but somehow it is nothing showing, it just shows that and with your code that too :

https://vborg.vbsupport.ru/external/2014/05/65.png

Lynne 05-04-2014 03:26 AM

I suggest you ask you host if they have suhosin or mod_security installed that is blocking you being able to add that code. vBulletin is not blocking you from adding that code, your server is.

MajorKokosnuss 05-04-2014 06:00 AM

"Okay I have found the issue its not a mod_security issue, its a redirect issue. The script you are running is calling for more then 10 redirects at a time and that is what is preventing the change from happening. "

This is what the hoster said :/ but he can't fix it. He said i have to contact someone from vBulletin

Lynne 05-04-2014 04:30 PM

If you are getting redirects, then that usually means you have some .htaccess doing that. So, remove your .htaccess and see if you still have the same issue.

MajorKokosnuss 05-04-2014 06:07 PM

my forum isn't working anymore then

Lynne 05-05-2014 03:56 AM

Well, something in that file is causing the issue. Default vbulletin doesn't require an .htaccess file.

edit: Default vB3 and vB4 don't require an .htaccess file. vB5 does have one in the forum root directory only.

MajorKokosnuss 05-05-2014 03:59 PM

i have no mods installed but if i delete them i get this error
Fatal error: Call to a member function fetch_userinfo_value() on a non-object in /home1/accountname/public_html/core/vb/api/state.php on line 316

Lynne 05-05-2014 10:56 PM

Huh? You said you have no mods installed but then say that if you delete them you get an error? That doesn't make sense - how can you delete non-existant mods? What exactly did you do to get that error?


All times are GMT. The time now is 10:21 AM.

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.01121 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete