| |||||||
| Register | Projects | FAQ | Members List | Mark Forums Read |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
Can we get more hooks added to the core code to make creating plugins much easier? For example, the add_form.html template file has 2 hooks inside it. The problem is that neither hook is placed between the <form></form> tags. Therefore, you cannot pass variables to the form itself. I think there should be 2 hooks outside the form and at least 1 inside. Another example is the add.php file. Why are there no hooks inside this file? Is this going to be expanded in the near future? Can we get some added before the next release (v1.2)? Regards Wayne
__________________ For questions related to any mods I developed, please contact me by pm or email at webmaster [at] scriptdragon [dot] com |
| |||
|
Thank you. That would be great. I am getting plugin requests and I have seen a few requests on the forum. Without having the hooks in the correct places, plugins will need to be very basic. The PR plugin requested yesterday could not be accomplished with the current code. I can think of a few others too. Regards Wayne
__________________ For questions related to any mods I developed, please contact me by pm or email at webmaster [at] scriptdragon [dot] com |
| ||||
|
hello wayne i have added the new hook on add_form.html, hook_html_add_form_inside_form_begin and hook_html_add_form_inside_form_end you can update on http://nicecoder.com/svn/index.php?act=changeset&id=888 note : Code: Content visible to License Owner only. you can give us any cases to add new hook or plugin. thanks |
| |||
| Code: Content visible to License Owner only. Code: Content visible to License Owner only. Code: Content visible to License Owner only. Code: Content visible to License Owner only. Code: Content visible to License Owner only. It is my opinion that there should be a plugin hook in almost all of the main files that control IndexU. Along with the add.php and add_form.html files, there should be hooks in the modify.php, modify_form.html, login.php, login_form.php, rows.html, premium_rows.html, sponsored_rows.html, etc, etc. Some of the html files already have hooks in them like the rows.html file for example. Code: Content visible to License Owner only. All of the files should have hooks inside the content areas. Regards Wayne
__________________ For questions related to any mods I developed, please contact me by pm or email at webmaster [at] scriptdragon [dot] com |
| |||
|
Agreed.. You cannot simply guess where someone might need a hook for a plugin. You will not know where you need it before you start making a plugin. I am not suggesting we fill the script with a hook every 10 lines, but make them plentiful and then add more as needed in the future. A hook should be in nearly every major function in the script. Regards Wayne
__________________ For questions related to any mods I developed, please contact me by pm or email at webmaster [at] scriptdragon [dot] com |
| |||
|
Just another note, plugin hooks should be created in both the user area and the admin. While attempting to add functionality to my current plugin, I wanted to add a javascript include into the header.html file in the admin. There are no hooks in that file though. There are several in the user area header.html file, but none in admin. Regards Wayne
__________________ For questions related to any mods I developed, please contact me by pm or email at webmaster [at] scriptdragon [dot] com |
| |||
| Code: Content visible to License Owner only. http://wiki.mybboard.net/index.php/MyBB_Plugin_Hooks Regards Wayne
__________________ For questions related to any mods I developed, please contact me by pm or email at webmaster [at] scriptdragon [dot] com |
| ||||
|
Hey Bruce.... I was wondering if having hooks placed "everywhere" was being worked on and if it was going to be in the next release of IndexU? Is the next release of IndexU coming this week?
__________________ FSGDAG | IndexU Hosting | Owner Website | NiceCoder Script Hosting and More! | Blog General Directory | Deep Links Directory | Bidding Directory |
| ||||
|
So far I haven't heard anything about the new hooks being added, which doesn't make me too happy. And yes 1.2 is supposed to release this week and I might make them delay it until the hooks are added. Or maybe make them work a heck of a lot faster so it can be released this week. Stay tuned!
__________________ |
| ||||
| Code: Content visible to License Owner only.
__________________ FSGDAG | IndexU Hosting | Owner Website | NiceCoder Script Hosting and More! | Blog General Directory | Deep Links Directory | Bidding Directory |
| ||||
|
I have been informed that new hooks have already been added. Please be patient as I don't know if there are enough of them yet. We're working hard to impliment as many feature requests as we can. There are already hooks in the admin panel menu, and I'm talking to Dody about others in the admin panel as well (in summary.php mostly)
__________________ |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Indexu to Vb plugin | echo@ | INDEXU DELUXE v1.x | 1 | 09-26-2008 05:08 PM |
| Plugin suggestions | Bruceper | Customers Lounge | 30 | 09-09-2008 10:44 PM |
| Plugin Review | esm | INDEXU DELUXE v1.x | 4 | 09-09-2008 07:09 PM |
| plugin system | inspireme | INDEXU DELUXE v1.x | 7 | 06-06-2008 01:21 AM |
| Hooks and Smarty | Mitchell | INDEXU DELUXE v1.x | 3 | 05-07-2008 08:08 PM |