Plugin Settings
#11
No, because they are raw queries. It only applies to insert_query() because it's a custom function which breaks queries down for easier use.
No longer involved in the MyBB project.
Reply
#12
(2011-11-10, 04:36 AM)Yaldaram Wrote: Also note, its rebuild_settings(); and not rebuildsettings();

Both will work. The latter is deprecated though and rebuild_settings() should be used.
Reply
#13
again, you really should move the content of _activate to _install and the stuff in _deactivate to _uninstall functions. this will make your plugin match standards.

because right now, your code will require the admin to re-enter the setting into (like version number) every time they deactivate/activate the pluign. if you put the functions in install and uninstall the admin and deactivate without loosing any settings they had
Lost interest, sold my sites, will browse here once in a while. It's been fun.
Reply
#14
Basic rule of thumb: If you modify it, installify it.
Toungue
--Pyridine
Reply
#15
(2011-11-10, 04:36 AM)Yaldaram Wrote: Also note, its rebuild_settings(); and not rebuildsettings();

Sorry Toungue iPhone Keyboards are not the best for coding Wink

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)