The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello,
I new on this Board, i Code a new Plugin for vBulletin. My Question is, how can i hook the additional_options, to add a new box with plugin/add ons without change the orignal template code from him? Thank you for help me ![]() |
#2
|
|||
|
|||
![]()
Newthread.php calls the following hooks:
Code:
init_startup fetch_userinfo_query fetch_musername fetch_userinfo cache_permissions fetch_foruminfo style_fetch cache_templates global_start parse_templates notices_check_start notifications_list global_setup_complete newthread_start newthread_form_start posticons_start posticons_bit posticons_complete editor_toolbar_switch editor_wysiwyg_compatible editor_toolbar_start editor_toolbar_end prefix_fetch_array newthread_form_threadmanage navbits navbits_complete forumrules newthread_form_complete You want to create a new box in new thread that shows plugins/addons? |
#3
|
|||
|
|||
![]()
Yes sorry for my Chaos
![]() I need a new Box under "Attach Files" :-) with a new coded Plugin ![]() |
#4
|
|||
|
|||
![]()
You want the plug-in to display there?
|
#5
|
|||
|
|||
![]()
Yes :-)
|
#6
|
|||
|
|||
![]()
Code the plug-in on one of the hooks (newthread_start probably), assign the plug-in to a variable such as $newthreadplugin.
Go to new thread template, create a new fieldset (if you want it fieldset) and echo the variable inside the fieldset. Such as: Hook: newthread_start PHP Code: PHP Code:
<fieldset> echo $output; </fieldset> |
#7
|
|||
|
|||
![]()
Thank you
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|