View Full Version : Customer Header/Footer Integration
raghav712
03-26-2015, 06:22 PM
Hi,
My forum is www.coachingadda.com/forum
An external contractor made the site and added a custom header/footer to the forum. Since then, I've changed some of the URLs. Now, some links in my custom forum header are broken.
I've tried everything (looking in the packages folder, APIs folder), doing a text search through total commander in the file contents, etc.
However, I am still not able to change the contents of the header or the footer.
If anyone around here can help, that would be great. I know it's quite a basic question, but I'm just a beginner over here, so nay help is appreciated :)
Replicant
03-26-2015, 08:10 PM
Look at the header template in your style manager under AdminCP>>Styles and Templates>> Style Manager.
raghav712
03-27-2015, 05:58 AM
I have tried reverting to all the default templates in template manager. Didn't help.
ForceHSS
03-27-2015, 06:25 AM
looks ok in firefox
raghav712
03-27-2015, 07:23 AM
Yeah, it looks ok, but there are some broken links in the header/footer since we have changed some of the links post inserting the custom header in vb.
So basically, I'm just looking for suggestions as to how I can access the header/footer file so that I can edit it.
ForceHSS
03-27-2015, 08:06 AM
I have checked in a few browsers and seems ok maybe you can upload a ss so we can see what you see but without seeing a problem it's hard to help
raghav712
03-27-2015, 08:56 AM
Sure, I've tried to explain the problem in the attached image. Just need to find the file from which I can change the contents of my header.
ForceHSS
03-27-2015, 11:48 AM
I see what you mean I thought the style was messed up not the link well, I don't run vb5 so can't help with that part, but now as we know what the problem is someone will help faster as your first post was not clear on what the problem really was
Replicant
03-27-2015, 01:35 PM
Login as admin and turn on site-builder with the switch beside the login on the forum page. Select "Navigation bar". You should be able to edit them there.
raghav712
03-27-2015, 04:03 PM
Login as admin and turn on site-builder with the switch beside the login on the forum page. Select "Navigation bar". You should be able to edit them there. Since it's a custom header, I cannot edit it through site builder (It is not a "navbar" built with vbulletin tools).
Lynne
03-27-2015, 04:55 PM
Try turning on AdminCP > Settings > Options > General Settings > Add Template Name in HTML Comments > Yes. Then look at your page source and see if you can tell which template it is.
Also, have you looking in your Products & Hooks to see if it was added via a Hook?
raghav712
03-27-2015, 08:39 PM
Try turning on AdminCP > Settings > Options > General Settings > Add Template Name in HTML Comments > Yes. Then look at your page source and see if you can tell which template it is.
Also, have you looking in your Products & Hooks to see if it was added via a Hook?Doing what you said, I saw the links to the other were inside the "Footer" template-
<!-- BEGIN: footer --></div>
So within that, when I try to reach the code for the links part, i see the following code-
<div class="Footerleft">
<div class="footer_menue_inner clearfix">
<ul>
<li style="color:#ffffff;"><a style="cursor:pointer;">COURSE HUBS</a></li>
<li><a href="http://www.coachingadda.com/material/course_hub/2">Engineering</a></li>
<li><a href="http://www.coachingadda.com/material/course_hub/3">Medical</a></li>
</ul>
<!--<ul>
<li><a href="http://www.coachingadda.com/home/viewinstitute">Coaching Center Listings</a></li>
</ul>-->
<ul>
<li style="color:#ffffff;"><a style="cursor:pointer;">TUITIONS</a>
</li><li><a href="http://www.coachingadda.com/home/view_tution">Find Tutors</a></li>
</ul>
<ul>
<li><a href="http://www.coachingadda.com/blog">BLOG</a></li>
</ul>
<ul>
<li><a href="http://www.coachingadda.com/home/suggested_material">RECOMMENDED BOOKS</a></li>
</ul>
<ul>
<li><a href="http://www.coachingadda.com/forum">FORUM</a></li>
</ul>
</div>
<div class="copytxt">©2014 coaching adda. all rights reserved</div>
</div>
</div>
</footer>
So then I assume that some sort of hook/product is being called, but there is no hook by that name (screenshot attached)
As an added precaution, I disabled the hooks from the admin settings, but still, the header is coming on the page. So any more suggestions? Am I going wrong somewhere?
Replicant
03-27-2015, 09:00 PM
They are probably hard coded into a template. Do a search in templates for one of the items like RECOMMENDED BOOKS and see if it pops. If they are in the templates, that should show you where.
raghav712
03-27-2015, 09:09 PM
They are probably hard coded into a template. Do a search in templates for one of the items like RECOMMENDED BOOKS and see if it pops. If they are in the templates, that should show you where.
Tried that but those words were not in the template. I also reverted to the default. Sad to say, but still no help.
Lynne
03-28-2015, 05:14 PM
It really does look like it is from a hook. But, that is all that is listed in your Manage Hooks page?
I suppose it could have been added via a file. Do you have all default vbulletin files on the site?
raghav712
04-02-2015, 11:03 AM
It really does look like it is from a hook. But, that is all that is listed in your Manage Hooks page?
I suppose it could have been added via a file. Do you have all default vbulletin files on the site?
How can I check about having only default vbulletin files?
Yeah, that's all that is listed under the Hooks manage. The path I used to get there is AdmicCP-Products & Hooks-Manage Hooks
--------------- Added 1427987413 at 1427987413 ---------------
With my talk with some experts, I have figured out that the header is in some XML file. Any ideas which one it could be?
Lynne
04-02-2015, 10:21 PM
I supposed you can do a search on your server for all .xml files? You would have to do that via command line. Just google your server OS and see what is out there for the command to use.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.