Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Execution Order Installer -> Stops Errors when installing 3.6.x Pluggins & Products Details »»
Execution Order Installer -> Stops Errors when installing 3.6.x Pluggins & Products
Version: 1.00, by Quarterbore Quarterbore is offline
Developer Last Online: Aug 2020 Show Printable Version Email this Page

Version: 3.5.7 Rating:
Released: 12-21-2006 Last Update: 12-23-2006 Installs: 16
 
No support by the author.

Background:

I am almost ashamed to submit what is likely the smallest product ever released here on vBulletin.org. I created this very simple product file as I am about to release a major addition to vBulletin and because I wrote the script in 3.6.x. it was not going to be installable in 3.5.x. forums.

Now, there was nothing in my plugins or code that would make this not work in 3.5.x. forums other then the fact that my 3.6.x forums added the execution order to all of my plugins.

So, What does this do?

This will add a single field to your 3.5.x forums "plugin" table. This field is used in 3.6.x forums to allow 3.6.x forums to assign a specific order for plugins attached to the same hook to be executed.

Now, as long as the hack you are installing does not use any special 3.6.x code, adding this program will allow you to install SOME 3.6.x plugins and products on your 3.5.x forums without error.

I have tested this on three separate 3.5.x forums of my own and installed plugins and products exported from 3.6.x and it worked fie for me. Feedback is welcomed and again, I am embarrassed to have uploaded the smallest Product file to ever have been uploaded!

UPDATES
23-Dec-2006 8:00PM EST - Uploaded new product file that includes UNINSTALL code!

23-Dec-2006 9:15PM EST - Removed the uninstall code per advise having code to remove the execution order may do more harm then not having it in the code.

Show Your Support

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

Comments
  #2  
Old 12-22-2006, 07:32 PM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

LOL

(Outta words)
Reply With Quote
  #3  
Old 12-23-2006, 03:52 AM
Kungfu Kungfu is offline
 
Join Date: Dec 2005
Posts: 242
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

whatever gets the job done right.
Reply With Quote
  #4  
Old 12-23-2006, 04:11 AM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Smallest plugin made in history -.-
Reply With Quote
  #5  
Old 12-23-2006, 04:57 AM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Size doesn't matter.

Good idea, though.
Reply With Quote
  #6  
Old 12-23-2006, 07:32 AM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tehehehe - sounds nice actually... But why not just instruct 3.5.x users like myself to comment out the execution code??? LOL - also records have to be made for something = Congrats on the modification

Jacquii.

ps - just curious... What's the "major addition" modification going to be - Sounds kinda exciting :P
Reply With Quote
  #7  
Old 12-23-2006, 07:52 AM
Milad's Avatar
Milad Milad is offline
 
Join Date: Apr 2005
Location: Syro
Posts: 663
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What may it occur if one upgrade his 3.5 forum to 3.6?
he will face a MySQL error 'field already exists'.
Reply With Quote
  #8  
Old 12-23-2006, 04:58 PM
Kungfu Kungfu is offline
 
Join Date: Dec 2005
Posts: 242
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PoetJA-1975 View Post
tehehehe - sounds nice actually... But why not just instruct 3.5.x users like myself to comment out the execution code??? LOL - also records have to be made for something = Congrats on the modification

Jacquii.

ps - just curious... What's the "major addition" modification going to be - Sounds kinda exciting :P
He took over sr_classifieds and basically reworked it and came out with a new product.

He has a few other gadgets hes going release too probably, but this is basically what its for is vbclassifieds.

Quote:
Originally Posted by Milad View Post
What may it occur if one upgrade his 3.5 forum to 3.6?
he will face a MySQL error 'field already exists'.
It shouldnt, because it wont try to create it unless it doesnt exist or it shouldnt at least. Basically if you were to upgrade it would skip that step.
Reply With Quote
  #9  
Old 12-23-2006, 05:02 PM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Milad View Post
What may it occur if one upgrade his 3.5 forum to 3.6?
he will face a MySQL error 'field already exists'.
If that happens, just delete the field. I should have included an uninstall code and I will get that added to the product file when I get a chance tonight.

As for the product, I call it vbclassified and the link is in my sig.
Reply With Quote
  #10  
Old 12-23-2006, 11:00 PM
Quarterbore Quarterbore is offline
 
Join Date: Mar 2005
Location: Valley Forge PA
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Product is updated to include the uninstall code. This was tested on two of my sites (3.5.3. and 3.5.5. forums).

I have also posted directions on how to add the uninstall code if you already have added the product file.

Enjoy!
Reply With Quote
Reply


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 12:58 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.05022 seconds
  • Memory Usage 2,296KB
  • Queries Executed 23 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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