Nucleus Support Forum Index

Find on the forum:
any terms  all terms  Advanced Search

RSS 2.0
Browse posts: Unanswered | Mark all read

« »
Loading Nucleus FAQ ticker...
Post new topic Reply to topic
Author Message
matt_t_hat
Nucleus Geek


Joined: 21 Aug 2005
Posts: 1124
Location: UK

Post Posted: Tue Sep 27, 2011 10:38 pm   Post subject: NP_SignUpWithInstructions: Flexable new member system
Reply with quote

NP_SignUpWithInstructions: is not just a way to add a sign up form to skins but a fully flexible new member system that can be extended to create sophisticated and complex sign up processes easily and quickly.

It allows you to add instructions to the sign up process to do any number of actions - thus the name.

A form to sign up and join a blog team - you got it. A form to sign up and get a blog - just as quick. A form to sign up, accept payment and go on to do anything else - that too.

Code:
   $SUWI->addHidden($name,$value);            // adds hidden data
   $SUWI->add($name,$deafult='',$type='text');      // adds a form element
   $SUWI->addSuccessEvent($eventName)
   $SUWI->addFailureEvent($eventName)
   $SUWI->addStaticAPI($class,$method,$data,$include=false)
   $SUWI->addObjectAPI($object,$method,$data,$include=false)
   $SUWI->addFunctionAPI($function,$data,$include=false)
   $SUWI->addAction($action) // defaults to self
   $SUWI->formatting($what,$value) // $what = ['prefield'|'postfield'|'prelabel'|'postlabel']

   NOTE: Redirect should lead to a page that contains the instructions

   

   Most API can be called as SkinVars
   addObjectAPI cannot be added by skinVars for obviouse reasons
   <%SignUpWithInstructions(action,_TARGET_URL_)%>
   
   Error display:
   <%SignUpWithInstructions(errorsoff)%>
   <%SignUpWithInstructions(errorson)%>
   <%SignUpWithInstructions(errortoggle)%>
   
   Callbacks
   <%SignUpWithInstructions(addStatic,$class=,$method,$include,data[,data ...])%>
   <%SignUpWithInstructions(addPlugin,$plugi,$method,data[,data ...])%>
   
   layout and design
   <%SignUpWithInstructions(formatting,[prefield|postfield|prelabel|postlabel],HTML)%>
   
   fields
   <%SignUpWithInstructions(hidden,name,value)%> // hidden field value
   <%SignUpWithInstructions(field,$label,$name[,default[,type[,id[,size[,maxlength[,class[,note]]]]]]])%> // does not support textarea in this version
   <%SignUpWithInstructions(modify,name,label[,new_name[,default[,type[,id[,size[,maxlength[,class[,note]]]]]]]])%>
   
   After instructions comes the form
   <%SignUpWithInstructions(form)%> // show display the form
   <%SignUpWithInstructions(showform)%> // alias of form


Due to the fact that SUWI has already taken three full days of programming and still has some testing and so forth to go (I am to use it in a production environment this week) I am asking the community to buy the plugin for the free use of everyone. This is also because I don't currently have a full time job to pay for my server with.

Before you scream at me this does not mean that you personally need to find the full price.

I have set up a friendfund.com pool so you can pledge as little or as much as you would like and when the total pledges reach the target amount SUWI will forever be made available to all under the GNU GPL.

The price just £75 plus 3% paypal fee but you could offer just £1 (or $1) towards this group effort.

There is just 10 days for this bargain to be obtained for the community so get those pledges rolling in.

http://www.friendfund.com/pool/P3Cm.Buy-my-code-NP-SignUpWithInstructions-a-NucleusCMS-plugin?v=2

_________________
Host Plugins | Blog | Hundred Quid A Day | My Big Fat Arse

Back to top

View user's profile Send private message Visit poster's website
Post new topic Reply to topic
Display posts from previous:   

Page 1 of 1

All times are GMT + 1 Hour

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2002 phpBB Group