vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - CES Pre-Process Hooks (https://vborg.vbsupport.ru/showthread.php?t=143155)

thincom2000 06-04-2007 05:18 AM

I finally made another update to this hack. Three more hooks are included in this build, 3 hooks that I was extremely disappointed weren't in vBulletin 3.6.6. The edits for the new hooks are simple (just find & add).

They are:
NAVBITS_START
VERIFY_ID_START
VERIFY_ID

993ti 07-28-2007 12:39 PM

Maybe a stupid question but do i have to edit 6 core files or does the product take care of this?
If i have to edit the files manually, where do i add the lines in the files?
Bit confused.

993ti 07-28-2007 03:36 PM

I should stop drinking too much coffee and read better....
Found it ;)

thincom2000 07-28-2007 05:25 PM

Yeah, I actually didn't clarify that in the readme until this most recent version, when some people complained that other hacks required this to be installed and it took a while to make all the file edits. Meanwhile, the hack that used these hooks only really needed 1 or 2 to work.

thincom2000 02-22-2008 06:35 PM

I'm going to start posting these hooks in the Hook Request thread over at vb.com now that I found it.

fredang85 03-26-2008 08:38 PM

INLINEMOD_ACTION_SWITCH_START

In the readme, I don't find instructions for this. Why is that so?

thincom2000 03-26-2008 09:22 PM

Strange. Here they are, from my dev copy of the readme. I actually plan to release an update in the next few days, since I have decided to add/drop support for some hooks.

Code:

************* INLINEMOD ACTION SWITCH START ****************

Installing these hooks do not add any new loops to inlinemod.php,
so settings have not been included to disable these hooks.

Thanks to vBulletin 3.7, security was increased on inlinemod, so
we can be a little more at ease about this hook. Still, exercise
caution about the variables you modify here.

In inlinemod.php, find:
------------------------------
switch ($_POST['do'])
------------------------------

Add above:
------------------------------
($hook = vBulletinHook::fetch_hook('inlinemod_action_switch_start')) ? eval($hook) : false;
------------------------------



All times are GMT. The time now is 02:56 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.00979 seconds
  • Memory Usage 1,725KB
  • 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)bbcode_code_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