plugin with parameter
#1
hi!
i'm new to develop plugins...
i wish to understand this thing...
during the activation of the plugin I wish use a parameter inserted by the user... it's possible do this or not??
thanks again!

byeWink
Reply
#2
Hi,

What do you mean "parameter inserted by user"? Like, display a textbox somewhere where the user can enter something?
Reply
#3
hi!
when the plugin is actived i made some stuffs in the db...
I need a parameter to do this...
i wish that before the plugin is activated the parameter is inserted by the user Smile
thanks!
Reply
#4
How does the user insert this "parameter"?
Reply
#5
ZiNga BuRgA Wrote:How does the user insert this "parameter"?

i don't know... i ask if is possible
Reply
#6
As far as I am aware, you can't insert parameters from the user on activation.

The normal way is to have a settings section for your plugin so that the user can configure options there.
[Image: sig.php]
The little boat gently drifted across the pond exactly the way a bowling ball wouldn't.
Reply
#7
MrDoom Wrote:As far as I am aware, you can't insert parameters from the user on activation.

The normal way is to have a settings section for your plugin so that the user can configure options there.
thanks!Wink
Reply
#8
MrDoom Wrote:As far as I am aware, you can't insert parameters from the user on activation.

The normal way is to have a settings section for your plugin so that the user can configure options there.
An alternative is to break the plugin activation process and force the user to enter something if they want to activate the plugin. Not a nice method, but if it's crucial for the plugin to activate, you may have no other choice...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)