View Single Post
  #13  
Old 01-18-2015, 12:09 PM
Viruseater Viruseater is offline
 
Join Date: Mar 2002
Location: Newport Beach, CA
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah no doubt. for the most part you can do whatever you want anyway I mean please, these aren't zend encoded files. PHP is PHP

To Weeben, you use hooks to tap into the functionality of a program.

A hook is an option in a library were the user code can link a function to change the behavior of the library. but the library function doesn't need to run along side the users code or of the library.

There' also "API" mentioned here. an API does things by sending a request in and getting a response, hooks skip that step.

But I remember back in the day we used to have to edit core files for styles. it wasn't until a later point that styles were broken out. I might be remembering UBB but i'm pretty sure vbulletin worked this way too back in the day.

Back then to do any mods you edit core files. T he problem with it is you have to document the heck out of everything because when you upgrade you write over those system files you edited and lose your mod. I mean you should document everything anyway, but... well yeah.

There's also the chance I'm not exlaining it right, but you get the idea

--------------- Added [DATE]1421590420[/DATE] at [TIME]1421590420[/TIME] ---------------

Quote:
Originally Posted by Replicant View Post
It would have to be something they want before they think about adding it.

Personally, I run VB5 and I like it. The bugs I encountered were dealt with and I have buggy features turned off until they get them working correctly.

I have a couple mods that I wrote that work just fine. When upgrade time comes, it'll be more work for me without the hook system but I don't have a problem with that. I only have one forum to worry about so it isn't a big deal to me.
I'm sure I'll be fine. i'm going to lose some tings I already know, but things change. i'm pretty sure we'll survive on the forum

the big difference for me is that I'm migrating a full blown CMS written on a different platform and bringing it into vb to use as a main site and a forum. So i'm a bit stressed how that will all play out. but once done it will be so nice to not run two completely different platforms for one website.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01975 seconds
  • Memory Usage 1,767KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete