vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Hook for header? (https://vborg.vbsupport.ru/showthread.php?t=123606)

iatbm 08-10-2006 08:08 PM

Hook for header?
 
Ok If anyone can help. Which hook is for header ! I want to change adsense revenue sharing hack so it shows in header. It is working well after first post but I suppose I only have to change hook from showthread_postbit_create to header to make it work.

I am new here and only started to explore vbulletin ... bought a license and installed it on http://www.istoritve.com .... already imported everything from mybb and working like a charm :D

Thank you for your help!

Kirk Y 08-10-2006 08:15 PM

There is no 'header' hook. You'd have to use 'global_start'.

iatbm 08-10-2006 08:20 PM

If I understand corectly ... if I change from showthread_postbit_create to global_start ... then plugin will work anywhere on forum ?

Kirk Y 08-10-2006 08:29 PM

Yep. Just stick your variable wherever you want it to be shown.

iatbm 08-10-2006 08:46 PM

Great thanks ... going to try it out....

hehe I kind of knew it will not be that easy .... it is not working ... have to check out the code of adsense revenue sharing hack a little more :D


All times are GMT. The time now is 04:28 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.02456 seconds
  • Memory Usage 1,719KB
  • 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
  • (5)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