Results 1 to 6 of 6
Hybrid View
-
26th Oct 2010, 11:00 PM #1MemberWebsite's:
litewarez.net litewarez.com triniwarez.comnot really hard to do
create a class class called hooks and a folder called hooks
PHP Code:class Hooks
{
public function run($hooks)
{
//each hooks should be in the directory called hooks and asub folder
/*
Hooks
- startup
- before_db
*/
//$Hooks->run('before_db') would run threw all the php files on the startup_db folder and include them, all you have to do is run the specific folder at the specific time in your system.
}
}
litewarez Reviewed by litewarez on . Implementing a Hook/AddOn System in PHP? I was wondering how to do this, and I understand how I'd get it to dynamically add addons, etc. I was wondering if anyone could maybe post the basic logic of a hook system, and addon system similiar to that of vBulletin? Rating: 5Join Litewarez.net today and become apart of the community.
Unique | Clean | Advanced (All with you in mind)
Downloads | Webmasters
Notifications,Forum,Chat,Community all at Litewarez Webmasters
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Implementing SEO
By Yashraj in forum vBulletinReplies: 1Last Post: 3rd Mar 2014, 05:48 PM -
Top 5 Arguments For Implementing a Tag Management
By GBot in forum Whitehat SEOReplies: 0Last Post: 12th Dec 2013, 05:49 PM -
Looking for Capcha hook
By AJ Blacklisted in forum IP.BoardReplies: 14Last Post: 12th Nov 2011, 10:40 AM -
Hook For Forum Statictics in vbulletin 3.8.6
By Palooo 2009 in forum vBulletinReplies: 0Last Post: 17th Jul 2010, 11:36 PM -
The google hook up
By bmoeller in forum Webmaster DiscussionReplies: 9Last Post: 12th Feb 2010, 08:33 AM
themaPoster - post to forums and...
Version 5.38 released. Open older version (or...