|
Plugin handles and locations
|
|
04-11-2006, 04:25 PM
(This post was last modified: 04-11-2006 04:33 PM by unoriginal42.)
Post: #11
|
|||
|
|||
|
RE: Plugin handles and locations
thanks, thats should be added to the wiki.
Will the output of your code be placed in the templates? What do i do about template intergration? |
|||
|
04-24-2006, 04:56 PM
Post: #12
|
|||
|
|||
RE: Plugin handles and locations
Quote: 1074 delete_thread $tidHow come the hooks in newthread.php and editpost.php aren't passed the $tid? Is there a reason? |
|||
|
04-24-2006, 05:45 PM
Post: #13
|
|||
|
|||
|
RE: Plugin handles and locations
newthread has to make the thread's id, so there is no $tid yet.
editpost works with $pid and will be in $mybb->input['pid'] not drawing attention...
|
|||
|
04-28-2006, 03:16 AM
(This post was last modified: 04-28-2006 03:17 AM by CraKteR.)
Post: #14
|
|||
|
|||
|
RE: Plugin handles and locations
Okey, I've made an proposual php version of an plugin list, it is not complete, however, I wanted to know if people liked it, if not I'm gonna scrap it.
Click the hooks and there should display an message on what that hook does, if not, I've not added it yet. Look here: http://mcdcpp.net/hooks.php MyBB Addicted. =) My plug-ins list |
|||
|
04-28-2006, 03:29 AM
Post: #15
|
|||
|
|||
|
RE: Plugin handles and locations
CraKteR, I think that's a great start. I think it would be nice to include what should be available in $mybb->input and the other globals when the hooks get called.
|
|||
|
04-28-2006, 03:36 AM
Post: #16
|
|||
|
|||
|
RE: Plugin handles and locations
Thanks, yea that was what I was thinking, but it is alot of work, so we'll see if I got time todo all that. Gotta sleep now, gonna look at it more tomorrow tho.
MyBB Addicted. =) My plug-ins list |
|||
|
04-28-2006, 01:43 PM
Post: #17
|
|||
|
|||
|
RE: Plugin handles and locations
Finished adding all hooks to the page, got 302 hooks displayed, I've not done anything with commenting them, well some is, most is not. Hope you like it, I'll be adding more commenting later on.
MyBB Addicted. =) My plug-ins list |
|||
|
04-28-2006, 08:24 PM
Post: #18
|
|||
|
|||
|
RE: Plugin handles and locations
Its already here?: http://wiki.mybboard.com/index.php/MyBB_Plugin_Hooks
![]() My Blog - My Mods - My Site |
|||
|
08-25-2006, 08:46 PM
Post: #19
|
|||
|
|||
|
RE: Plugin handles and locations
Hmm..I am trying to add a hook into the $seperator template.
Any help would be great. I have a lot of things but so far nothing is working. Code: $plugins->add_hook("postbit", "test");Code: function test()Any help would be awesome. I just need to know the syntax to run a function hook inside the seperator. Download all my plugins and themes exclusively at Mybb Central. [Caveat: To download plugins from Mybb Central you must be a paid subscriber] |
|||
|
08-25-2006, 09:11 PM
Post: #20
|
|||
|
|||
|
RE: Plugin handles and locations
You need to add global $seperator; and return is not needed.
MyBB Addicted. =) My plug-ins list |
|||
|
« Next Oldest | Next Newest »
|
Search
Member List
Calendar
Help






![[Image: ryangordon.png]](http://belloman.rctgo.net/stuff/signatures/ryangordon.png)