Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Navigation
Latest Addons
Cookiebar Panel 10
AD Gallery 68
SyntaxHighlighte... 51
Newsletters v4.03 115
Facebook Like Box 135
Newsletters v4.02 61
Metro 173
Facebook Connect 174
Shoutbox Panel 131
Redactor for PHP... 107
MI Floating Side... 109
Facebook Login/R... 156
Avatar Studio v2.03 180
Relationship Sta... 98
Sexual Orientati... 116
Popular Addons
iTheme2 5810
Arise 5808
User Control v1.23 4625
Event Calendar 4060
Photowidget panel 3889
Radio-Theme red2... 3360
Highslide Gallery 3315
CSS/JavaScript D... 3234
Facebook Connect... 2992
Dynamic Menu 2896
Slideshow Lightb... 2729
L-AMANT 2662
Enigma 2637
2Dark 2608
Black 2580
View Thread
Official Home of PHP-Fusion » General Addon and Modification Support » Panels and Infusions
Who is here? 1 guest(s)
 Print Thread
Infusion Updates?
skpacman
I'm making an update for one of my infusions and I was wondering if any of the other infusion authors can answer my question.

Say I have an infusion that's been released and I want to release an update for it. Instead of the people that use my infusion having to defuse then re-infuse, I know there's an 'update' option.

Is there anything special that goes into infusion.php that makes it see the update (other than changing $inf_version to a higher number?)

My goal is to leave the user's current database the way it is, but add entries into DB_SETTINGS_INF on update without the user having to defuse and re-infuse with the new version.

Is this possible, or am I barking up a pointless tree?
 
http://www.php-fusion.us
MarcusG
You can not add new tables on an update with standard infusion.php. I made it that way, that i added a check in the infusion's admin section if the newest version is installed and if all required tables exists. If not, a button appears wich adds the new tables and updates the version number.
Ex Senior Dev.
 
http://phpfusion.marcusg.de
skpacman
That makes sense. I looked through the /administration/infusions.php file to see how it updates based on the contents of the infusions's infusion.php and found that the only thing it can, and will, do on an 'update' is change the version number, and allow $alterdbtable to pass through, otherwise, it ignores all else.

I'll try what you suggested though, Marcus. That makes sense for security reasons that an infusion's tables can't be updated.
 
http://www.php-fusion.us
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
infusion df_development_infusion - upload images Panels and Infusions 1 15-05-2013 19:50
Xbox Live Leaderboards Infusion General Discussion 6 05-05-2013 20:39
Help in create a membership like Infusion Panels and Infusions 3 04-05-2013 13:04
Nivo Slider infusion Ideas for Modifications and Requests 17 03-05-2013 02:07
Roadmap Infusion Panels and Infusions 4 24-04-2013 13:59
Official Home of PHP-Fusion uses cookies. Some may already have been set. Read more about our Cookies here.
Please click the button I Consent Cookies to hide this bar and accept our cookies. If you continue to use the site with no action taken, we'll assume that you consent our cookies anyway.
Cookiebar Panel byVenue