vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=263)
-   -   Customer Header/Footer Integration (https://vborg.vbsupport.ru/showthread.php?t=317983)

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

1 Attachment(s)
Quote:

Originally Posted by Lynne (Post 2541691)
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-
Code:

<!-- BEGIN: footer --></div>
So within that, when I try to reach the code for the links part, i see the following code-

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">&copy;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

Quote:

Originally Posted by Replicant (Post 2541713)
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

Quote:

Originally Posted by Lynne (Post 2541757)
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 [DATE]1427987413[/DATE] at [TIME]1427987413[/TIME] ---------------

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.


All times are GMT. The time now is 12:07 PM.

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.00980 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_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
  • (7)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