Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-02-2009, 10:44 AM
shiznatix shiznatix is offline
 
Join Date: Jul 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Lost template

Hello. I am trying to edit my footer template but am running into a very weird problem. When I go to edit the footer it is very obvious that it is not the same one that is showing on the website. I have things like google analytics code being shown on the website but I can't find it in the footer template, or in any template for that matter. I have no idea where this is being stored and even changing the footer template by adding in a quick <!-- test test --> doesn't show up on the website.

How can this be and how do I get my footer template changed properly?
Reply With Quote
  #2  
Old 06-02-2009, 11:01 AM
metalguy639 metalguy639 is offline
 
Join Date: Dec 2008
Posts: 501
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well typically google anaylitics codes are not found in the footer. this could be why you do not see it there That is usually placed in the header or just above the <body> tag I believe. So its possible that your google code is in your FORUMHOME template maybe.

What exactly are you trying to put into your footer?
What do you mean its obvious its not the one showing on the website? Are you sure you are editing the right footer to the right style? If you have more than one style you may want to check to see that you are editing the right footer. I've done that before being in a hurry and sat there wondering where the heck my edit went LOL.
Reply With Quote
  #3  
Old 06-02-2009, 11:15 AM
shiznatix shiznatix is offline
 
Join Date: Jul 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We have the analytics code in the footer for sure. When I view the source it is the last thing before </body></html>. I know that the footer template is not working properly because I have added in a comment <!-- test test --> but it won't show up in the source on the index page, just isn't there. I have tried searching for the analytics code with the search in templates section but didn't find anything. I searched in the DB and same thing. Its just not there.

I only have 1 style too so it can't be me updating a different style.
Reply With Quote
  #4  
Old 06-02-2009, 01:34 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would not place google analytics in the header. You want external scripts like that at the very bottom of your page so they can't affect your page loads.

Anyway, if you used a mod to add google analytics, they may be just using a plugin to add the code and that is why you aren't seeing it in your footer.

Perhaps you did some change and it is using a different template. Do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. Is it the footer template?

Also, at the top of your page it will tell you the styleid you are using.
Reply With Quote
  #5  
Old 06-03-2009, 09:28 AM
shiznatix shiznatix is offline
 
Join Date: Jul 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't use a mod to add this in, I just put it in the footer template, or at least I thought. When enabling the "Add Template Name in HTML Comments" I do see the syle id but I don't see any extra comments. When searching for the keywork "footer" I only get css definitions in there. I know I only have 1 template installed so this makes it even more confusing. Maybe another mod is screwing with this? Here is a list of all the mods I have running:

AME - The Automatic Media Embeder
ibProArcade for vBulletin
MARCO1 Banner Ads Manager
Post Thank You Hack
vBSEO
vBSEO :: Sitemap Generator
vBulletin Blog
Welcome Headers

Would any of these cache all of the templates or do what I am experiencing right now?
Reply With Quote
  #6  
Old 06-03-2009, 03:59 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure why it won't put the template name in the page source - the times I have seen it not work is when users have some sort of compression mod installed. You can edit your footer and add a comment to the top and bottom of it to easily find it.
Reply With Quote
  #7  
Old 06-04-2009, 02:31 PM
shiznatix shiznatix is offline
 
Join Date: Jul 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thats the problem, I have comments in the footer template that just are not showing up in the html. I have no idea why no matter what edits I do to the footer template they don't show on the live site.
Reply With Quote
  #8  
Old 06-04-2009, 02:34 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure what else to suggest. I still find it strange that turning on html comments in the templates doesn't work. Maybe disable your plugins and then do that and see if you can see the template name:
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

PHP Code:
define('DISABLE_HOOKS'true); 
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:32 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.08230 seconds
  • Memory Usage 2,226KB
  • 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)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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