The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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? |
#2
|
|||
|
|||
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. |
#3
|
|||
|
|||
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. |
#4
|
||||
|
||||
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. |
#5
|
|||
|
|||
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? |
#6
|
||||
|
||||
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.
|
#7
|
|||
|
|||
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.
|
#8
|
||||
|
||||
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:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|