vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Template for in-line attachment handling is called? (https://vborg.vbsupport.ru/showthread.php?t=224618)

BadgerDog 10-05-2009 03:48 PM

Template for in-line attachment handling is called?
 
Hi ... :)

We use vBulletin 3.67pl1 ...

We have some custom code that works with vBulletin attachments to create highslide pop-up pics in our forums. It works great, but we have a slight cosmetic problem that only manifests itself when members select "insert" function of the attached files, as opposed to the default where vBulletin code places them at the bottom of a post.

To help solve the problem, the developer is asking us where the template is that handles the in-line "insert pic" function, as opposed to the default (at bottom of post) positioning.

I'm not a programmer and know enough about vBulletin to be dangerous, so can anyone tell me where I should let him know to look for this, so he can add the appropriate code to fix the cosmetic capability of the in-line pics?

Thanks for any feedback ... :up:

Regards,
Badger

Lynne 10-05-2009 04:19 PM

To find the template to modify, 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. Sometimes the template is the one mentioned at the very top of the page source.

However, I'm not too sure it is a template there. I think it get's inserted into the $post[message] and so if you want to change that, you may need to change the code as it is inserted.


All times are GMT. The time now is 04:45 AM.

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.00879 seconds
  • Memory Usage 1,705KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete