Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
vbPluginOrder Details »»
vbPluginOrder
Version: 1.2, by hambil hambil is offline
Developer Last Online: Apr 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.5.4 Rating:
Released: 03-29-2006 Last Update: Never Installs: 10
Uses Plugins
Additional Files Is in Beta Stage  
No support by the author.

Keywords: plugin, order, hook

Description:
A simple but potentially very useful tool that allows you to set the order of execution for plugins within the same hook.

Features:
  • Fully Phrased.
  • Set the order of plugin execution within the same hook.
Install
  1. Download the vbPluginOrder_1.2.zip file.
  2. Unzip and upload the files in the upload directory to your forum root.
  3. Import the product file in your admincp.
  4. Set the order for your plugins if needed and desired.
Notes:
If you have Hellcat's real time page compressor installed it must be set as the first plugin in its hook after you activate plugin order.

Version 1.2
  • Fixed bug causing plugin order not to run on some systems because of cookie settings
Version 1.1
  • Fixed nasty sql bug where I forgot to use TABLE_PREFIX for one join. Causes a problem if you have a table prefix (obviously)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 04-03-2006, 10:11 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You've disabled the product and you're still getting an error? Have you tried uninstalling it?
Reply With Quote
  #13  
Old 04-03-2006, 10:16 PM
jazde86's Avatar
jazde86 jazde86 is offline
 
Join Date: Mar 2006
Location: Deutschland
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

New Error:

Quote:
Invalid SQL:

SELECT p.*, po.`order` FROM trillian_pluginorder AS po
JOIN plugin AS p ON(p.pluginid = po.pluginid)
ORDER BY p.hookname, po.order;

MySQL-Fehler : Table 'trillian_forum.plugin' doesn't exist
I don't come into the AdminCP to uninstall it, only the database is my my tool to work. The table plugin doesn't exist, thats correct because the correct name of the table is trillian_plugin at database trillian_forum.

Your Product creates the table TABLE_PREFIX . "pluginorder and the problem the problem is with the path. Can it helps disabeling all products and plugins or adapt the path in your product/plugin?
Reply With Quote
  #14  
Old 04-03-2006, 10:37 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah yes. That's a nasty bug. I'll fix and upload right away. Thanks.
Reply With Quote
  #15  
Old 04-03-2006, 10:40 PM
jazde86's Avatar
jazde86 jazde86 is offline
 
Join Date: Mar 2006
Location: Deutschland
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, thank you, thank you. I hope that then everything is well.
Reply With Quote
  #16  
Old 04-03-2006, 10:42 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jazde86
Thank you, thank you, thank you. I hope that then everything is well.
You're welcome. Updated and ready for download again. Let me know if it solves the problem please
Reply With Quote
  #17  
Old 04-03-2006, 10:56 PM
jazde86's Avatar
jazde86 jazde86 is offline
 
Join Date: Mar 2006
Location: Deutschland
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm...

Quote:
Invalid SQL:

SELECT p.*, po.`order` FROM trillian_pluginorder AS po
JOIN plugin AS p ON(p.pluginid = po.pluginid)
ORDER BY p.hookname, po.order;

MySQL-Fehler : Table 'trillian_forum.plugin' doesn't exist
Reply With Quote
  #18  
Old 04-03-2006, 10:59 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jazde86
Hmm...
Make sure you click 'allow overwrite', or better yet uninstall before you install the new one.
Reply With Quote
  #19  
Old 04-03-2006, 11:08 PM
jazde86's Avatar
jazde86 jazde86 is offline
 
Join Date: Mar 2006
Location: Deutschland
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I install it with MySQL? Uninstallation is done by cleaning.
Reply With Quote
  #20  
Old 04-03-2006, 11:10 PM
hambil's Avatar
hambil hambil is offline
 
Join Date: Jun 2004
Location: Seattle
Posts: 1,719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jazde86
How can I install it with MySQL? Uninstallation is done by cleaning.
You don't have admincp access?
Reply With Quote
  #21  
Old 04-03-2006, 11:12 PM
jazde86's Avatar
jazde86 jazde86 is offline
 
Join Date: Mar 2006
Location: Deutschland
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No , thats my problem. Look at forum.trillian-deutsch.de

Your help is wonderful.

why there still is the error, although I deleted your plugin?
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:38 AM.


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.04649 seconds
  • Memory Usage 2,301KB
  • Queries Executed 25 (?)
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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete