Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 03-27-2015, 04:55 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #12  
Old 03-27-2015, 08:39 PM
raghav712 raghav712 is offline
 
Join Date: Nov 2014
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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?
Attached Images
File Type: jpg Hooks & Products.JPG (24.5 KB, 0 views)
Reply With Quote
  #13  
Old 03-27-2015, 09:00 PM
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Location: Phoenix, Az. USA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #14  
Old 03-27-2015, 09:09 PM
raghav712 raghav712 is offline
 
Join Date: Nov 2014
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Replicant View Post
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.
Reply With Quote
  #15  
Old 03-28-2015, 05:14 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #16  
Old 04-02-2015, 11:03 AM
raghav712 raghav712 is offline
 
Join Date: Nov 2014
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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?
Reply With Quote
  #17  
Old 04-02-2015, 10:21 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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 07:15 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.04174 seconds
  • Memory Usage 2,246KB
  • Queries Executed 14 (?)
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
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (1)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete