vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to allow html in order to add a baner in a thread (https://vborg.vbsupport.ru/showthread.php?t=252884)

David Rose 10-30-2010 10:11 AM

How to allow html in order to add a baner in a thread
 
Hello,
I would like to add an affiliate banner to a specific thread but the Html is off.
Should i just turn it on? as I don't want other users to have this option.

What's the best way to add html banner to a thread?

Thank you.

YankForum 10-30-2010 02:19 PM

you won't need to turn that on , that option is for inside posts , forcing html tags to compile , by certain groupds , and it's not secure to have it ON
the only thing you need to do is to edit one of these templates :

ad_showthread_firstpost_startstart
ad_thread_first_post_content
ad_thread_last_post_content
.....
postbit/postbit_legacy if you want the banner to appear after an specific post or even inside it
or maybe showthread template if you want the banner to appear in other places such as similar threads location and etc
you can even edit navbar and use an if condition to define limitations
etc


All times are GMT. The time now is 06:00 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.01233 seconds
  • Memory Usage 1,704KB
  • 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