vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Change Footer -> No JS (https://vborg.vbsupport.ru/showthread.php?t=310918)

Forum-Germany 04-30-2014 09:39 AM

Change Footer -> No JS
 
Hello.

If I change something in the Footer-Template, JS does not function in the forum any more. After intensive search in the source text, I have found out that it is about a DIV block with the ID "footer". If this is away (extinguished / renamed) JS does not go any more. Why? Does this know somebody? I can find no relation to the ID "footer" in the JS files.

Best regards.

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

Ok i found problem.

Open: vbulletin-core.js
Find: footer
Change: Your ID

K4GAP 04-30-2014 03:22 PM

Quote:

Originally Posted by Forum-Germany (Post 2495474)
Hello.

If I change something in the Footer-Template, JS does not function in the forum any more. After intensive search in the source text, I have found out that it is about a DIV block with the ID "footer". If this is away (extinguished / renamed) JS does not go any more. Why? Does this know somebody? I can find no relation to the ID "footer" in the JS files.

Best regards.

--------------- Added 30 Apr 2014 at 07:16 ---------------

Ok i found problem.

Open: vbulletin-core.js
Find: footer
Change: Your ID

I'm curious, why would it have had the wrong ID to begin with ?

cellarius 05-01-2014 10:59 AM

He explained that over at vBG.com. He's rewriting the complete style, and for one reason or the other takes offense with the "footer" id. He'd rather edit the javascript files than to name an element in his style that way.


All times are GMT. The time now is 05:26 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.01049 seconds
  • Memory Usage 1,712KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete