Go Back   vb.org Archive > vBulletin Article Depository > Read An Article > vBulletin 3 Articles

Reply
 
Thread Tools
[How to] Install Plug-ins/Hooks
Brad
Join Date: Nov 2001
Posts: 4,765

 

Show Printable Version Email this Page Subscription
Brad Brad is offline 06-06-2005, 10:00 PM

This is a basic guide to installing plug-in's via the admin cp written for newbies

[high]What you should have[/high]

All plug-in's require one thing, a .xml that contains the plug-in name, php code, and hook location. In most cases this file will be named plugin_name.xml but some authors may not change the file name and use the default vbulletin-plugins.xml filename.

Some plug-in's may require you to run SQL queries on the database before you can use them, you can find instructions on how to do this in Logician's "How to install a vBulletin Hack" thread found here: https://vborg.vbsupport.ru/showthread.php?t=39142

[high]Installing the Plug-in[/high]

This is a very simple process, browse to the download/upload plug-in's page in your admin cp (located at http://www.yoururl.com/forum/admincp...n.php?do=files)

See the first attachment for a picture of the page I'm talking about

In the "Import Plugin Definitions XML File" table locate the "EITHER upload the XML file from your computer" columns and click on the browse button. A new window will pop up, locate the plug-in.xml file on your hard-drive and select it. Click the 'Import' button. Your plug-in is now active.

If the .xml file is large and you are worried about php time outs you can upload it to the /xml/ folder in your forum root, then insert the correct filename/path in the "OR import the XML file from your server" column.

Next thing you will want to do is browse to the plug-in manager page (located at http://www.yoururl.com/forum/admincp....php?do=modify) and make sure your newly added plug-in's are active.

See second attachment for a pic.

I almost forgot, if your plug-in's are set up correctly but not working make sure you have the global vBoption for the plug-in system set to enabled. You can find this option in the admin cp by browsing to vBoptions -> Select Plugin/Hook System from menu -> Set Enable Plugin/Hook System to yes.

That is all it is to it!
Attached Images
File Type: jpg ht_plugdown.JPG (51.2 KB, 0 views)
File Type: jpg ht_manage.JPG (26.4 KB, 0 views)
Reply With Quote
  #12  
Old 09-11-2005, 10:36 PM
WNxWakko's Avatar
WNxWakko WNxWakko is offline
 
Join Date: Apr 2003
Location: Paradise, Texas
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok so basically when 3.5 final is out and I begin installing all kinds of plugins and then they release 3.5.1 I can upgrade with no worries that my plugin will stop working.
Reply With Quote
  #13  
Old 09-11-2005, 10:40 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well ... could happen, but chances shouldn't be that high.
Reply With Quote
  #14  
Old 09-29-2005, 09:21 PM
BANDiT600 BANDiT600 is offline
 
Join Date: Jul 2003
Location: Russian Federation
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Brad, what they doing, I mean plugins.
Reply With Quote
  #15  
Old 09-30-2005, 03:22 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am not Brad, but will still try to answer:
Plugins are small pieces of custom code, that get executed on a hook location. You can see it as putting extra code in a script without modifying the file.
Reply With Quote
  #16  
Old 09-30-2005, 12:38 PM
lefthome's Avatar
lefthome lefthome is offline
 
Join Date: Feb 2005
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is absolutely amazing. I’m installing new “hacks” that took hours before in a matter of minutes, if not seconds.

Thank god and the creators of 3.5

I love it!
Reply With Quote
  #17  
Old 03-26-2006, 02:51 PM
cooldude714 cooldude714 is offline
 
Join Date: Feb 2006
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried to the legend thing but it won't show up :l
Reply With Quote
  #18  
Old 11-11-2006, 07:02 PM
Sober-Teens Sober-Teens is offline
 
Join Date: Jun 2005
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you so much for this! I've been searching for hours trying to learn how to install a hack for the first time..... I'm just thrilled my first attempt went so well and took less than a minute after hours of looking for the "how to". So again thank you! That was easy for sure!
Chy
Reply With Quote
  #19  
Old 01-25-2012, 02:47 AM
Sarah EI Sarah EI is offline
 
Join Date: Jan 2012
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brad View Post
This is a basic guide to installing plug-in's via the admin cp written for newbies

[high]What you should have[/high]

All plug-in's require one thing, a .xml that contains the plug-in name, php code, and hook location. In most cases this file will be named plugin_name.xml but some authors may not change the file name and use the default vbulletin-plugins.xml filename.

Some plug-in's may require you to run SQL queries on the database before you can use them, you can find instructions on how to do this in Logician's "How to install a vBulletin Hack" thread found here: https://vborg.vbsupport.ru/showthread.php?t=39142

[high]Installing the Plug-in[/high]

This is a very simple process, browse to the download/upload plug-in's page in your admin cp (located at http://www.yoururl.com/forum/admincp...n.php?do=files)

See the first attachment for a picture of the page I'm talking about

In the "Import Plugin Definitions XML File" table locate the "EITHER upload the XML file from your computer" columns and click on the browse button. A new window will pop up, locate the plug-in.xml file on your hard-drive and select it. Click the 'Import' button. Your plug-in is now active.

If the .xml file is large and you are worried about php time outs you can upload it to the /xml/ folder in your forum root, then insert the correct filename/path in the "OR import the XML file from your server" column.

Next thing you will want to do is browse to the plug-in manager page (located at http://www.yoururl.com/forum/admincp....php?do=modify) and make sure your newly added plug-in's are active.

See second attachment for a pic.

I almost forgot, if your plug-in's are set up correctly but not working make sure you have the global vBoption for the plug-in system set to enabled. You can find this option in the admin cp by browsing to vBoptions -> Select Plugin/Hook System from menu -> Set Enable Plugin/Hook System to yes.

That is all it is to it!
Seems easy for someone who has no clue about, I have done everything as it is described here,installed the plugin okay and the forum didnt work properly after,so,I had to disable the plugin,now forum back to normal.
What I did wrong?!
Thank you.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:45 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07217 seconds
  • Memory Usage 2,306KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_article
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (9)post_thanks_box
  • (1)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (2)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete